Interface PrivateLinkScopesClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<AzureMonitorPrivateLinkScopeInner>, InnerSupportsListing<AzureMonitorPrivateLinkScopeInner>

An instance of this class provides access to all the operations defined in PrivateLinkScopesClient.
  • Method Details

    • listAsync

      com.azure.core.http.rest.PagedFlux<AzureMonitorPrivateLinkScopeInner> listAsync()
      Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<AzureMonitorPrivateLinkScopeInner>
      Returns:
      a list of all Azure Monitor PrivateLinkScopes within a subscription as paginated response with PagedFlux.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<AzureMonitorPrivateLinkScopeInner> list()
      Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
      Specified by:
      list in interface InnerSupportsListing<AzureMonitorPrivateLinkScopeInner>
      Returns:
      a list of all Azure Monitor PrivateLinkScopes within a subscription as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<AzureMonitorPrivateLinkScopeInner> list(com.azure.core.util.Context context)
      Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      a list of all Azure Monitor PrivateLinkScopes within a subscription as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<AzureMonitorPrivateLinkScopeInner> listByResourceGroupAsync(String resourceGroupName)
      Gets a list of Azure Monitor PrivateLinkScopes within a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<AzureMonitorPrivateLinkScopeInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      a list of Azure Monitor PrivateLinkScopes within a resource group as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AzureMonitorPrivateLinkScopeInner> listByResourceGroup(String resourceGroupName)
      Gets a list of Azure Monitor PrivateLinkScopes within a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<AzureMonitorPrivateLinkScopeInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      a list of Azure Monitor PrivateLinkScopes within a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<AzureMonitorPrivateLinkScopeInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets a list of Azure Monitor PrivateLinkScopes within a resource group.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      a list of Azure Monitor PrivateLinkScopes within a resource group as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String scopeName)
      Deletes a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      Returns:
      the Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDeleteAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String scopeName)
      Deletes a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String scopeName)
      Deletes a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String scopeName, com.azure.core.util.Context context)
      Deletes a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteAsync

      Mono<Void> deleteAsync(String resourceGroupName, String scopeName)
      Deletes a Azure Monitor PrivateLinkScope.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      Returns:
      A Mono that completes when a successful response is received.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String scopeName)
      Deletes a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String scopeName, com.azure.core.util.Context context)
      Deletes a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String scopeName)
      Returns a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      Returns:
      an Azure Monitor PrivateLinkScope definition along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupAsync

      Mono<AzureMonitorPrivateLinkScopeInner> getByResourceGroupAsync(String resourceGroupName, String scopeName)
      Returns a Azure Monitor PrivateLinkScope.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<AzureMonitorPrivateLinkScopeInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      Returns:
      an Azure Monitor PrivateLinkScope definition on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner> getByResourceGroupWithResponse(String resourceGroupName, String scopeName, com.azure.core.util.Context context)
      Returns a Azure Monitor PrivateLinkScope.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      context - The context to associate with this operation.
      Returns:
      an Azure Monitor PrivateLinkScope definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      AzureMonitorPrivateLinkScopeInner getByResourceGroup(String resourceGroupName, String scopeName)
      Returns a Azure Monitor PrivateLinkScope.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<AzureMonitorPrivateLinkScopeInner>
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      Returns:
      an Azure Monitor PrivateLinkScope definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String scopeName, AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload)
      Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      azureMonitorPrivateLinkScopePayload - Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.
      Returns:
      an Azure Monitor PrivateLinkScope definition along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<AzureMonitorPrivateLinkScopeInner> createOrUpdateAsync(String resourceGroupName, String scopeName, AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload)
      Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      azureMonitorPrivateLinkScopePayload - Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.
      Returns:
      an Azure Monitor PrivateLinkScope definition on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner> createOrUpdateWithResponse(String resourceGroupName, String scopeName, AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload, com.azure.core.util.Context context)
      Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      azureMonitorPrivateLinkScopePayload - Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.
      context - The context to associate with this operation.
      Returns:
      an Azure Monitor PrivateLinkScope definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      AzureMonitorPrivateLinkScopeInner createOrUpdate(String resourceGroupName, String scopeName, AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload)
      Creates (or updates) a Azure Monitor PrivateLinkScope. Note: You cannot specify a different value for InstrumentationKey nor AppId in the Put operation.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      azureMonitorPrivateLinkScopePayload - Properties that need to be specified to create or update a Azure Monitor PrivateLinkScope.
      Returns:
      an Azure Monitor PrivateLinkScope definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTagsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>> updateTagsWithResponseAsync(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags)
      Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      privateLinkScopeTags - Updated tag information to set into the PrivateLinkScope instance.
      Returns:
      an Azure Monitor PrivateLinkScope definition along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTagsAsync

      Mono<AzureMonitorPrivateLinkScopeInner> updateTagsAsync(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags)
      Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      privateLinkScopeTags - Updated tag information to set into the PrivateLinkScope instance.
      Returns:
      an Azure Monitor PrivateLinkScope definition on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTagsWithResponse

      com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner> updateTagsWithResponse(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags, com.azure.core.util.Context context)
      Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      privateLinkScopeTags - Updated tag information to set into the PrivateLinkScope instance.
      context - The context to associate with this operation.
      Returns:
      an Azure Monitor PrivateLinkScope definition along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTags

      AzureMonitorPrivateLinkScopeInner updateTags(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags)
      Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      scopeName - The name of the Azure Monitor PrivateLinkScope resource.
      privateLinkScopeTags - Updated tag information to set into the PrivateLinkScope instance.
      Returns:
      an Azure Monitor PrivateLinkScope definition.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.