Interface PrivateLinkScopesClient
public interface PrivateLinkScopesClient
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 Arc PrivateLinkScope.beginDelete
(String resourceGroupName, String scopeName, com.azure.core.util.Context context) Deletes a Azure Arc PrivateLinkScope.createOrUpdate
(String resourceGroupName, String scopeName, HybridComputePrivateLinkScopeInner parameters) Creates (or updates) a Azure Arc PrivateLinkScope.com.azure.core.http.rest.Response<HybridComputePrivateLinkScopeInner>
createOrUpdateWithResponse
(String resourceGroupName, String scopeName, HybridComputePrivateLinkScopeInner parameters, com.azure.core.util.Context context) Creates (or updates) a Azure Arc PrivateLinkScope.void
Deletes a Azure Arc PrivateLinkScope.void
Deletes a Azure Arc PrivateLinkScope.getByResourceGroup
(String resourceGroupName, String scopeName) Returns a Azure Arc PrivateLinkScope.com.azure.core.http.rest.Response<HybridComputePrivateLinkScopeInner>
getByResourceGroupWithResponse
(String resourceGroupName, String scopeName, com.azure.core.util.Context context) Returns a Azure Arc PrivateLinkScope.getValidationDetails
(String location, String privateLinkScopeId) Returns a Azure Arc PrivateLinkScope's validation details.getValidationDetailsForMachine
(String resourceGroupName, String machineName) Returns a Azure Arc PrivateLinkScope's validation details for a given machine.com.azure.core.http.rest.Response<PrivateLinkScopeValidationDetailsInner>
getValidationDetailsForMachineWithResponse
(String resourceGroupName, String machineName, com.azure.core.util.Context context) Returns a Azure Arc PrivateLinkScope's validation details for a given machine.com.azure.core.http.rest.Response<PrivateLinkScopeValidationDetailsInner>
getValidationDetailsWithResponse
(String location, String privateLinkScopeId, com.azure.core.util.Context context) Returns a Azure Arc PrivateLinkScope's validation details.com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScopeInner>
list()
Gets a list of all Azure Arc PrivateLinkScopes within a subscription.com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScopeInner>
list
(com.azure.core.util.Context context) Gets a list of all Azure Arc PrivateLinkScopes within a subscription.com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScopeInner>
listByResourceGroup
(String resourceGroupName) Gets a list of Azure Arc PrivateLinkScopes within a resource group.com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScopeInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets a list of Azure Arc PrivateLinkScopes within a resource group.updateTags
(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags) Updates an existing PrivateLinkScope's tags.com.azure.core.http.rest.Response<HybridComputePrivateLinkScopeInner>
updateTagsWithResponse
(String resourceGroupName, String scopeName, TagsResource privateLinkScopeTags, com.azure.core.util.Context context) Updates an existing PrivateLinkScope's tags.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScopeInner> list()Gets a list of all Azure Arc PrivateLinkScopes within a subscription.- Returns:
- a list of all Azure Arc 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<HybridComputePrivateLinkScopeInner> list(com.azure.core.util.Context context) Gets a list of all Azure Arc PrivateLinkScopes within a subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of all Azure Arc 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<HybridComputePrivateLinkScopeInner> listByResourceGroup(String resourceGroupName) Gets a list of Azure Arc PrivateLinkScopes within a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a list of Azure Arc 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<HybridComputePrivateLinkScopeInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of Azure Arc 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 Arc 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String scopeName) Deletes a Azure Arc PrivateLinkScope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc 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 Arc PrivateLinkScope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc 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.
-
delete
Deletes a Azure Arc PrivateLinkScope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc 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 Arc PrivateLinkScope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<HybridComputePrivateLinkScopeInner> getByResourceGroupWithResponse(String resourceGroupName, String scopeName, com.azure.core.util.Context context) Returns a Azure Arc PrivateLinkScope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.context
- The context to associate with this operation.- Returns:
- an Azure Arc 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 Arc PrivateLinkScope.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.scopeName
- The name of the Azure Arc PrivateLinkScope resource.- Returns:
- an Azure Arc 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<HybridComputePrivateLinkScopeInner> createOrUpdateWithResponse(String resourceGroupName, String scopeName, HybridComputePrivateLinkScopeInner parameters, com.azure.core.util.Context context) Creates (or updates) a Azure Arc 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 Arc PrivateLinkScope resource.parameters
- Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.context
- The context to associate with this operation.- Returns:
- an Azure Arc 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
HybridComputePrivateLinkScopeInner createOrUpdate(String resourceGroupName, String scopeName, HybridComputePrivateLinkScopeInner parameters) Creates (or updates) a Azure Arc 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 Arc PrivateLinkScope resource.parameters
- Properties that need to be specified to create or update a Azure Arc for Servers and Clusters PrivateLinkScope.- Returns:
- an Azure Arc 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<HybridComputePrivateLinkScopeInner> 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 Arc PrivateLinkScope resource.privateLinkScopeTags
- Updated tag information to set into the PrivateLinkScope instance.context
- The context to associate with this operation.- Returns:
- an Azure Arc 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
HybridComputePrivateLinkScopeInner 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 Arc PrivateLinkScope resource.privateLinkScopeTags
- Updated tag information to set into the PrivateLinkScope instance.- Returns:
- an Azure Arc 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.
-
getValidationDetailsWithResponse
com.azure.core.http.rest.Response<PrivateLinkScopeValidationDetailsInner> getValidationDetailsWithResponse(String location, String privateLinkScopeId, com.azure.core.util.Context context) Returns a Azure Arc PrivateLinkScope's validation details.- Parameters:
location
- The location of the target resource.privateLinkScopeId
- The id (Guid) of the Azure Arc PrivateLinkScope resource.context
- The context to associate with this operation.- Returns:
- the response body 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.
-
getValidationDetails
PrivateLinkScopeValidationDetailsInner getValidationDetails(String location, String privateLinkScopeId) Returns a Azure Arc PrivateLinkScope's validation details.- Parameters:
location
- The location of the target resource.privateLinkScopeId
- The id (Guid) of the Azure Arc PrivateLinkScope resource.- Returns:
- the 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.
-
getValidationDetailsForMachineWithResponse
com.azure.core.http.rest.Response<PrivateLinkScopeValidationDetailsInner> getValidationDetailsForMachineWithResponse(String resourceGroupName, String machineName, com.azure.core.util.Context context) Returns a Azure Arc PrivateLinkScope's validation details for a given machine.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.machineName
- The name of the target machine to get the private link scope validation details for.context
- The context to associate with this operation.- Returns:
- the response body 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.
-
getValidationDetailsForMachine
PrivateLinkScopeValidationDetailsInner getValidationDetailsForMachine(String resourceGroupName, String machineName) Returns a Azure Arc PrivateLinkScope's validation details for a given machine.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.machineName
- The name of the target machine to get the private link scope validation details for.- Returns:
- the 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.
-