Interface IotDpsResourcesClient
public interface IotDpsResourcesClient
An instance of this class provides access to all the operations defined in IotDpsResourcesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProvisioningServiceDescriptionInner>,
ProvisioningServiceDescriptionInner> beginCreateOrUpdate
(String resourceGroupName, String provisioningServiceName, ProvisioningServiceDescriptionInner iotDpsDescription) Create or update the metadata of the provisioning service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProvisioningServiceDescriptionInner>,
ProvisioningServiceDescriptionInner> beginCreateOrUpdate
(String resourceGroupName, String provisioningServiceName, ProvisioningServiceDescriptionInner iotDpsDescription, com.azure.core.util.Context context) Create or update the metadata of the provisioning service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginCreateOrUpdatePrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) Create or update the status of a private endpoint connection with the specified name.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginCreateOrUpdatePrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context) Create or update the status of a private endpoint connection with the specified name.beginDelete
(String resourceGroupName, String provisioningServiceName) Deletes the Provisioning Service.beginDelete
(String resourceGroupName, String provisioningServiceName, com.azure.core.util.Context context) Deletes the Provisioning Service.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginDeletePrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Delete private endpoint connection with the specified name.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,
PrivateEndpointConnectionInner> beginDeletePrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connection with the specified name.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProvisioningServiceDescriptionInner>,
ProvisioningServiceDescriptionInner> beginUpdate
(String resourceGroupName, String provisioningServiceName, TagsResource provisioningServiceTags) Update an existing provisioning service's tags.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProvisioningServiceDescriptionInner>,
ProvisioningServiceDescriptionInner> beginUpdate
(String resourceGroupName, String provisioningServiceName, TagsResource provisioningServiceTags, com.azure.core.util.Context context) Update an existing provisioning service's tags.Check if a provisioning service name is available.com.azure.core.http.rest.Response<NameAvailabilityInfoInner>
checkProvisioningServiceNameAvailabilityWithResponse
(OperationInputs arguments, com.azure.core.util.Context context) Check if a provisioning service name is available.createOrUpdate
(String resourceGroupName, String provisioningServiceName, ProvisioningServiceDescriptionInner iotDpsDescription) Create or update the metadata of the provisioning service.createOrUpdate
(String resourceGroupName, String provisioningServiceName, ProvisioningServiceDescriptionInner iotDpsDescription, com.azure.core.util.Context context) Create or update the metadata of the provisioning service.createOrUpdatePrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) Create or update the status of a private endpoint connection with the specified name.createOrUpdatePrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context) Create or update the status of a private endpoint connection with the specified name.void
Deletes the Provisioning Service.void
delete
(String resourceGroupName, String provisioningServiceName, com.azure.core.util.Context context) Deletes the Provisioning Service.deletePrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Delete private endpoint connection with the specified name.deletePrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connection with the specified name.getByResourceGroup
(String resourceGroupName, String provisioningServiceName) Get the metadata of the provisioning service without SAS keys.com.azure.core.http.rest.Response<ProvisioningServiceDescriptionInner>
getByResourceGroupWithResponse
(String resourceGroupName, String provisioningServiceName, com.azure.core.util.Context context) Get the metadata of the provisioning service without SAS keys.getOperationResult
(String operationId, String resourceGroupName, String provisioningServiceName, String asyncinfo) Gets the status of a long running operation, such as create, update or delete a provisioning service.com.azure.core.http.rest.Response<AsyncOperationResultInner>
getOperationResultWithResponse
(String operationId, String resourceGroupName, String provisioningServiceName, String asyncinfo, com.azure.core.util.Context context) Gets the status of a long running operation, such as create, update or delete a provisioning service.getPrivateEndpointConnection
(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Get private endpoint connection properties.com.azure.core.http.rest.Response<PrivateEndpointConnectionInner>
getPrivateEndpointConnectionWithResponse
(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get private endpoint connection properties.getPrivateLinkResources
(String resourceGroupName, String resourceName, String groupId) Get the specified private link resource for the given provisioning service.com.azure.core.http.rest.Response<GroupIdInformationInner>
getPrivateLinkResourcesWithResponse
(String resourceGroupName, String resourceName, String groupId, com.azure.core.util.Context context) Get the specified private link resource for the given provisioning service.com.azure.core.http.rest.PagedIterable<ProvisioningServiceDescriptionInner>
list()
List all the provisioning services for a given subscription id.com.azure.core.http.rest.PagedIterable<ProvisioningServiceDescriptionInner>
list
(com.azure.core.util.Context context) List all the provisioning services for a given subscription id.com.azure.core.http.rest.PagedIterable<ProvisioningServiceDescriptionInner>
listByResourceGroup
(String resourceGroupName) Get a list of all provisioning services in the given resource group.com.azure.core.http.rest.PagedIterable<ProvisioningServiceDescriptionInner>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Get a list of all provisioning services in the given resource group.com.azure.core.http.rest.PagedIterable<SharedAccessSignatureAuthorizationRuleInner>
List the primary and secondary keys for a provisioning service.com.azure.core.http.rest.PagedIterable<SharedAccessSignatureAuthorizationRuleInner>
listKeys
(String provisioningServiceName, String resourceGroupName, com.azure.core.util.Context context) List the primary and secondary keys for a provisioning service.listKeysForKeyName
(String provisioningServiceName, String keyName, String resourceGroupName) List primary and secondary keys for a specific key name.com.azure.core.http.rest.Response<SharedAccessSignatureAuthorizationRuleInner>
listKeysForKeyNameWithResponse
(String provisioningServiceName, String keyName, String resourceGroupName, com.azure.core.util.Context context) List primary and secondary keys for a specific key name.listPrivateEndpointConnections
(String resourceGroupName, String resourceName) List private endpoint connection properties.com.azure.core.http.rest.Response<List<PrivateEndpointConnectionInner>>
listPrivateEndpointConnectionsWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private endpoint connection properties.listPrivateLinkResources
(String resourceGroupName, String resourceName) List private link resources for the given provisioning service.com.azure.core.http.rest.Response<PrivateLinkResourcesInner>
listPrivateLinkResourcesWithResponse
(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private link resources for the given provisioning service.com.azure.core.http.rest.PagedIterable<IotDpsSkuDefinitionInner>
listValidSkus
(String provisioningServiceName, String resourceGroupName) Gets the list of valid SKUs and tiers for a provisioning service.com.azure.core.http.rest.PagedIterable<IotDpsSkuDefinitionInner>
listValidSkus
(String provisioningServiceName, String resourceGroupName, com.azure.core.util.Context context) Gets the list of valid SKUs and tiers for a provisioning service.update
(String resourceGroupName, String provisioningServiceName, TagsResource provisioningServiceTags) Update an existing provisioning service's tags.update
(String resourceGroupName, String provisioningServiceName, TagsResource provisioningServiceTags, com.azure.core.util.Context context) Update an existing provisioning service's tags.
-
Method Details
-
getByResourceGroup
ProvisioningServiceDescriptionInner getByResourceGroup(String resourceGroupName, String provisioningServiceName) Get the metadata of the provisioning service without SAS keys.- Parameters:
resourceGroupName
- Resource group name.provisioningServiceName
- Name of the provisioning service to retrieve.- Returns:
- the metadata of the provisioning service without SAS keys.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- 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<ProvisioningServiceDescriptionInner> getByResourceGroupWithResponse(String resourceGroupName, String provisioningServiceName, com.azure.core.util.Context context) Get the metadata of the provisioning service without SAS keys.- Parameters:
resourceGroupName
- Resource group name.provisioningServiceName
- Name of the provisioning service to retrieve.context
- The context to associate with this operation.- Returns:
- the metadata of the provisioning service without SAS keys along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProvisioningServiceDescriptionInner>,ProvisioningServiceDescriptionInner> beginCreateOrUpdate(String resourceGroupName, String provisioningServiceName, ProvisioningServiceDescriptionInner iotDpsDescription) Create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to create or update.iotDpsDescription
- Description of the provisioning service to create or update.- Returns:
- the
SyncPoller
for polling of the description of the provisioning service. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProvisioningServiceDescriptionInner>,ProvisioningServiceDescriptionInner> beginCreateOrUpdate(String resourceGroupName, String provisioningServiceName, ProvisioningServiceDescriptionInner iotDpsDescription, com.azure.core.util.Context context) Create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to create or update.iotDpsDescription
- Description of the provisioning service to create or update.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the description of the provisioning service. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ProvisioningServiceDescriptionInner createOrUpdate(String resourceGroupName, String provisioningServiceName, ProvisioningServiceDescriptionInner iotDpsDescription) Create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to create or update.iotDpsDescription
- Description of the provisioning service to create or update.- Returns:
- the description of the provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
ProvisioningServiceDescriptionInner createOrUpdate(String resourceGroupName, String provisioningServiceName, ProvisioningServiceDescriptionInner iotDpsDescription, com.azure.core.util.Context context) Create or update the metadata of the provisioning service. The usual pattern to modify a property is to retrieve the provisioning service metadata and security metadata, and then combine them with the modified values in a new body to update the provisioning service.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to create or update.iotDpsDescription
- Description of the provisioning service to create or update.context
- The context to associate with this operation.- Returns:
- the description of the provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProvisioningServiceDescriptionInner>,ProvisioningServiceDescriptionInner> beginUpdate(String resourceGroupName, String provisioningServiceName, TagsResource provisioningServiceTags) Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to create or update.provisioningServiceTags
- Updated tag information to set into the provisioning service instance.- Returns:
- the
SyncPoller
for polling of the description of the provisioning service. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProvisioningServiceDescriptionInner>,ProvisioningServiceDescriptionInner> beginUpdate(String resourceGroupName, String provisioningServiceName, TagsResource provisioningServiceTags, com.azure.core.util.Context context) Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to create or update.provisioningServiceTags
- Updated tag information to set into the provisioning service instance.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the description of the provisioning service. - 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.
-
update
ProvisioningServiceDescriptionInner update(String resourceGroupName, String provisioningServiceName, TagsResource provisioningServiceTags) Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to create or update.provisioningServiceTags
- Updated tag information to set into the provisioning service instance.- Returns:
- the description of the provisioning service.
- 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.
-
update
ProvisioningServiceDescriptionInner update(String resourceGroupName, String provisioningServiceName, TagsResource provisioningServiceTags, com.azure.core.util.Context context) Update an existing provisioning service's tags. to update other fields use the CreateOrUpdate method.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to create or update.provisioningServiceTags
- Updated tag information to set into the provisioning service instance.context
- The context to associate with this operation.- Returns:
- the description of the provisioning service.
- 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 provisioningServiceName) Deletes the Provisioning Service.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to delete.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- 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 provisioningServiceName, com.azure.core.util.Context context) Deletes the Provisioning Service.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to delete.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.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the Provisioning Service.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to delete.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- 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 provisioningServiceName, com.azure.core.util.Context context) Deletes the Provisioning Service.- Parameters:
resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service to delete.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- 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<ProvisioningServiceDescriptionInner> list()List all the provisioning services for a given subscription id.- Returns:
- list of provisioning service descriptions as paginated response with
PagedIterable
. - Throws:
ErrorDetailsException
- 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<ProvisioningServiceDescriptionInner> list(com.azure.core.util.Context context) List all the provisioning services for a given subscription id.- Parameters:
context
- The context to associate with this operation.- Returns:
- list of provisioning service descriptions as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- 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<ProvisioningServiceDescriptionInner> listByResourceGroup(String resourceGroupName) Get a list of all provisioning services in the given resource group.- Parameters:
resourceGroupName
- Resource group identifier.- Returns:
- a list of all provisioning services in the given resource group as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- 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<ProvisioningServiceDescriptionInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Get a list of all provisioning services in the given resource group.- Parameters:
resourceGroupName
- Resource group identifier.context
- The context to associate with this operation.- Returns:
- a list of all provisioning services in the given resource group as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOperationResult
AsyncOperationResultInner getOperationResult(String operationId, String resourceGroupName, String provisioningServiceName, String asyncinfo) Gets the status of a long running operation, such as create, update or delete a provisioning service.- Parameters:
operationId
- Operation id corresponding to long running operation. Use this to poll for the status.resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service that the operation is running on.asyncinfo
- Async header used to poll on the status of the operation, obtained while creating the long running operation.- Returns:
- the status of a long running operation, such as create, update or delete a provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOperationResultWithResponse
com.azure.core.http.rest.Response<AsyncOperationResultInner> getOperationResultWithResponse(String operationId, String resourceGroupName, String provisioningServiceName, String asyncinfo, com.azure.core.util.Context context) Gets the status of a long running operation, such as create, update or delete a provisioning service.- Parameters:
operationId
- Operation id corresponding to long running operation. Use this to poll for the status.resourceGroupName
- Resource group identifier.provisioningServiceName
- Name of provisioning service that the operation is running on.asyncinfo
- Async header used to poll on the status of the operation, obtained while creating the long running operation.context
- The context to associate with this operation.- Returns:
- the status of a long running operation, such as create, update or delete a provisioning service along
with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listValidSkus
com.azure.core.http.rest.PagedIterable<IotDpsSkuDefinitionInner> listValidSkus(String provisioningServiceName, String resourceGroupName) Gets the list of valid SKUs and tiers for a provisioning service.- Parameters:
provisioningServiceName
- Name of provisioning service.resourceGroupName
- Name of resource group.- Returns:
- the list of valid SKUs and tiers for a provisioning service as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listValidSkus
com.azure.core.http.rest.PagedIterable<IotDpsSkuDefinitionInner> listValidSkus(String provisioningServiceName, String resourceGroupName, com.azure.core.util.Context context) Gets the list of valid SKUs and tiers for a provisioning service.- Parameters:
provisioningServiceName
- Name of provisioning service.resourceGroupName
- Name of resource group.context
- The context to associate with this operation.- Returns:
- the list of valid SKUs and tiers for a provisioning service as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkProvisioningServiceNameAvailability
Check if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable.- Parameters:
arguments
- Set the name parameter in the OperationInputs structure to the name of the provisioning service to check.- Returns:
- description of name availability.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
checkProvisioningServiceNameAvailabilityWithResponse
com.azure.core.http.rest.Response<NameAvailabilityInfoInner> checkProvisioningServiceNameAvailabilityWithResponse(OperationInputs arguments, com.azure.core.util.Context context) Check if a provisioning service name is available. This will validate if the name is syntactically valid and if the name is usable.- Parameters:
arguments
- Set the name parameter in the OperationInputs structure to the name of the provisioning service to check.context
- The context to associate with this operation.- Returns:
- description of name availability along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeys
com.azure.core.http.rest.PagedIterable<SharedAccessSignatureAuthorizationRuleInner> listKeys(String provisioningServiceName, String resourceGroupName) List the primary and secondary keys for a provisioning service.- Parameters:
provisioningServiceName
- The provisioning service name to get the shared access keys for.resourceGroupName
- resource group name.- Returns:
- list of shared access keys as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeys
com.azure.core.http.rest.PagedIterable<SharedAccessSignatureAuthorizationRuleInner> listKeys(String provisioningServiceName, String resourceGroupName, com.azure.core.util.Context context) List the primary and secondary keys for a provisioning service.- Parameters:
provisioningServiceName
- The provisioning service name to get the shared access keys for.resourceGroupName
- resource group name.context
- The context to associate with this operation.- Returns:
- list of shared access keys as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysForKeyName
SharedAccessSignatureAuthorizationRuleInner listKeysForKeyName(String provisioningServiceName, String keyName, String resourceGroupName) List primary and secondary keys for a specific key name.- Parameters:
provisioningServiceName
- Name of the provisioning service.keyName
- Logical key name to get key-values for.resourceGroupName
- The name of the resource group that contains the provisioning service.- Returns:
- description of the shared access key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listKeysForKeyNameWithResponse
com.azure.core.http.rest.Response<SharedAccessSignatureAuthorizationRuleInner> listKeysForKeyNameWithResponse(String provisioningServiceName, String keyName, String resourceGroupName, com.azure.core.util.Context context) List primary and secondary keys for a specific key name.- Parameters:
provisioningServiceName
- Name of the provisioning service.keyName
- Logical key name to get key-values for.resourceGroupName
- The name of the resource group that contains the provisioning service.context
- The context to associate with this operation.- Returns:
- description of the shared access key along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listPrivateLinkResources
List private link resources for the given provisioning service.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.- Returns:
- the available private link resources for a provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listPrivateLinkResourcesWithResponse
com.azure.core.http.rest.Response<PrivateLinkResourcesInner> listPrivateLinkResourcesWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private link resources for the given provisioning service.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.context
- The context to associate with this operation.- Returns:
- the available private link resources for a provisioning service along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getPrivateLinkResources
GroupIdInformationInner getPrivateLinkResources(String resourceGroupName, String resourceName, String groupId) Get the specified private link resource for the given provisioning service.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.groupId
- The name of the private link resource.- Returns:
- the specified private link resource for the given provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getPrivateLinkResourcesWithResponse
com.azure.core.http.rest.Response<GroupIdInformationInner> getPrivateLinkResourcesWithResponse(String resourceGroupName, String resourceName, String groupId, com.azure.core.util.Context context) Get the specified private link resource for the given provisioning service.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.groupId
- The name of the private link resource.context
- The context to associate with this operation.- Returns:
- the specified private link resource for the given provisioning service along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listPrivateEndpointConnections
List<PrivateEndpointConnectionInner> listPrivateEndpointConnections(String resourceGroupName, String resourceName) List private endpoint connection properties.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.- Returns:
- the list of private endpoint connections for a provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listPrivateEndpointConnectionsWithResponse
com.azure.core.http.rest.Response<List<PrivateEndpointConnectionInner>> listPrivateEndpointConnectionsWithResponse(String resourceGroupName, String resourceName, com.azure.core.util.Context context) List private endpoint connection properties.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.context
- The context to associate with this operation.- Returns:
- the list of private endpoint connections for a provisioning service along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getPrivateEndpointConnection
PrivateEndpointConnectionInner getPrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Get private endpoint connection properties.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- private endpoint connection properties.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getPrivateEndpointConnectionWithResponse
com.azure.core.http.rest.Response<PrivateEndpointConnectionInner> getPrivateEndpointConnectionWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Get private endpoint connection properties.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- private endpoint connection properties along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdatePrivateEndpointConnection
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreateOrUpdatePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) Create or update the status of a private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.privateEndpointConnection
- The private endpoint connection with updated properties.- Returns:
- the
SyncPoller
for polling of the private endpoint connection of a provisioning service. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreateOrUpdatePrivateEndpointConnection
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginCreateOrUpdatePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context) Create or update the status of a private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.privateEndpointConnection
- The private endpoint connection with updated properties.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the private endpoint connection of a provisioning service. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdatePrivateEndpointConnection
PrivateEndpointConnectionInner createOrUpdatePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection) Create or update the status of a private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.privateEndpointConnection
- The private endpoint connection with updated properties.- Returns:
- the private endpoint connection of a provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdatePrivateEndpointConnection
PrivateEndpointConnectionInner createOrUpdatePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName, PrivateEndpointConnectionInner privateEndpointConnection, com.azure.core.util.Context context) Create or update the status of a private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.privateEndpointConnection
- The private endpoint connection with updated properties.context
- The context to associate with this operation.- Returns:
- the private endpoint connection of a provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeletePrivateEndpointConnection
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginDeletePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Delete private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- the
SyncPoller
for polling of the private endpoint connection of a provisioning service. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeletePrivateEndpointConnection
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<PrivateEndpointConnectionInner>,PrivateEndpointConnectionInner> beginDeletePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the private endpoint connection of a provisioning service. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deletePrivateEndpointConnection
PrivateEndpointConnectionInner deletePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName) Delete private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.- Returns:
- the private endpoint connection of a provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deletePrivateEndpointConnection
PrivateEndpointConnectionInner deletePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName, com.azure.core.util.Context context) Delete private endpoint connection with the specified name.- Parameters:
resourceGroupName
- The name of the resource group that contains the provisioning service.resourceName
- The name of the provisioning service.privateEndpointConnectionName
- The name of the private endpoint connection.context
- The context to associate with this operation.- Returns:
- the private endpoint connection of a provisioning service.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.ErrorDetailsException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-