Interface PrivateLinkScopesClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<AzureMonitorPrivateLinkScopeInner>,InnerSupportsListing<AzureMonitorPrivateLinkScopeInner>
public interface PrivateLinkScopesClient extends InnerSupportsGet<AzureMonitorPrivateLinkScopeInner>, InnerSupportsListing<AzureMonitorPrivateLinkScopeInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in PrivateLinkScopesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String scopeName)Deletes a Azure Monitor PrivateLinkScope.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.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String scopeName)Deletes a Azure Monitor PrivateLinkScope.AzureMonitorPrivateLinkScopeInnercreateOrUpdate(String resourceGroupName, String scopeName, AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload)Creates (or updates) a Azure Monitor PrivateLinkScope.Mono<AzureMonitorPrivateLinkScopeInner>createOrUpdateAsync(String resourceGroupName, String scopeName, AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload)Creates (or updates) a Azure Monitor PrivateLinkScope.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.Mono<com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>>createOrUpdateWithResponseAsync(String resourceGroupName, String scopeName, AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload)Creates (or updates) a Azure Monitor PrivateLinkScope.voiddelete(String resourceGroupName, String scopeName)Deletes a Azure Monitor PrivateLinkScope.voiddelete(String resourceGroupName, String scopeName, com.azure.core.util.Context context)Deletes a Azure Monitor PrivateLinkScope.Mono<Void>deleteAsync(String resourceGroupName, String scopeName)Deletes a Azure Monitor PrivateLinkScope.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String scopeName)Deletes a Azure Monitor PrivateLinkScope.AzureMonitorPrivateLinkScopeInnergetByResourceGroup(String resourceGroupName, String scopeName)Returns a Azure Monitor PrivateLinkScope.Mono<AzureMonitorPrivateLinkScopeInner>getByResourceGroupAsync(String resourceGroupName, String scopeName)Returns a Azure Monitor PrivateLinkScope.com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>getByResourceGroupWithResponse(String resourceGroupName, String scopeName, com.azure.core.util.Context context)Returns a Azure Monitor PrivateLinkScope.Mono<com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String scopeName)Returns a Azure Monitor PrivateLinkScope.com.azure.core.http.rest.PagedIterable<AzureMonitorPrivateLinkScopeInner>list()Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.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.com.azure.core.http.rest.PagedFlux<AzureMonitorPrivateLinkScopeInner>listAsync()Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.com.azure.core.http.rest.PagedIterable<AzureMonitorPrivateLinkScopeInner>listByResourceGroup(String resourceGroupName)Gets a list of Azure Monitor PrivateLinkScopes within a resource group.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.com.azure.core.http.rest.PagedFlux<AzureMonitorPrivateLinkScopeInner>listByResourceGroupAsync(String resourceGroupName)Gets a list of Azure Monitor PrivateLinkScopes within a resource group.AzureMonitorPrivateLinkScopeInnerupdateTags(String resourceGroupName, String scopeName)Updates an existing PrivateLinkScope's tags.Mono<AzureMonitorPrivateLinkScopeInner>updateTagsAsync(String resourceGroupName, String scopeName)Updates an existing PrivateLinkScope's tags.Mono<AzureMonitorPrivateLinkScopeInner>updateTagsAsync(String resourceGroupName, String scopeName, Map<String,String> tags)Updates an existing PrivateLinkScope's tags.com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>updateTagsWithResponse(String resourceGroupName, String scopeName, Map<String,String> tags, com.azure.core.util.Context context)Updates an existing PrivateLinkScope's tags.Mono<com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>>updateTagsWithResponseAsync(String resourceGroupName, String scopeName, Map<String,String> tags)Updates an existing PrivateLinkScope's tags.
-
-
-
Method Detail
-
listAsync
com.azure.core.http.rest.PagedFlux<AzureMonitorPrivateLinkScopeInner> listAsync()
Gets a list of all Azure Monitor PrivateLinkScopes within a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<AzureMonitorPrivateLinkScopeInner>- Returns:
- a list of all Azure Monitor PrivateLinkScopes within a subscription.
- 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:
listin interfaceInnerSupportsListing<AzureMonitorPrivateLinkScopeInner>- Returns:
- a list of all Azure Monitor PrivateLinkScopes within a subscription.
- 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.
- 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:
listByResourceGroupAsyncin interfaceInnerSupportsListing<AzureMonitorPrivateLinkScopeInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- a list of Azure Monitor PrivateLinkScopes within a resource group.
- 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:
listByResourceGroupin interfaceInnerSupportsListing<AzureMonitorPrivateLinkScopeInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- a list of Azure Monitor PrivateLinkScopes within a resource group.
- 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.context- The context to associate with this operation.- Returns:
- a list of Azure Monitor PrivateLinkScopes within a resource group.
- 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.scopeName- The name of the Azure Monitor PrivateLinkScope resource.- Returns:
- the completion.
- 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.scopeName- The name of the Azure Monitor PrivateLinkScope resource.- Returns:
- the completion.
- 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.scopeName- The name of the Azure Monitor PrivateLinkScope resource.- Returns:
- the completion.
- 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.scopeName- The name of the Azure Monitor PrivateLinkScope resource.context- The context to associate with this operation.- Returns:
- the completion.
- 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:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.scopeName- The name of the Azure Monitor PrivateLinkScope resource.- Returns:
- the completion.
- 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.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.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.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.
-
getByResourceGroupAsync
Mono<AzureMonitorPrivateLinkScopeInner> getByResourceGroupAsync(String resourceGroupName, String scopeName)
Returns a Azure Monitor PrivateLinkScope.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<AzureMonitorPrivateLinkScopeInner>- Parameters:
resourceGroupName- The name of the resource group.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.
-
getByResourceGroup
AzureMonitorPrivateLinkScopeInner getByResourceGroup(String resourceGroupName, String scopeName)
Returns a Azure Monitor PrivateLinkScope.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<AzureMonitorPrivateLinkScopeInner>- Parameters:
resourceGroupName- The name of the resource group.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.
-
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.scopeName- The name of the Azure Monitor PrivateLinkScope resource.context- The context to associate with this operation.- 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.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.
-
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.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.
-
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.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.
-
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.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.
- 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, Map<String,String> tags)
Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.scopeName- The name of the Azure Monitor PrivateLinkScope resource.tags- Resource tags.- 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.
-
updateTagsAsync
Mono<AzureMonitorPrivateLinkScopeInner> updateTagsAsync(String resourceGroupName, String scopeName, Map<String,String> tags)
Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.scopeName- The name of the Azure Monitor PrivateLinkScope resource.tags- Resource tags.- 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.
-
updateTagsAsync
Mono<AzureMonitorPrivateLinkScopeInner> updateTagsAsync(String resourceGroupName, String scopeName)
Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.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.
-
updateTags
AzureMonitorPrivateLinkScopeInner updateTags(String resourceGroupName, String scopeName)
Updates an existing PrivateLinkScope's tags. To update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName- The name of the resource group.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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner> updateTagsWithResponse(String resourceGroupName, String scopeName, Map<String,String> tags, 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.scopeName- The name of the Azure Monitor PrivateLinkScope resource.tags- Resource tags.context- The context to associate with this operation.- 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.
-
-