We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BinaryData
private Response<BinaryData> createWithResponse(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, Boolean autoStart, Context context)
This method is for getting activation response of LRO, for SyncAcceptedImpl.
SyncAcceptedImpl
// beginXX(with and without `Context`) public SyncPoller<PollResult<LiveEventInner>, LiveEventInner> beginCreate(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) { Response<BinaryData> response = createWithResponse(resourceGroupName, accountName, liveEventName, parameters); // needs new `createSync` method(or `create` overload) in `PollerFactory`, or `SyncPollerFactory` return PollerFactory.createSync(response, this.client.getHttpPipeline(), LiveEventInner.class, LiveEventInner.class, this.client.getContext()); } // normal XX(with and without `Context`) public LiveEventInner create(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) { return beginCreate(resourceGroupName, accountName, liveEventName, parameters).getFinalResult(); }
The text was updated successfully, but these errors were encountered:
XiaofeiCao
No branches or pull requests
1. Switch LRO simple sync with response's response body type from model to
BinaryData
(proxy method as well)This method is for getting activation response of LRO, for
SyncAcceptedImpl
.2. LRO methods implementation change
The text was updated successfully, but these errors were encountered: