Partager via


IotDpsResources Interface

public interface IotDpsResources

Resource collection API of IotDpsResources.

Method Summary

Modifier and Type Method and Description
abstract NameAvailabilityInfo checkProvisioningServiceNameAvailability(OperationInputs arguments)

Check if a provisioning service name is available.

abstract Response<NameAvailabilityInfo> checkProvisioningServiceNameAvailabilityWithResponse(OperationInputs arguments, Context context)

Check if a provisioning service name is available.

abstract Blank define(String name)

Begins definition for a new ProvisioningServiceDescription resource.

abstract Blank definePrivateEndpointConnection(String name)

Begins definition for a new PrivateEndpointConnection resource.

abstract void delete(String resourceGroupName, String provisioningServiceName, Context context)

Deletes the Provisioning Service.

abstract void deleteById(String id)

Deletes the Provisioning Service.

abstract void deleteByIdWithResponse(String id, Context context)

Deletes the Provisioning Service.

abstract void deleteByResourceGroup(String resourceGroupName, String provisioningServiceName)

Deletes the Provisioning Service.

abstract PrivateEndpointConnection deletePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName)

Delete private endpoint connection with the specified name.

abstract PrivateEndpointConnection deletePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName, Context context)

Delete private endpoint connection with the specified name.

abstract PrivateEndpointConnection deletePrivateEndpointConnectionById(String id)

Delete private endpoint connection with the specified name.

abstract PrivateEndpointConnection deletePrivateEndpointConnectionByIdWithResponse(String id, Context context)

Delete private endpoint connection with the specified name.

abstract ProvisioningServiceDescription getById(String id)

Get the metadata of the provisioning service without SAS keys.

abstract Response<ProvisioningServiceDescription> getByIdWithResponse(String id, Context context)

Get the metadata of the provisioning service without SAS keys.

abstract ProvisioningServiceDescription getByResourceGroup(String resourceGroupName, String provisioningServiceName)

Get the metadata of the provisioning service without SAS keys.

abstract Response<ProvisioningServiceDescription> getByResourceGroupWithResponse(String resourceGroupName, String provisioningServiceName, Context context)

Get the metadata of the provisioning service without SAS keys.

abstract AsyncOperationResult 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.

abstract Response<AsyncOperationResult> getOperationResultWithResponse(String operationId, String resourceGroupName, String provisioningServiceName, String asyncinfo, Context context)

Gets the status of a long running operation, such as create, update or delete a provisioning service.

abstract PrivateEndpointConnection getPrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName)

Get private endpoint connection properties.

abstract PrivateEndpointConnection getPrivateEndpointConnectionById(String id)

Get private endpoint connection properties.

abstract Response<PrivateEndpointConnection> getPrivateEndpointConnectionByIdWithResponse(String id, Context context)

Get private endpoint connection properties.

abstract Response<PrivateEndpointConnection> getPrivateEndpointConnectionWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, Context context)

Get private endpoint connection properties.

abstract GroupIdInformation getPrivateLinkResources(String resourceGroupName, String resourceName, String groupId)

Get the specified private link resource for the given provisioning service.

abstract Response<GroupIdInformation> getPrivateLinkResourcesWithResponse(String resourceGroupName, String resourceName, String groupId, Context context)

Get the specified private link resource for the given provisioning service.

abstract PagedIterable<ProvisioningServiceDescription> list()

List all the provisioning services for a given subscription id.

abstract PagedIterable<ProvisioningServiceDescription> list(Context context)

List all the provisioning services for a given subscription id.

abstract PagedIterable<ProvisioningServiceDescription> listByResourceGroup(String resourceGroupName)

Get a list of all provisioning services in the given resource group.

abstract PagedIterable<ProvisioningServiceDescription> listByResourceGroup(String resourceGroupName, Context context)

Get a list of all provisioning services in the given resource group.

abstract PagedIterable<SharedAccessSignatureAuthorizationRule> listKeys(String provisioningServiceName, String resourceGroupName)

List the primary and secondary keys for a provisioning service.

abstract PagedIterable<SharedAccessSignatureAuthorizationRule> listKeys(String provisioningServiceName, String resourceGroupName, Context context)

List the primary and secondary keys for a provisioning service.

abstract SharedAccessSignatureAuthorizationRule listKeysForKeyName(String provisioningServiceName, String keyName, String resourceGroupName)

List primary and secondary keys for a specific key name.

abstract Response<SharedAccessSignatureAuthorizationRule> listKeysForKeyNameWithResponse(String provisioningServiceName, String keyName, String resourceGroupName, Context context)

List primary and secondary keys for a specific key name.

abstract List<PrivateEndpointConnection> listPrivateEndpointConnections(String resourceGroupName, String resourceName)

List private endpoint connection properties.

abstract Response<List<PrivateEndpointConnection>> listPrivateEndpointConnectionsWithResponse(String resourceGroupName, String resourceName, Context context)

List private endpoint connection properties.

abstract PrivateLinkResources listPrivateLinkResources(String resourceGroupName, String resourceName)

List private link resources for the given provisioning service.

abstract Response<PrivateLinkResources> listPrivateLinkResourcesWithResponse(String resourceGroupName, String resourceName, Context context)

List private link resources for the given provisioning service.

abstract PagedIterable<IotDpsSkuDefinition> listValidSkus(String provisioningServiceName, String resourceGroupName)

Gets the list of valid SKUs and tiers for a provisioning service.

abstract PagedIterable<IotDpsSkuDefinition> listValidSkus(String provisioningServiceName, String resourceGroupName, Context context)

