idx int64 0 41.2k | question stringlengths 74 4.21k | target stringlengths 5 888 |
|---|---|---|
28,300 | public void delete ( String resourceGroupName , String networkInterfaceName ) { deleteWithServiceResponseAsync ( resourceGroupName , networkInterfaceName ) . toBlocking ( ) . last ( ) . body ( ) ; } | Deletes the specified network interface . |
28,301 | public UrlBuilder withHost ( String host ) { if ( host == null || host . isEmpty ( ) ) { this . host = null ; } else { with ( host , UrlTokenizerState . SCHEME_OR_HOST ) ; } return this ; } | Set the host that will be used to build the final URL . |
28,302 | public UrlBuilder withPort ( String port ) { if ( port == null || port . isEmpty ( ) ) { this . port = null ; } else { with ( port , UrlTokenizerState . PORT ) ; } return this ; } | Set the port that will be used to build the final URL . |
28,303 | public UrlBuilder withPath ( String path ) { if ( path == null || path . isEmpty ( ) ) { this . path = null ; } else { with ( path , UrlTokenizerState . PATH ) ; } return this ; } | Set the path that will be used to build the final URL . |
28,304 | public UrlBuilder setQueryParameter ( String queryParameterName , String queryParameterEncodedValue ) { query . put ( queryParameterName , queryParameterEncodedValue ) ; return this ; } | Set the provided query parameter name and encoded value to query string for the final URL . |
28,305 | public UrlBuilder withQuery ( String query ) { if ( query == null || query . isEmpty ( ) ) { this . query . clear ( ) ; } else { with ( query , UrlTokenizerState . QUERY ) ; } return this ; } | Set the query that will be used to build the final URL . |
28,306 | public static UrlBuilder parse ( String url ) { final UrlBuilder result = new UrlBuilder ( ) ; result . with ( url , UrlTokenizerState . SCHEME_OR_HOST ) ; return result ; } | Parse a UrlBuilder from the provided URL string . |
28,307 | public static UrlBuilder parse ( URL url ) { final UrlBuilder result = new UrlBuilder ( ) ; if ( url != null ) { final String protocol = url . getProtocol ( ) ; if ( protocol != null && ! protocol . isEmpty ( ) ) { result . withScheme ( protocol ) ; } final String host = url . getHost ( ) ; if ( host != null && ! host . isEmpty ( ) ) { result . withHost ( host ) ; } final int port = url . getPort ( ) ; if ( port != - 1 ) { result . withPort ( port ) ; } final String path = url . getPath ( ) ; if ( path != null && ! path . isEmpty ( ) ) { result . withPath ( path ) ; } final String query = url . getQuery ( ) ; if ( query != null && ! query . isEmpty ( ) ) { result . withQuery ( query ) ; } } return result ; } | Parse a UrlBuilder from the provided URL object . |
28,308 | private Request buildEmptyRequest ( Request request ) { RequestBody body = RequestBody . create ( MediaType . parse ( "application/json" ) , "{}" ) ; if ( request . method ( ) . equalsIgnoreCase ( "get" ) ) { return request ; } else { return request . newBuilder ( ) . method ( request . method ( ) , body ) . build ( ) ; } } | Removes request body used for EKV authorization . |
28,309 | private Boolean supportsMessageProtection ( String url , Map < String , String > challengeMap ) { if ( ! "true" . equals ( challengeMap . get ( "supportspop" ) ) ) { return false ; } if ( ! url . toLowerCase ( ) . contains ( "/keys/" ) ) { return false ; } String [ ] tokens = url . split ( "\\?" ) [ 0 ] . split ( "/" ) ; return supportedMethods . contains ( tokens [ tokens . length - 1 ] ) ; } | Checks if resource supports message protection . |
28,310 | private AuthenticationResult getAuthenticationCredentials ( Boolean supportsPop , Map < String , String > challengeMap ) { String authorization = challengeMap . get ( "authorization" ) ; if ( authorization == null ) { authorization = challengeMap . get ( "authorization_uri" ) ; } String resource = challengeMap . get ( "resource" ) ; String scope = challengeMap . get ( "scope" ) ; String schema = supportsPop ? "pop" : "bearer" ; return doAuthenticate ( authorization , resource , scope , schema ) ; } | Extracts the authentication challenges from the challenge map and calls the authentication callback to get the bearer token and return it . |
28,311 | private static Map < String , String > extractChallenge ( String authenticateHeader , String authChallengePrefix ) { if ( ! isValidChallenge ( authenticateHeader , authChallengePrefix ) ) { return null ; } authenticateHeader = authenticateHeader . toLowerCase ( ) . replace ( authChallengePrefix . toLowerCase ( ) , "" ) ; String [ ] challenges = authenticateHeader . split ( ", " ) ; Map < String , String > challengeMap = new HashMap < String , String > ( ) ; for ( String pair : challenges ) { String [ ] keyValue = pair . split ( "=" ) ; challengeMap . put ( keyValue [ 0 ] . replaceAll ( "\"" , "" ) , keyValue [ 1 ] . replaceAll ( "\"" , "" ) ) ; } return challengeMap ; } | Extracts the challenge off the authentication header . |
28,312 | private static boolean isValidChallenge ( String authenticateHeader , String authChallengePrefix ) { if ( authenticateHeader != null && ! authenticateHeader . isEmpty ( ) && authenticateHeader . toLowerCase ( ) . startsWith ( authChallengePrefix . toLowerCase ( ) ) ) { return true ; } return false ; } | Verifies whether a challenge is bearer or not . |
28,313 | public AuthenticationResult doAuthenticate ( String authorization , String resource , String scope , String schema ) { return new AuthenticationResult ( doAuthenticate ( authorization , resource , scope ) , "" ) ; } | Method to be implemented . |
28,314 | @ SuppressWarnings ( "rawtypes" ) public < T extends ODataEntity > ListResult < T > unmarshalFeed ( InputStream stream , Class < T > contentType ) throws JAXBException , ServiceException { validateNotNull ( stream , "stream" ) ; validateNotNull ( contentType , "contentType" ) ; List < T > entries = new ArrayList < T > ( ) ; FeedType feed = unmarshalFeed ( stream ) ; Class < ? > marshallingContentType = getMarshallingContentType ( contentType ) ; for ( Object feedChild : feed . getFeedChildren ( ) ) { EntryType entry = asEntry ( feedChild ) ; if ( entry != null ) { entries . add ( contentFromEntry ( contentType , marshallingContentType , entry ) ) ; } } return new ListResult < T > ( entries ) ; } | Given a stream that contains XML with an atom Feed element at the root unmarshal it into Java objects with the given content type in the entries . |
28,315 | @ SuppressWarnings ( "rawtypes" ) public < T extends ODataEntity > T unmarshalEntry ( InputStream stream , Class < T > contentType ) throws JAXBException , ServiceException { validateNotNull ( stream , "stream" ) ; validateNotNull ( contentType , "contentType" ) ; Class < ? > marshallingContentType = getMarshallingContentType ( contentType ) ; EntryType entry = unmarshalEntry ( stream ) ; return contentFromEntry ( contentType , marshallingContentType , entry ) ; } | Given a stream containing XML with an Atom entry element at the root unmarshal it into an instance of contentType |
28,316 | public Observable < RegistryNameStatusInner > checkNameAvailabilityAsync ( String name ) { return checkNameAvailabilityWithServiceResponseAsync ( name ) . map ( new Func1 < ServiceResponse < RegistryNameStatusInner > , RegistryNameStatusInner > ( ) { public RegistryNameStatusInner call ( ServiceResponse < RegistryNameStatusInner > response ) { return response . body ( ) ; } } ) ; } | Checks whether the container registry name is available for use . The name must contain only alphanumeric characters be globally unique and between 5 and 50 characters in length . |
28,317 | public void delete ( String resourceGroupName , String registryName ) { deleteWithServiceResponseAsync ( resourceGroupName , registryName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Deletes a container registry . |
28,318 | public Observable < List < DatabaseInner > > listByServerAsync ( String resourceGroupName , String serverName ) { return listByServerWithServiceResponseAsync ( resourceGroupName , serverName ) . map ( new Func1 < ServiceResponse < List < DatabaseInner > > , List < DatabaseInner > > ( ) { public List < DatabaseInner > call ( ServiceResponse < List < DatabaseInner > > response ) { return response . body ( ) ; } } ) ; } | List all the databases in a given server . |
28,319 | public static JWEHeader deserialize ( String json ) throws IOException { ObjectMapper mapper = new ObjectMapper ( ) ; return mapper . readValue ( json , JWEHeader . class ) ; } | Construct JWEHeader from json string . |
28,320 | public static JWEHeader fromBase64String ( String base64 ) throws IOException { String json = MessageSecurityHelper . base64UrltoString ( base64 ) ; return deserialize ( json ) ; } | Construct JWEHeader from base64url string . |
28,321 | public Observable < CognitiveServicesAccountInner > getByResourceGroupAsync ( String resourceGroupName , String accountName ) { return getByResourceGroupWithServiceResponseAsync ( resourceGroupName , accountName ) . map ( new Func1 < ServiceResponse < CognitiveServicesAccountInner > , CognitiveServicesAccountInner > ( ) { public CognitiveServicesAccountInner call ( ServiceResponse < CognitiveServicesAccountInner > response ) { return response . body ( ) ; } } ) ; } | Returns a Cognitive Services account specified by the parameters . |
28,322 | public String value ( String name ) { final HttpHeader header = getHeader ( name ) ; return header == null ? null : header . value ( ) ; } | Get the header value for the provided header name . Null will be returned if the header name isn t found . |
28,323 | public String [ ] values ( String name ) { final HttpHeader header = getHeader ( name ) ; return header == null ? null : header . values ( ) ; } | Get the header values for the provided header name . Null will be returned if the header name isn t found . |
28,324 | public Observable < BackupResourceVaultConfigResourceInner > getAsync ( String vaultName , String resourceGroupName ) { return getWithServiceResponseAsync ( vaultName , resourceGroupName ) . map ( new Func1 < ServiceResponse < BackupResourceVaultConfigResourceInner > , BackupResourceVaultConfigResourceInner > ( ) { public BackupResourceVaultConfigResourceInner call ( ServiceResponse < BackupResourceVaultConfigResourceInner > response ) { return response . body ( ) ; } } ) ; } | Fetches resource vault config . |
28,325 | public static boolean containsMappingFor ( final String eventType ) { if ( eventType == null || eventType . isEmpty ( ) ) { return false ; } else { return systemEventMappings . containsKey ( canonicalizeEventType ( eventType ) ) ; } } | Checks if a mapping exists for the given type . |
28,326 | public static Type getMapping ( final String eventType ) { if ( ! containsMappingFor ( eventType ) ) { return null ; } else { return systemEventMappings . get ( canonicalizeEventType ( eventType ) ) ; } } | Get Java model type for the given event type . |
28,327 | public Observable < List < ConfigurationInner > > listByServerAsync ( String resourceGroupName , String serverName ) { return listByServerWithServiceResponseAsync ( resourceGroupName , serverName ) . map ( new Func1 < ServiceResponse < List < ConfigurationInner > > , List < ConfigurationInner > > ( ) { public List < ConfigurationInner > call ( ServiceResponse < List < ConfigurationInner > > response ) { return response . body ( ) ; } } ) ; } | List all the configurations in a given server . |
28,328 | public void delete ( String resourceGroupName , String clusterName , String scriptName ) { deleteWithServiceResponseAsync ( resourceGroupName , clusterName , scriptName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Deletes a specified persisted script action of the cluster . |
28,329 | public void delete ( String resourceGroupName , String namespaceName , String notificationHubName ) { deleteWithServiceResponseAsync ( resourceGroupName , namespaceName , notificationHubName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Deletes a notification hub associated with a namespace . |
28,330 | public KeyRestoreParameters withKeyBundleBackup ( byte [ ] keyBundleBackup ) { if ( keyBundleBackup == null ) { this . keyBundleBackup = null ; } else { this . keyBundleBackup = Base64Url . encode ( keyBundleBackup ) ; } return this ; } | Set the keyBundleBackup value . |
28,331 | public void delete ( String resourceGroupName , String networkWatcherName , String connectionMonitorName ) { deleteWithServiceResponseAsync ( resourceGroupName , networkWatcherName , connectionMonitorName ) . toBlocking ( ) . last ( ) . body ( ) ; } | Deletes the specified connection monitor . |
28,332 | public Observable < Page < IntegrationAccountPartnerInner > > listByIntegrationAccountsNextAsync ( final String nextPageLink ) { return listByIntegrationAccountsNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < IntegrationAccountPartnerInner > > , Page < IntegrationAccountPartnerInner > > ( ) { public Page < IntegrationAccountPartnerInner > call ( ServiceResponse < Page < IntegrationAccountPartnerInner > > response ) { return response . body ( ) ; } } ) ; } | Gets a list of integration account partners . |
28,333 | public Observable < Page < JobInner > > listByAgentNextAsync ( final String nextPageLink ) { return listByAgentNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < JobInner > > , Page < JobInner > > ( ) { public Page < JobInner > call ( ServiceResponse < Page < JobInner > > response ) { return response . body ( ) ; } } ) ; } | Gets a list of jobs . |
28,334 | public Observable < TransparentDataEncryptionInner > getAsync ( String resourceGroupName , String serverName , String databaseName ) { return getWithServiceResponseAsync ( resourceGroupName , serverName , databaseName ) . map ( new Func1 < ServiceResponse < TransparentDataEncryptionInner > , TransparentDataEncryptionInner > ( ) { public TransparentDataEncryptionInner call ( ServiceResponse < TransparentDataEncryptionInner > response ) { return response . body ( ) ; } } ) ; } | Gets a database s transparent data encryption configuration . |
28,335 | public Observable < DatabaseAutomaticTuningInner > getAsync ( String resourceGroupName , String serverName , String databaseName ) { return getWithServiceResponseAsync ( resourceGroupName , serverName , databaseName ) . map ( new Func1 < ServiceResponse < DatabaseAutomaticTuningInner > , DatabaseAutomaticTuningInner > ( ) { public DatabaseAutomaticTuningInner call ( ServiceResponse < DatabaseAutomaticTuningInner > response ) { return response . body ( ) ; } } ) ; } | Gets a database s automatic tuning . |
28,336 | public void delete ( String resourceGroupName , String networkProfileName ) { deleteWithServiceResponseAsync ( resourceGroupName , networkProfileName ) . toBlocking ( ) . last ( ) . body ( ) ; } | Deletes the specified network profile . |
28,337 | public Observable < Page < EventSubscriptionInner > > listByResourceGroupAsync ( String resourceGroupName ) { return listByResourceGroupWithServiceResponseAsync ( resourceGroupName ) . map ( new Func1 < ServiceResponse < List < EventSubscriptionInner > > , Page < EventSubscriptionInner > > ( ) { public Page < EventSubscriptionInner > call ( ServiceResponse < List < EventSubscriptionInner > > response ) { PageImpl < EventSubscriptionInner > page = new PageImpl < > ( ) ; page . setItems ( response . body ( ) ) ; return page ; } } ) ; } | List all global event subscriptions under an Azure subscription and resource group . List all global event subscriptions under a specific Azure subscription and resource group . |
28,338 | public Observable < ApplicationInsightsComponentFeatureCapabilitiesInner > getAsync ( String resourceGroupName , String resourceName ) { return getWithServiceResponseAsync ( resourceGroupName , resourceName ) . map ( new Func1 < ServiceResponse < ApplicationInsightsComponentFeatureCapabilitiesInner > , ApplicationInsightsComponentFeatureCapabilitiesInner > ( ) { public ApplicationInsightsComponentFeatureCapabilitiesInner call ( ServiceResponse < ApplicationInsightsComponentFeatureCapabilitiesInner > response ) { return response . body ( ) ; } } ) ; } | Returns feature capabilites of the application insights component . |
28,339 | public void delete ( String resourceGroupName , String virtualNetworkName ) { deleteWithServiceResponseAsync ( resourceGroupName , virtualNetworkName ) . toBlocking ( ) . last ( ) . body ( ) ; } | Deletes the specified virtual network . |
28,340 | public Observable < ControllerInner > getByResourceGroupAsync ( String resourceGroupName , String name ) { return getByResourceGroupWithServiceResponseAsync ( resourceGroupName , name ) . map ( new Func1 < ServiceResponse < ControllerInner > , ControllerInner > ( ) { public ControllerInner call ( ServiceResponse < ControllerInner > response ) { return response . body ( ) ; } } ) ; } | Gets an Azure Dev Spaces Controller . Gets the properties for an Azure Dev Spaces Controller . |
28,341 | public Observable < Void > syncStorageKeysAsync ( String resourceGroupName , String accountName ) { return syncStorageKeysWithServiceResponseAsync ( resourceGroupName , accountName ) . map ( new Func1 < ServiceResponse < Void > , Void > ( ) { public Void call ( ServiceResponse < Void > response ) { return response . body ( ) ; } } ) ; } | Synchronizes Storage Account Keys . Synchronizes storage account keys for a storage account associated with the Media Service account . |
28,342 | public static EntityActionOperation createFileInfos ( String assetId ) { String encodedId ; try { encodedId = URLEncoder . encode ( assetId , "UTF-8" ) ; } catch ( UnsupportedEncodingException ex ) { throw new RuntimeException ( ex ) ; } return new DefaultActionOperation ( "CreateFileInfos" ) . addQueryParameter ( "assetid" , "'" + encodedId + "'" ) ; } | Call the CreateFileInfos action on the server for the given asset |
28,343 | public static EntityGetOperation < AssetFileInfo > get ( String assetFileId ) { return new DefaultGetOperation < AssetFileInfo > ( ENTITY_SET , assetFileId , AssetFileInfo . class ) ; } | Call the service to get a single asset file entity |
28,344 | public static DefaultListOperation < AssetFileInfo > list ( LinkInfo < AssetFileInfo > link ) { return new DefaultListOperation < AssetFileInfo > ( link . getHref ( ) , new GenericType < ListResult < AssetFileInfo > > ( ) { } ) ; } | Create an operation that will list all the AssetFiles at the given link . |
28,345 | public void beginDelete ( String resourceGroupName , String labAccountName , String labName ) { beginDeleteWithServiceResponseAsync ( resourceGroupName , labAccountName , labName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Delete lab . This operation can take a while to complete . |
28,346 | public Observable < DatabaseVulnerabilityAssessmentInner > getAsync ( String resourceGroupName , String serverName , String databaseName ) { return getWithServiceResponseAsync ( resourceGroupName , serverName , databaseName ) . map ( new Func1 < ServiceResponse < DatabaseVulnerabilityAssessmentInner > , DatabaseVulnerabilityAssessmentInner > ( ) { public DatabaseVulnerabilityAssessmentInner call ( ServiceResponse < DatabaseVulnerabilityAssessmentInner > response ) { return response . body ( ) ; } } ) ; } | Gets the database s vulnerability assessment . |
28,347 | public Observable < DatabaseVulnerabilityAssessmentInner > createOrUpdateAsync ( String resourceGroupName , String serverName , String databaseName , DatabaseVulnerabilityAssessmentInner parameters ) { return createOrUpdateWithServiceResponseAsync ( resourceGroupName , serverName , databaseName , parameters ) . map ( new Func1 < ServiceResponse < DatabaseVulnerabilityAssessmentInner > , DatabaseVulnerabilityAssessmentInner > ( ) { public DatabaseVulnerabilityAssessmentInner call ( ServiceResponse < DatabaseVulnerabilityAssessmentInner > response ) { return response . body ( ) ; } } ) ; } | Creates or updates the database s vulnerability assessment . |
28,348 | public Observable < Page < DatabaseVulnerabilityAssessmentInner > > listByDatabaseNextAsync ( final String nextPageLink ) { return listByDatabaseNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < DatabaseVulnerabilityAssessmentInner > > , Page < DatabaseVulnerabilityAssessmentInner > > ( ) { public Page < DatabaseVulnerabilityAssessmentInner > call ( ServiceResponse < Page < DatabaseVulnerabilityAssessmentInner > > response ) { return response . body ( ) ; } } ) ; } | Lists the vulnerability assessment policies associated with a database . |
28,349 | static PollStrategy tryToCreate ( RestProxy restProxy , SwaggerMethodParser methodParser , HttpRequest originalHttpRequest , HttpResponse httpResponse , long delayInMilliseconds ) { String urlHeader = getHeader ( httpResponse ) ; URL azureAsyncOperationUrl = null ; if ( urlHeader != null ) { try { azureAsyncOperationUrl = new URL ( urlHeader ) ; } catch ( MalformedURLException ignored ) { } } urlHeader = httpResponse . headerValue ( "Location" ) ; URL locationUrl = null ; if ( urlHeader != null ) { try { locationUrl = new URL ( urlHeader ) ; } catch ( MalformedURLException ignored ) { } } return azureAsyncOperationUrl != null ? new AzureAsyncOperationPollStrategy ( new AzureAsyncOperationPollStrategyData ( restProxy , methodParser , azureAsyncOperationUrl , originalHttpRequest . url ( ) , locationUrl , originalHttpRequest . httpMethod ( ) , delayInMilliseconds ) ) : null ; } | Try to create a new AzureAsyncOperationPollStrategy object that will poll the provided operation resource URL . If the provided HttpResponse doesn t have an Azure - AsyncOperation header or if the header is empty then null will be returned . |
28,350 | public Observable < AppInner > getByResourceGroupAsync ( String resourceGroupName , String resourceName ) { return getByResourceGroupWithServiceResponseAsync ( resourceGroupName , resourceName ) . map ( new Func1 < ServiceResponse < AppInner > , AppInner > ( ) { public AppInner call ( ServiceResponse < AppInner > response ) { return response . body ( ) ; } } ) ; } | Get the metadata of an IoT Central application . |
28,351 | public void beginDelete ( String resourceGroupName , String resourceName ) { beginDeleteWithServiceResponseAsync ( resourceGroupName , resourceName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Delete an IoT Central application . |
28,352 | public void delete ( String resourceGroupName , String gatewayName ) { deleteWithServiceResponseAsync ( resourceGroupName , gatewayName ) . toBlocking ( ) . last ( ) . body ( ) ; } | Deletes a virtual wan vpn gateway . |
28,353 | public SettingSelector acceptDatetime ( OffsetDateTime datetime ) { this . acceptDatetime = DateTimeFormatter . RFC_1123_DATE_TIME . toFormat ( ) . format ( datetime ) ; return this ; } | If set then configuration setting values will be retrieved as they existed at the provided datetime . Otherwise the current values are returned . |
28,354 | public ApplicationSummary getApplication ( String applicationId , Iterable < BatchClientBehavior > additionalBehaviors ) throws BatchErrorException , IOException { ApplicationGetOptions options = new ApplicationGetOptions ( ) ; BehaviorManager bhMgr = new BehaviorManager ( this . customBehaviors ( ) , additionalBehaviors ) ; bhMgr . applyRequestBehaviors ( options ) ; return this . parentBatchClient . protocolLayer ( ) . applications ( ) . get ( applicationId , options ) ; } | Gets information about the specified application . |
28,355 | public boolean checkExistence ( String resourceGroupName , String deploymentName ) { return checkExistenceWithServiceResponseAsync ( resourceGroupName , deploymentName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Checks whether the deployment exists . |
28,356 | protected static String verifyNonEmpty ( String value , String argName ) { if ( value != null ) { value = value . trim ( ) ; if ( value . isEmpty ( ) ) { value = null ; } } if ( value == null ) { throw new IllegalArgumentException ( argName ) ; } return value ; } | Verifies a value is null or empty . Returns the value if non - empty and throws exception if empty . |
28,357 | protected String getFullAuthority ( URI uri ) { String authority = uri . getAuthority ( ) ; if ( ! authority . contains ( ":" ) && uri . getPort ( ) > 0 ) { authority = String . format ( "%s:%d" , uri . getAuthority ( ) , uri . getPort ( ) ) ; } return authority ; } | Gets full authority for a URL by appending port to the url authority . |
28,358 | public void beginDelete ( String resourceGroupName , String accountName , String liveEventName , String liveOutputName ) { beginDeleteWithServiceResponseAsync ( resourceGroupName , accountName , liveEventName , liveOutputName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Delete Live Output . Deletes a Live Output . |
28,359 | public void cancel ( String resourceGroupName , String serverName , String elasticPoolName , UUID operationId ) { cancelWithServiceResponseAsync ( resourceGroupName , serverName , elasticPoolName , operationId ) . toBlocking ( ) . single ( ) . body ( ) ; } | Cancels the asynchronous operation on the elastic pool . |
28,360 | public void beginDelete ( String resourceGroupName , String routeTableName ) { beginDeleteWithServiceResponseAsync ( resourceGroupName , routeTableName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Deletes the specified route table . |
28,361 | public ServiceFuture < String > getContentAsync ( String resourceGroupName , String automationAccountName , String runbookName , final ServiceCallback < String > serviceCallback ) { return ServiceFuture . fromResponse ( getContentWithServiceResponseAsync ( resourceGroupName , automationAccountName , runbookName ) , serviceCallback ) ; } | Retrieve the content of runbook identified by runbook name . |
28,362 | public Observable < RunbookInner > getAsync ( String resourceGroupName , String automationAccountName , String runbookName ) { return getWithServiceResponseAsync ( resourceGroupName , automationAccountName , runbookName ) . map ( new Func1 < ServiceResponse < RunbookInner > , RunbookInner > ( ) { public RunbookInner call ( ServiceResponse < RunbookInner > response ) { return response . body ( ) ; } } ) ; } | Retrieve the runbook identified by runbook name . |
28,363 | private static BiFunction < HttpClientRequest , NettyOutbound , Publisher < Void > > bodySendDelegate ( final HttpRequest restRequest ) { BiFunction < HttpClientRequest , NettyOutbound , Publisher < Void > > sendDelegate = ( reactorNettyRequest , reactorNettyOutbound ) -> { for ( HttpHeader header : restRequest . headers ( ) ) { reactorNettyRequest . header ( header . name ( ) , header . value ( ) ) ; } if ( restRequest . body ( ) != null ) { Flux < ByteBuf > nettyByteBufFlux = restRequest . body ( ) . map ( Unpooled :: wrappedBuffer ) ; return reactorNettyOutbound . send ( nettyByteBufFlux ) ; } else { return reactorNettyOutbound ; } } ; return sendDelegate ; } | Delegate to send the request content . |
28,364 | private static BiFunction < HttpClientResponse , Connection , Publisher < HttpResponse > > responseDelegate ( final HttpRequest restRequest ) { return ( reactorNettyResponse , reactorNettyConnection ) -> Mono . just ( new ReactorNettyHttpResponse ( reactorNettyResponse , reactorNettyConnection ) . withRequest ( restRequest ) ) ; } | Delegate to receive response . |
28,365 | public Observable < DataLakeAnalyticsAccountInner > getByResourceGroupAsync ( String resourceGroupName , String accountName ) { return getByResourceGroupWithServiceResponseAsync ( resourceGroupName , accountName ) . map ( new Func1 < ServiceResponse < DataLakeAnalyticsAccountInner > , DataLakeAnalyticsAccountInner > ( ) { public DataLakeAnalyticsAccountInner call ( ServiceResponse < DataLakeAnalyticsAccountInner > response ) { return response . body ( ) ; } } ) ; } | Gets details of the specified Data Lake Analytics account . |
28,366 | static Throwable unwrapException ( Throwable wrapped , StringBuilder outAction ) { Throwable unwrapped = wrapped ; while ( ( unwrapped instanceof ExecutionException ) || ( unwrapped instanceof CompletionException ) || ( unwrapped instanceof ExceptionWithAction ) ) { if ( ( unwrapped instanceof ExceptionWithAction ) && ( outAction != null ) ) { outAction . append ( ( ( ExceptionWithAction ) unwrapped ) . getAction ( ) ) ; } if ( ( unwrapped . getCause ( ) != null ) && ( unwrapped . getCause ( ) instanceof Exception ) ) { unwrapped = unwrapped . getCause ( ) ; } else { break ; } } return unwrapped ; } | outAction can be null if you don t care about any action string |
28,367 | public static JWSHeader deserialize ( String json ) throws IOException { ObjectMapper mapper = new ObjectMapper ( ) ; return mapper . readValue ( json , JWSHeader . class ) ; } | Construct JWSHeader from json string . |
28,368 | public static JWSHeader fromBase64String ( String base64 ) throws IOException { String json = MessageSecurityHelper . base64UrltoString ( base64 ) ; ObjectMapper mapper = new ObjectMapper ( ) ; return mapper . readValue ( json , JWSHeader . class ) ; } | Construct JWSHeader from base64url string . |
28,369 | public Observable < Page < JobInner > > listByAutomationAccountNextAsync ( final String nextPageLink ) { return listByAutomationAccountNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < JobInner > > , Page < JobInner > > ( ) { public Page < JobInner > call ( ServiceResponse < Page < JobInner > > response ) { return response . body ( ) ; } } ) ; } | Retrieve a list of jobs . |
28,370 | public Observable < Page < VaultInner > > listByResourceGroupNextAsync ( final String nextPageLink ) { return listByResourceGroupNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < VaultInner > > , Page < VaultInner > > ( ) { public Page < VaultInner > call ( ServiceResponse < Page < VaultInner > > response ) { return response . body ( ) ; } } ) ; } | Retrieve a list of Vaults . |
28,371 | public Observable < BandwidthScheduleInner > getAsync ( String deviceName , String name , String resourceGroupName ) { return getWithServiceResponseAsync ( deviceName , name , resourceGroupName ) . map ( new Func1 < ServiceResponse < BandwidthScheduleInner > , BandwidthScheduleInner > ( ) { public BandwidthScheduleInner call ( ServiceResponse < BandwidthScheduleInner > response ) { return response . body ( ) ; } } ) ; } | Gets the properties of the specified bandwidth schedule . |
28,372 | public Request protectRequest ( Request request ) throws IOException { try { Request result = request . newBuilder ( ) . header ( AUTHENTICATE , BEARER_TOKEP_REFIX + clientSecurityToken ) . build ( ) ; if ( ! supportsProtection ( ) ) { return result ; } Buffer buffer = new Buffer ( ) ; request . body ( ) . writeTo ( buffer ) ; String currentbody = buffer . readUtf8 ( ) ; if ( currentbody == null || currentbody . length ( ) == 0 ) { return result ; } JsonWebKey clientPublicEncryptionKey = MessageSecurityHelper . getJwkWithPublicKeyOnly ( clientEncryptionKey ) ; String payload = currentbody . substring ( 0 , currentbody . length ( ) - 1 ) + ",\"rek\":{\"jwk\":" + clientPublicEncryptionKey . toString ( ) + "}}" ; JWEObject jweObject = protectPayload ( payload ) ; JWSHeader jwsHeader = new JWSHeader ( "RS256" , clientSignatureKey . kid ( ) , clientSecurityToken , getCurrentTimestamp ( ) , "PoP" , null ) ; String jwsHeaderJsonb64 = MessageSecurityHelper . stringToBase64Url ( jwsHeader . serialize ( ) ) ; String protectedPayload = MessageSecurityHelper . stringToBase64Url ( jweObject . serialize ( ) ) ; byte [ ] data = ( jwsHeaderJsonb64 + "." + protectedPayload ) . getBytes ( MESSAGE_ENCODING ) ; RsaKey clientSignatureRsaKey = new RsaKey ( clientSignatureKey . kid ( ) , clientSignatureKey . toRSA ( true ) ) ; Pair < byte [ ] , String > signature = clientSignatureRsaKey . signAsync ( getSha256 ( data ) , "RS256" ) . get ( ) ; JWSObject jwsObject = new JWSObject ( jwsHeader , protectedPayload , MessageSecurityHelper . bytesToBase64Url ( signature . getKey ( ) ) ) ; RequestBody body = RequestBody . create ( MediaType . parse ( "application/jose+json" ) , jwsObject . serialize ( ) ) ; return result . newBuilder ( ) . method ( request . method ( ) , body ) . build ( ) ; } catch ( ExecutionException e ) { return null ; } catch ( InterruptedException e ) { return null ; } catch ( NoSuchAlgorithmException e ) { return null ; } } | Protects existing request . Replaces its body with encrypted version . |
28,373 | public Response unprotectResponse ( Response response ) throws IOException { try { if ( ! supportsProtection ( ) || ! HttpHeaders . hasBody ( response ) ) { return response ; } if ( ! response . header ( "content-type" ) . toLowerCase ( ) . contains ( "application/jose+json" ) ) { return response ; } JWSObject jwsObject = JWSObject . deserialize ( response . body ( ) . string ( ) ) ; JWSHeader jwsHeader = jwsObject . jwsHeader ( ) ; if ( ! jwsHeader . kid ( ) . equals ( serverSignatureKey . kid ( ) ) || ! jwsHeader . alg ( ) . equals ( "RS256" ) ) { throw new IOException ( "Invalid protected response" ) ; } byte [ ] data = ( jwsObject . originalProtected ( ) + "." + jwsObject . payload ( ) ) . getBytes ( MESSAGE_ENCODING ) ; byte [ ] signature = MessageSecurityHelper . base64UrltoByteArray ( jwsObject . signature ( ) ) ; RsaKey serverSignatureRsaKey = new RsaKey ( serverSignatureKey . kid ( ) , serverSignatureKey . toRSA ( false ) ) ; boolean signed = serverSignatureRsaKey . verifyAsync ( getSha256 ( data ) , signature , "RS256" ) . get ( ) ; if ( ! signed ) { throw new IOException ( "Wrong signature." ) ; } String decrypted = unprotectPayload ( jwsObject . payload ( ) ) ; MediaType contentType = response . body ( ) . contentType ( ) ; ResponseBody body = ResponseBody . create ( contentType , decrypted ) ; return response . newBuilder ( ) . body ( body ) . build ( ) ; } catch ( ExecutionException e ) { return null ; } catch ( InterruptedException e ) { return null ; } catch ( NoSuchAlgorithmException e ) { return null ; } } | Unprotects response if needed . Replaces its body with unencrypted version . |
28,374 | private JWEObject protectPayload ( String payload ) throws IOException { try { JWEHeader jweHeader = new JWEHeader ( "RSA-OAEP" , serverEncryptionKey . kid ( ) , "A128CBC-HS256" ) ; byte [ ] aesKeyBytes = generateAesKey ( ) ; SymmetricKey aesKey = new SymmetricKey ( UUID . randomUUID ( ) . toString ( ) , aesKeyBytes ) ; byte [ ] iv = generateAesIv ( ) ; RsaKey serverEncryptionRsaKey = new RsaKey ( serverEncryptionKey . kid ( ) , serverEncryptionKey . toRSA ( false ) ) ; Triple < byte [ ] , byte [ ] , String > encryptedKey = serverEncryptionRsaKey . encryptAsync ( aesKeyBytes , null , null , "RSA-OAEP" ) . get ( ) ; Triple < byte [ ] , byte [ ] , String > cipher = aesKey . encryptAsync ( payload . getBytes ( MESSAGE_ENCODING ) , iv , MessageSecurityHelper . stringToBase64Url ( jweHeader . serialize ( ) ) . getBytes ( MESSAGE_ENCODING ) , "A128CBC-HS256" ) . get ( ) ; JWEObject jweObject = new JWEObject ( jweHeader , MessageSecurityHelper . bytesToBase64Url ( ( ! testMode ) ? encryptedKey . getLeft ( ) : "key" . getBytes ( MESSAGE_ENCODING ) ) , MessageSecurityHelper . bytesToBase64Url ( iv ) , MessageSecurityHelper . bytesToBase64Url ( cipher . getLeft ( ) ) , MessageSecurityHelper . bytesToBase64Url ( cipher . getMiddle ( ) ) ) ; return jweObject ; } catch ( ExecutionException e ) { return null ; } catch ( InterruptedException e ) { return null ; } catch ( NoSuchAlgorithmException e ) { return null ; } } | Encrypt provided payload and return proper JWEObject . |
28,375 | private String unprotectPayload ( String payload ) throws IOException { try { JWEObject jweObject = JWEObject . deserialize ( MessageSecurityHelper . base64UrltoString ( payload ) ) ; JWEHeader jweHeader = jweObject . jweHeader ( ) ; if ( ! clientEncryptionKey . kid ( ) . equals ( jweHeader . kid ( ) ) || ! jweHeader . alg ( ) . equals ( "RSA-OAEP" ) || ! jweHeader . enc ( ) . equals ( "A128CBC-HS256" ) ) { throw new IOException ( "Invalid protected response" ) ; } byte [ ] key = MessageSecurityHelper . base64UrltoByteArray ( jweObject . encryptedKey ( ) ) ; RsaKey clientEncryptionRsaKey = new RsaKey ( clientEncryptionKey . kid ( ) , clientEncryptionKey . toRSA ( true ) ) ; byte [ ] aesKeyBytes = clientEncryptionRsaKey . decryptAsync ( key , null , null , null , "RSA-OAEP" ) . get ( ) ; SymmetricKey aesKey = new SymmetricKey ( UUID . randomUUID ( ) . toString ( ) , aesKeyBytes ) ; byte [ ] result = aesKey . decryptAsync ( MessageSecurityHelper . base64UrltoByteArray ( jweObject . cipherText ( ) ) , MessageSecurityHelper . base64UrltoByteArray ( jweObject . iv ( ) ) , jweObject . originalProtected ( ) . getBytes ( MESSAGE_ENCODING ) , MessageSecurityHelper . base64UrltoByteArray ( jweObject . tag ( ) ) , "A128CBC-HS256" ) . get ( ) ; return new String ( result , MESSAGE_ENCODING ) ; } catch ( ExecutionException e ) { return null ; } catch ( InterruptedException e ) { return null ; } catch ( NoSuchAlgorithmException e ) { return null ; } } | Unencrypt encrypted payload . |
28,376 | private byte [ ] getSha256 ( byte [ ] data ) throws NoSuchAlgorithmException { MessageDigest digest = MessageDigest . getInstance ( "SHA-256" ) ; return digest . digest ( data ) ; } | Get SHA256 hash for byte array . |
28,377 | private byte [ ] generateAesKey ( ) { byte [ ] bytes = new byte [ 32 ] ; if ( ! testMode ) { SecureRandom random = new SecureRandom ( ) ; random . nextBytes ( bytes ) ; } else { bytes = "TEST1234TEST1234TEST1234TEST1234" . getBytes ( MESSAGE_ENCODING ) ; } return bytes ; } | Generates AES key . |
28,378 | private byte [ ] generateAesIv ( ) { byte [ ] bytes = new byte [ 16 ] ; if ( ! testMode ) { SecureRandom random = new SecureRandom ( ) ; random . nextBytes ( bytes ) ; } else { bytes = "TEST1234TEST1234" . getBytes ( MESSAGE_ENCODING ) ; } return bytes ; } | Generates initialization vector for AES encryption . |
28,379 | public Observable < Page < RecoveryPointResourceInner > > listNextAsync ( final String nextPageLink ) { return listNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < RecoveryPointResourceInner > > , Page < RecoveryPointResourceInner > > ( ) { public Page < RecoveryPointResourceInner > call ( ServiceResponse < Page < RecoveryPointResourceInner > > response ) { return response . body ( ) ; } } ) ; } | Lists the backup copies for the backed up item . |
28,380 | public Observable < Page < ProtectedItemResourceInner > > listNextAsync ( final String nextPageLink ) { return listNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < ProtectedItemResourceInner > > , Page < ProtectedItemResourceInner > > ( ) { public Page < ProtectedItemResourceInner > call ( ServiceResponse < Page < ProtectedItemResourceInner > > response ) { return response . body ( ) ; } } ) ; } | Provides a pageable list of all items that are backed up within a vault . |
28,381 | public Observable < CheckNameAvailabilityOutputInner > checkNameAvailabilityAsync ( String name ) { return checkNameAvailabilityWithServiceResponseAsync ( name ) . map ( new Func1 < ServiceResponse < CheckNameAvailabilityOutputInner > , CheckNameAvailabilityOutputInner > ( ) { public CheckNameAvailabilityOutputInner call ( ServiceResponse < CheckNameAvailabilityOutputInner > response ) { return response . body ( ) ; } } ) ; } | Checks whether the Media Service resource name is available . The name must be globally unique . |
28,382 | public void delete ( String resourceGroupName , String mediaServiceName ) { deleteWithServiceResponseAsync ( resourceGroupName , mediaServiceName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Deletes a Media Service . |
28,383 | public Observable < DatabaseConnectionPolicyInner > getAsync ( String resourceGroupName , String serverName , String databaseName ) { return getWithServiceResponseAsync ( resourceGroupName , serverName , databaseName ) . map ( new Func1 < ServiceResponse < DatabaseConnectionPolicyInner > , DatabaseConnectionPolicyInner > ( ) { public DatabaseConnectionPolicyInner call ( ServiceResponse < DatabaseConnectionPolicyInner > response ) { return response . body ( ) ; } } ) ; } | Gets a database s connection policy which is used with table auditing . Table auditing is deprecated use blob auditing instead . |
28,384 | public Observable < DatabaseConnectionPolicyInner > createOrUpdateAsync ( String resourceGroupName , String serverName , String databaseName , DatabaseConnectionPolicyInner parameters ) { return createOrUpdateWithServiceResponseAsync ( resourceGroupName , serverName , databaseName , parameters ) . map ( new Func1 < ServiceResponse < DatabaseConnectionPolicyInner > , DatabaseConnectionPolicyInner > ( ) { public DatabaseConnectionPolicyInner call ( ServiceResponse < DatabaseConnectionPolicyInner > response ) { return response . body ( ) ; } } ) ; } | Creates or updates a database s connection policy which is used with table auditing . Table auditing is deprecated use blob auditing instead . |
28,385 | public Observable < ProtectedItemResourceInner > getAsync ( String vaultName , String resourceGroupName , String fabricName , String containerName , String protectedItemName , String operationId ) { return getWithServiceResponseAsync ( vaultName , resourceGroupName , fabricName , containerName , protectedItemName , operationId ) . map ( new Func1 < ServiceResponse < ProtectedItemResourceInner > , ProtectedItemResourceInner > ( ) { public ProtectedItemResourceInner call ( ServiceResponse < ProtectedItemResourceInner > response ) { return response . body ( ) ; } } ) ; } | Gets the result of any operation on the backup item . |
28,386 | public Observable < WorkbookInner > getAsync ( String resourceGroupName , String resourceName ) { return getWithServiceResponseAsync ( resourceGroupName , resourceName ) . map ( new Func1 < ServiceResponse < WorkbookInner > , WorkbookInner > ( ) { public WorkbookInner call ( ServiceResponse < WorkbookInner > response ) { return response . body ( ) ; } } ) ; } | Get a single workbook by its resourceName . |
28,387 | static PollStrategy tryToCreate ( RestProxy restProxy , SwaggerMethodParser methodParser , HttpRequest originalHttpRequest , HttpResponse httpResponse , long delayInMilliseconds ) { final String locationUrl = getHeader ( httpResponse ) ; URL pollUrl = null ; if ( locationUrl != null && ! locationUrl . isEmpty ( ) ) { if ( locationUrl . startsWith ( "/" ) ) { try { final URL originalRequestUrl = originalHttpRequest . url ( ) ; pollUrl = new URL ( originalRequestUrl , locationUrl ) ; } catch ( MalformedURLException ignored ) { } } else { final String locationUrlLower = locationUrl . toLowerCase ( Locale . ROOT ) ; if ( locationUrlLower . startsWith ( "http://" ) || locationUrlLower . startsWith ( "https://" ) ) { try { pollUrl = new URL ( locationUrl ) ; } catch ( MalformedURLException ignored ) { } } } } return pollUrl == null ? null : new LocationPollStrategy ( new LocationPollStrategyData ( restProxy , methodParser , pollUrl , delayInMilliseconds ) ) ; } | Try to create a new LocationOperationPollStrategy object that will poll the provided location URL . If the provided HttpResponse doesn t have a Location header or the header is empty then null will be returned . |
28,388 | public Observable < BackupResourceConfigResourceInner > getAsync ( String vaultName , String resourceGroupName ) { return getWithServiceResponseAsync ( vaultName , resourceGroupName ) . map ( new Func1 < ServiceResponse < BackupResourceConfigResourceInner > , BackupResourceConfigResourceInner > ( ) { public BackupResourceConfigResourceInner call ( ServiceResponse < BackupResourceConfigResourceInner > response ) { return response . body ( ) ; } } ) ; } | Fetches resource storage config . |
28,389 | public static DefaultListOperation < TaskInfo > list ( LinkInfo < TaskInfo > link ) { return new DefaultListOperation < TaskInfo > ( link . getHref ( ) , new GenericType < ListResult < TaskInfo > > ( ) { } ) ; } | Create an operation that will list the tasks pointed to by the given link . |
28,390 | public ClusterConfigurationsInner withConfigurations ( Map < String , Map < String , String > > configurations ) { this . configurations = configurations ; return this ; } | Set the configuration object for the specified configuration for the specified cluster . |
28,391 | public CertificateRestoreParameters withCertificateBundleBackup ( byte [ ] certificateBundleBackup ) { if ( certificateBundleBackup == null ) { this . certificateBundleBackup = null ; } else { this . certificateBundleBackup = Base64Url . encode ( certificateBundleBackup ) ; } return this ; } | Set the certificateBundleBackup value . |
28,392 | public Observable < GeoBackupPolicyInner > getAsync ( String resourceGroupName , String serverName , String databaseName ) { return getWithServiceResponseAsync ( resourceGroupName , serverName , databaseName ) . map ( new Func1 < ServiceResponse < GeoBackupPolicyInner > , GeoBackupPolicyInner > ( ) { public GeoBackupPolicyInner call ( ServiceResponse < GeoBackupPolicyInner > response ) { return response . body ( ) ; } } ) ; } | Gets a geo backup policy . |
28,393 | public Observable < RecoverableDatabaseInner > getAsync ( String resourceGroupName , String serverName , String databaseName ) { return getWithServiceResponseAsync ( resourceGroupName , serverName , databaseName ) . map ( new Func1 < ServiceResponse < RecoverableDatabaseInner > , RecoverableDatabaseInner > ( ) { public RecoverableDatabaseInner call ( ServiceResponse < RecoverableDatabaseInner > response ) { return response . body ( ) ; } } ) ; } | Gets a recoverable database which is a resource representing a database s geo backup . |
28,394 | public Observable < List < RecoverableDatabaseInner > > listByServerAsync ( String resourceGroupName , String serverName ) { return listByServerWithServiceResponseAsync ( resourceGroupName , serverName ) . map ( new Func1 < ServiceResponse < List < RecoverableDatabaseInner > > , List < RecoverableDatabaseInner > > ( ) { public List < RecoverableDatabaseInner > call ( ServiceResponse < List < RecoverableDatabaseInner > > response ) { return response . body ( ) ; } } ) ; } | Gets a list of recoverable databases . |
28,395 | private ServiceException processCatch ( ServiceException e ) { log . warn ( e . getMessage ( ) , e . getCause ( ) ) ; return ServiceExceptionFactory . process ( "MediaServices" , e ) ; } | Process a catch . |
28,396 | public Observable < Page < DscCompilationJobInner > > listByAutomationAccountNextAsync ( final String nextPageLink ) { return listByAutomationAccountNextWithServiceResponseAsync ( nextPageLink ) . map ( new Func1 < ServiceResponse < Page < DscCompilationJobInner > > , Page < DscCompilationJobInner > > ( ) { public Page < DscCompilationJobInner > call ( ServiceResponse < Page < DscCompilationJobInner > > response ) { return response . body ( ) ; } } ) ; } | Retrieve a list of dsc compilation jobs . |
28,397 | public void delete ( String vaultName , String resourceGroupName , String policyName ) { deleteWithServiceResponseAsync ( vaultName , resourceGroupName , policyName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Deletes specified backup policy from your Recovery Services Vault . This is an asynchronous operation . Status of the operation can be fetched using GetPolicyOperationResult API . |
28,398 | public void beginDelete ( String resourceGroupName , String networkWatcherName , String packetCaptureName ) { beginDeleteWithServiceResponseAsync ( resourceGroupName , networkWatcherName , packetCaptureName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Deletes the specified packet capture session . |
28,399 | public void beginStop ( String resourceGroupName , String networkWatcherName , String packetCaptureName ) { beginStopWithServiceResponseAsync ( resourceGroupName , networkWatcherName , packetCaptureName ) . toBlocking ( ) . single ( ) . body ( ) ; } | Stops a specified packet capture session . |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.