A composite interface for resources that include CRUD and list operations.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
Properties
RP-specific property bag for the resource
ExtensionResourceOperations.get
ExtensionResourceOperations.createOrUpdate
ExtensionResourceOperations.update
ExtensionResourceOperations.delete
ExtensionResourceOperations.listByParent
Operations
This is the interface that implements the standard Azure Resource Manager operation that returns
all supported RP operations. You should have exactly one declaration for each
Azure Resource Manager service. It implements
GET “/providers/Microsoft.ContosoProviderHub/operations”
Operations.list
List the operations for the provider
ProxyResourceOperations
A composite interface for Proxy resources that include ResourceInstanceOperations<Resource, Properties>
and ResourceListByParent<Resource>. It includes: GET, PUT, PATCH, DELETE, ListByParent operations.
The actual route depends on the resource model but would have started with
/subscriptions/{id}/resourcegroups/{rg}/providers/Microsoft.XXX/...
This is the most common API pattern for Proxy Resources to use.
Template Parameters
Name
Description
Resource
the ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ProxyResourceOperations.get
ProxyResourceOperations.createOrUpdate
ProxyResourceOperations.delete
ProxyResourceOperations.listByParent
ResourceCollectionOperations
A composite interface for resource collections.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ResourceCollectionOperations.listByParent
ResourceCollectionOperations.listBySubscription
ResourceCreateAsync
A composite interface for resources that include a long-running create or update operation.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ResourceCreateAsync.createOrUpdate
ResourceCreateSync
A composite interface for resources that include a synchronous create or update operation.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ResourceCreateSync.createOrUpdate
ResourceDeleteAsync
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ResourceDeleteAsync.delete
ResourceDeleteSync
A composite interface for resources that include a synchronous delete operation.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ResourceDeleteSync.delete
ResourceDeleteWithoutOkAsync
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ResourceDeleteWithoutOkAsync.delete
ResourceInstanceOperations
A composite interface for resources that have CRUD operations.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
Properties
RP-specific property bag for the resource
BaseParameters
The http parameters that are part of the request
PatchModel
The model used for PATCH operations
ResourceInstanceOperations.get
ResourceInstanceOperations.createOrUpdate
ResourceInstanceOperations.update
ResourceInstanceOperations.delete
ResourceListByParent
An interface for resources which can be listed by parent.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ParentName
The name of the parent resource
ParentFriendlyName
The friendly name of the parent resource
ResourceListByParent.listByParent
ResourceListBySubscription
An interface for resources with can be listed by subscription.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
ResourceListBySubscription.listBySubscription
ResourceOperations
Template Parameters
Name
Description
Resource
the ArmResource that provides these operations
Properties
RP-specific property bag for the resource
BaseParameters
The http parameters that are part of the request
ResourceOperations.get
ResourceOperations.createOrUpdate
ResourceOperations.update
ResourceOperations.delete
ResourceOperations.listByParent
ResourceOperations.listBySubscription
ResourceRead
A composite interface for resources that include a GET operation.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
BaseParameters
The http parameters that are part of the request
ResourceRead.get
ResourceUpdateAsync
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
Properties
RP-specific property bag for the resource
BaseParameters
The http parameters that are part of the request
ResourceUpdateAsync.update
ResourceUpdateSync
A composite interface for resources that include a synchronous update operation.
Template Parameters
Name
Description
Resource
The ArmResource that provides these operations
Properties
RP-specific property bag for the resource
BaseParameters
The http parameters that are part of the request
ResourceUpdateSync.update
TenantResourceOperations
A composite interface for Tenant resources that include ResourceInstanceOperations<Resource, Properties>
and ResourceListByParent<Resource>. It includes: GET, PUT, PATCH, DELETE, ListByParent operations.
The routes are always start at root level:
/providers/Microsoft.XXX/...
This is the most common API pattern for Tenant Resources to use.
Template Parameters
Name
Description
Resource
the ArmResource that provides these operations
Properties
RP-specific property bag for the resource
TenantResourceOperations.get
TenantResourceOperations.createOrUpdate
TenantResourceOperations.update
TenantResourceOperations.delete
TenantResourceOperations.listByParent
TrackedResourceOperations
A composite interface for resources that include ResourceInstanceOperations<Resource, Properties>
and ResourceCollectionOperations<Resource>. It includes: GET, PUT, PATCH, DELETE, ListByParent,
ListBySubscription operations. The actual route depends on the resource model.
This is the most common API pattern for Tracked Resources to use.
Template Parameters
Name
Description
Resource
the ArmResource that provides these operations
Properties
RP-specific property bag for the resource
BaseParameters
The http parameters that are part of the request
TrackedResourceOperations.get
TrackedResourceOperations.createOrUpdate
TrackedResourceOperations.update
TrackedResourceOperations.delete
TrackedResourceOperations.listByParent
TrackedResourceOperations.listBySubscription
ArmCustomPatchAsync
A long-running resource update using a custom PATCH payload (Asynchronous)
Template Parameters
Name
Description
Resource
the resource being patched
PatchModel
The input model for the PATCH request
BaseParameters
Optional. Allows overriding the operation parameters
LroHeaders
Optional. Allows overriding the lro headers returned in the Accepted response
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the patch operation
Error
Optional. The error response, if non-standard.
ArmCustomPatchSync
A resource update using a custom PATCH payload (synchronous)
Template Parameters
Name
Description
Resource
the resource being patched
PatchModel
The input model for the PATCH request
BaseParameters
Optional. Allows overriding the operation parameters
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the patch operation
Error
Optional. The error response, if non-standard.
ArmListBySubscription
A resource list operation, at the subscription scope
Template Parameters
Name
Description
Resource
the resource being patched
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the list operation
Error
Optional. The error response, if non-standard.
ArmProviderActionAsync
Template Parameters
Name
Description
Request
The request model for the action
Response
The response type for the action
Scope
The scope of the action (SubscriptionActionScope or TenantActionScope)
Parameters
Optional. Additional parameters after the path parameters (e.g. Location)
LroHeaders
Optional. Allows overriding the lro headers returned in the Accepted response
Error
Optional. The error response, if non-standard.
ArmProviderActionSync
Template Parameters
Name
Description
Request
The request model for the action
Response
The response type for the action
Scope
The scope of the action (SubscriptionActionScope or TenantActionScope)
Parameters
Optional. Additional parameters after the path parameters (e.g. Location)
Error
Optional. The error response, if non-standard.
ArmResourceActionAsync
Template Parameters
Name
Description
Resource
The resource being acted upon
Request
The request model for the action
Response
The response model for the action
BaseParameters
Optional. Allows overriding the parameters for the operation
LroHeaders
Optional. Allows overriding the headers returned in the Accepted response
Parameters
Optional. Additional parameters after the path parameters
Error
Optional. The error response, if non-standard.
ArmResourceActionAsyncBase
A long-running resource action.
Template Parameters
Name
Description
Resource
The resource being acted upon
Request
The request model for the action
Response
The response type for the action
BaseParameters
Optional. Allows overriding the parameters for the operation
Parameters
Optional. Additional parameters after the path parameters
Error
Optional. The error response, if non-standard.
ArmResourceActionNoContentAsync
Template Parameters
Name
Description
Resource
The resource being acted upon
Request
The request model for the action
BaseParameters
Optional. Allows overriding the parameters for the operation
LroHeaders
Optional. Allows overriding the headers returned in the Accepted response
Parameters
Optional. Additional parameters after the path parameters
Error
Optional. The error response, if non-standard.
ArmResourceActionNoContentSync
A synchronous resource action that returns no content.
Template Parameters
Name
Description
Resource
The resource being acted upon
Request
The request model for the action
BaseParameters
Optional. Allows overriding the parameters for the operation
Parameters
Optional. Additional parameters after the path parameters
Error
Optional. The error response, if non-standard.
ArmResourceActionNoResponseContentAsync
Template Parameters
Name
Description
Resource
The resource being acted upon
Request
The request model for the action
BaseParameters
Optional. Allows overriding the parameters for the operation
LroHeaders
Parameters
Optional. Additional parameters after the path parameters
Error
Optional. The error response, if non-standard.
ArmResourceActionSync
A synchronous resource action.
Template Parameters
Name
Description
Resource
The resource being acted upon
Request
The request model for the action
Response
The response model for the action
BaseParameters
Optional. Allows overriding the parameters for the operation
Parameters
Optional. Additional parameters after the path parameters
Error
Optional. The error response, if non-standard.
ArmResourceCheckExistence
Check a resource’s existence via HEAD operation
Template Parameters
Name
Description
Resource
the resource being checked
BaseParameters
Optional. Allows overriding the operation parameters
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the read operation
Error
Optional. The error response, if non-standard.
ArmResourceCreateOrReplaceAsync
Template Parameters
Name
Description
Resource
the resource being created or replaced
BaseParameters
Optional. Allows overriding the operation parameters
LroHeaders
Optional. Allows overriding the lro headers returned on resource create
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the createOrReplace operation
Error
Optional. The error response, if non-standard.
ArmResourceCreateOrReplaceSync
Synchronous PUT operation for Azure Resource Manager resources
Template Parameters
Name
Description
Resource
the resource being created or replaced
BaseParameters
Optional. Allows overriding the operation parameters
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the createOrUpdate operation
Error
Optional. The error response, if non-standard.
ArmResourceCreateOrUpdateAsync
A long-running resource CreateOrUpdate (PUT)
Template Parameters
Name
Description
Resource
the resource being created or updated
BaseParameters
Optional. Allows overriding the operation parameters
LroHeaders
Optional. Allows overriding the lro headers returned on resource create
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the createOrUpdate operation
Error
Optional. The error response, if non-standard.
ArmResourceCreateOrUpdateSync
DEPRECATED: Please use ArmResourceCreateOrReplaceSync instead
Template Parameters
Name
Description
Resource
the resource being created or updated
BaseParameters
Optional. Allows overriding the operation parameters
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the createOrUpdate operation
Error
Optional. The error response, if non-standard.
ArmResourceDeleteAsync
Template Parameters
Name
Description
Resource
The resource being deleted
BaseParameters
Optional. Allows overriding the parameters for the operation
LroHeaders
Optional. Allows overriding the headers in the Accepted response
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response(s) for the delete operation
Error
Optional. The error response, if non-standard.
ArmResourceDeleteAsyncBase
Template Parameters
Name
Description
Resource
The resource being deleted
Response
The response type for the operation
BaseParameters
Optional. Allows overriding the parameters for the operation
Parameters
Optional. Additional parameters after the path parameters
Error
Optional. The error response, if non-standard.
ArmResourceDeleteSync
Delete a resource synchronously
Template Parameters
Name
Description
Resource
The resource being deleted
BaseParameters
Optional. Allows overriding the parameters for the operation
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response(s) for the delete operation
Error
Optional. The error response, if non-standard.
ArmResourceDeleteWithoutOkAsync
Template Parameters
Name
Description
Resource
The resource being deleted
BaseParameters
Optional. Allows overriding the parameters for the operation
LroHeaders
Optional. Allows overriding the headers returned in the Accepted response
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response(s) for the delete operation
Error
Optional. The error response, if non-standard.
ArmResourceListAtScope
A resource list operation, with scope determined by BaseParameters
Template Parameters
Name
Description
Resource
the resource being patched
BaseParameters
Optional. Allows overriding the operation parameters
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the list operation
Error
Optional. The error response, if non-standard.
ArmResourceListByParent
A resource list operation, at the scope of the resource’s parent
Template Parameters
Name
Description
Resource
the resource being patched
BaseParameters
Optional. Allows overriding the operation parameters
ParentName
Optional. The name of the parent resource
ParentFriendlyName
Optional. The friendly name of the parent resource
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the list operation
Error
Optional. The error response, if non-standard.
ArmResourcePatchAsync
Template Parameters
Name
Description
Resource
the resource being patched
Properties
The model type of the resource properties
BaseParameters
Optional. Allows overriding the operation parameters
LroHeaders
Optional. Allows overriding the lro headers returned in the Accepted response
Parameters
Optional. Additional parameters after the path parameters
ArmResourcePatchSync
Template Parameters
Name
Description
Resource
the resource being patched
Properties
The model type of the resource properties
BaseParameters
Optional. Allows overriding the operation parameters
Parameters
Optional. Additional parameters after the path parameters
ArmResourceRead
A resource GET operation
Template Parameters
Name
Description
Resource
the resource being read
BaseParameters
Optional. Allows overriding the operation parameters
Parameters
Optional. Additional parameters after the path parameters
Response
Optional. The success response for the read operation
Error
Optional. The error response, if non-standard.
ArmTagsPatchAsync
Template Parameters
Name
Description
Resource
the resource being patched
Properties
BaseParameters
Optional. Allows overriding the operation parameters
LroHeaders
Optional. Allows overriding the lro headers that appear in the Accepted response
Parameters
Optional. Additional parameters after the path parameters
ArmTagsPatchSync
Template Parameters
Name
Description
Resource
the resource being patched
BaseParameters
Optional. Allows overriding the operation parameters
Parameters
Optional. Additional parameters after the path parameters
checkGlobalNameAvailability
Template Parameters
Name
Description
Request
the availability request, defaults to the standard request, containing name and resource type
Response
the availability response, default to the standard response
AdditionalParams
A model specifying additional non-path parameters to the availability request
checkLocalNameAvailability
Template Parameters
Name
Description
Request
the availability request, defaults to the standard request, containing name and resource type
Response
the availability response, default to the standard response
AdditionalParams
A model specifying additional non-path parameters to the availability request
Azure.ResourceManager.Foundations
ArmCreateOperation
Template Parameters
Name
Description
HttpParameters
BodyParameter
Response
ErrorResponse
ArmReadOperation
Template Parameters
Name
Description
Parameters
Response
ErrorResponse
ArmUpdateOperation
Template Parameters
Name
Description
HttpParameters
BodyParameter
Response
ErrorResponse
checkNameAvailability
Adds check name availability operation, normally used if
a resource name must be globally unique (for example, if the resource
exposes an endpoint that uses the resource name in the url)
Template Parameters
Name
Description
ScopeParameters
A parameter model with properties representing the scope of the resource
Request
The operation request body
Response
The operation response
AdditionalParams
A parameter model with properties representing non-path parameters