Gets the list of valid SKUs and tiers for a provisioning service.

Method Details

checkProvisioningServiceNameAvailability

public abstract NameAvailabilityInfo checkProvisioningServiceNameAvailability(OperationInputs arguments)

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.

checkProvisioningServiceNameAvailabilityWithResponse

public abstract Response checkProvisioningServiceNameAvailabilityWithResponse(OperationInputs arguments, 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.

define

public abstract ProvisioningServiceDescription.DefinitionStages.Blank define(String name)

Begins definition for a new ProvisioningServiceDescription resource.

Parameters:

name - resource name.

Returns:

the first stage of the new ProvisioningServiceDescription definition.

definePrivateEndpointConnection

public abstract PrivateEndpointConnection.DefinitionStages.Blank definePrivateEndpointConnection(String name)

Begins definition for a new PrivateEndpointConnection resource.

Parameters:

name - resource name.

Returns:

the first stage of the new PrivateEndpointConnection definition.

delete

public abstract void delete(String resourceGroupName, String provisioningServiceName, 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.

deleteById

public abstract void deleteById(String id)

Deletes the Provisioning Service.

Parameters:

id - the resource ID.

deleteByIdWithResponse

public abstract void deleteByIdWithResponse(String id, Context context)

Deletes the Provisioning Service.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

deleteByResourceGroup

public abstract void deleteByResourceGroup(String resourceGroupName, String provisioningServiceName)

Deletes the Provisioning Service.

Parameters:

resourceGroupName - Resource group identifier.
provisioningServiceName - Name of provisioning service to delete.

deletePrivateEndpointConnection

public abstract PrivateEndpointConnection 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.

deletePrivateEndpointConnection

public abstract PrivateEndpointConnection deletePrivateEndpointConnection(String resourceGroupName, String resourceName, String privateEndpointConnectionName, 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.

deletePrivateEndpointConnectionById

public abstract PrivateEndpointConnection deletePrivateEndpointConnectionById(String id)

Delete private endpoint connection with the specified name.

Parameters:

id - the resource ID.

Returns:

the private endpoint connection of a provisioning service.

deletePrivateEndpointConnectionByIdWithResponse

public abstract PrivateEndpointConnection deletePrivateEndpointConnectionByIdWithResponse(String id, Context context)

Delete private endpoint connection with the specified name.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the private endpoint connection of a provisioning service.

getById

public abstract ProvisioningServiceDescription getById(String id)

Get the metadata of the provisioning service without SAS keys.

Parameters:

id - the resource ID.

Returns:

the metadata of the provisioning service without SAS keys.

getByIdWithResponse

public abstract Response getByIdWithResponse(String id, Context context)

Get the metadata of the provisioning service without SAS keys.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

the metadata of the provisioning service without SAS keys.

getByResourceGroup

public abstract ProvisioningServiceDescription 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.

getByResourceGroupWithResponse

public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String provisioningServiceName, 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.

getOperationResult

public abstract AsyncOperationResult 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.

getOperationResultWithResponse

public abstract Response getOperationResultWithResponse(String operationId, String resourceGroupName, String provisioningServiceName, String asyncinfo, 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.

getPrivateEndpointConnection

public abstract PrivateEndpointConnection 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.

getPrivateEndpointConnectionById

public abstract PrivateEndpointConnection getPrivateEndpointConnectionById(String id)

Get private endpoint connection properties.

Parameters:

id - the resource ID.

Returns:

private endpoint connection properties.

getPrivateEndpointConnectionByIdWithResponse

public abstract Response getPrivateEndpointConnectionByIdWithResponse(String id, Context context)

Get private endpoint connection properties.

Parameters:

id - the resource ID.
context - The context to associate with this operation.

Returns:

private endpoint connection properties.

getPrivateEndpointConnectionWithResponse

public abstract Response getPrivateEndpointConnectionWithResponse(String resourceGroupName, String resourceName, String privateEndpointConnectionName, 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.

getPrivateLinkResources

public abstract GroupIdInformation 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.

getPrivateLinkResourcesWithResponse

public abstract Response getPrivateLinkResourcesWithResponse(String resourceGroupName, String resourceName, String groupId, 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.

list

public abstract PagedIterable list()

List all the provisioning services for a given subscription id.

Returns:

list of provisioning service descriptions.

list

public abstract PagedIterable list(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.

listByResourceGroup

public abstract PagedIterable 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.

listByResourceGroup

public abstract PagedIterable listByResourceGroup(String resourceGroupName, 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.

listKeys

public abstract PagedIterable 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.

listKeys

public abstract PagedIterable listKeys(String provisioningServiceName, String resourceGroupName, 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.

listKeysForKeyName

public abstract SharedAccessSignatureAuthorizationRule 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.

listKeysForKeyNameWithResponse

public abstract Response listKeysForKeyNameWithResponse(String provisioningServiceName, String keyName, String resourceGroupName, 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.

listPrivateEndpointConnections

public abstract List 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.

listPrivateEndpointConnectionsWithResponse

public abstract Response> listPrivateEndpointConnectionsWithResponse(String resourceGroupName, String resourceName, 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.

listPrivateLinkResources

public abstract PrivateLinkResources listPrivateLinkResources(String resourceGroupName, String resourceName)

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.

listPrivateLinkResourcesWithResponse

public abstract Response listPrivateLinkResourcesWithResponse(String resourceGroupName, String resourceName, 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.

listValidSkus

public abstract PagedIterable 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.

listValidSkus

public abstract PagedIterable listValidSkus(String provisioningServiceName, String resourceGroupName, 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.

Applies to