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
Modifier and TypeMethodDescriptionbeginDelete
(String resourceGroupName, String scopeName) Deletes a Azure Monitor PrivateLinkScope.beginDelete
(String resourceGroupName, String scopeName, com.azure.core.util.Context context) Deletes a Azure Monitor PrivateLinkScope.beginDeleteAsync
(String resourceGroupName, String scopeName) Deletes a Azure Monitor PrivateLinkScope.createOrUpdate
(String resourceGroupName, String scopeName, AzureMonitorPrivateLinkScopeInner azureMonitorPrivateLinkScopePayload) Creates (or updates) a Azure Monitor PrivateLinkScope.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.void
Deletes a Azure Monitor PrivateLinkScope.void
Deletes a Azure Monitor PrivateLinkScope.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.getByResourceGroup
(String resourceGroupName, String scopeName) Returns a Azure Monitor PrivateLinkScope.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> 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.updateTags
(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags) Updates an existing PrivateLinkScope's tags.updateTagsAsync
(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags) Updates an existing PrivateLinkScope's tags.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.Mono
<com.azure.core.http.rest.Response<AzureMonitorPrivateLinkScopeInner>> updateTagsWithResponseAsync
(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags) Updates an existing PrivateLinkScope's tags.
-
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 interfaceInnerSupportsListing<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 interfaceInnerSupportsListing<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 interfaceInnerSupportsListing<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 interfaceInnerSupportsListing<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 ofMono
. - 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
Deletes a Azure Monitor PrivateLinkScope.- Specified by:
deleteAsync
in interfaceInnerSupportsDelete<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
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
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 ofMono
. - 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 interfaceInnerSupportsGet<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
Returns a Azure Monitor PrivateLinkScope.- Specified by:
getByResourceGroup
in interfaceInnerSupportsGet<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 ofMono
. - 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 ofMono
. - 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.
-