Interfaces and Operations
TypeSpec.Rest.Resource
ExtensionResourceCollectionOperations
Extension resource operation templates for extension resource collections.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceCollectionOperations.create
Creates a new instance of the extension resource.
ExtensionResourceCollectionOperations.list
Lists all instances of the extension resource.
ExtensionResourceCreate
Extension resource create operation template.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceCreate.create
Creates a new instance of the extension resource.
ExtensionResourceCreateOrUpdate
Extension resource create or update operation template.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceCreateOrUpdate.createOrUpdate
Creates or update an instance of the extension resource.
ExtensionResourceDelete
Extension resource delete operation template.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceDelete.delete
Deletes an existing instance of the extension resource.
ExtensionResourceInstanceOperations
Extension resource operation templates for extension resource instances.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceInstanceOperations.get
Gets an instance of the extension resource.
ExtensionResourceInstanceOperations.update
Updates an existing instance of the extension resource.
ExtensionResourceInstanceOperations.delete
Deletes an existing instance of the extension resource.
ExtensionResourceList
Extension resource list operation template.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceList.list
Lists all instances of the extension resource.
ExtensionResourceOperations
Extension resource operation templates for extension resource instances and collections.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceOperations.get
Gets an instance of the extension resource.
ExtensionResourceOperations.update
Updates an existing instance of the extension resource.
ExtensionResourceOperations.delete
Deletes an existing instance of the extension resource.
ExtensionResourceOperations.create
Creates a new instance of the extension resource.
ExtensionResourceOperations.list
Lists all instances of the extension resource.
ExtensionResourceRead
Extension resource read operation template.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceRead.get
Gets an instance of the extension resource.
ExtensionResourceUpdate
Extension resource update operation template.
Template Parameters
Name | Description |
---|---|
Extension | The extension resource model. |
Resource | The resource model. |
Error | The error response. |
ExtensionResourceUpdate.update
Updates an existing instance of the extension resource.
ResourceCollectionOperations
Resource operation templates for resource collections.
Template Parameters
Name | Description |
---|---|
Resource | The resource model. |
Error | The error response. |
ResourceCollectionOperations.create
Creates a new instance of the resource.
ResourceCollectionOperations.list
Lists all instances of the resource.
ResourceCreate
Resource create operation template.
Template Parameters
Name | Description |
---|---|
Resource | The resource model to create. |
Error | The error response. |
ResourceCreate.create
Creates a new instance of the resource.
ResourceCreateOrReplace
Resource create or replace operation template.
Template Parameters
Name | Description |
---|---|
Resource | The resource model to create or replace. |
Error | The error response. |
ResourceCreateOrReplace.createOrReplace
Creates or replaces a instance of the resource.
ResourceCreateOrUpdate
Resource create or update operation template.
Template Parameters
Name | Description |
---|---|
Resource | The resource model to create or update. |
Error | The error response. |
ResourceCreateOrUpdate.createOrUpdate
Creates or update an instance of the resource.
ResourceDelete
Resource delete operation template.
Template Parameters
Name | Description |
---|---|
Resource | The resource model to delete. |
Error | The error response. |
ResourceDelete.delete
Deletes an existing instance of the resource.
ResourceInstanceOperations
Resource operation templates for resource instances.
Template Parameters
Name | Description |
---|---|
Resource | The resource model. |
Error | The error response. |
ResourceInstanceOperations.get
Gets an instance of the resource.
ResourceInstanceOperations.update
Updates an existing instance of the resource.
ResourceInstanceOperations.delete
Deletes an existing instance of the resource.
ResourceList
Resource list operation template.
Template Parameters
Name | Description |
---|---|
Resource | The resource model to list. |
Error | The error response. |
ResourceList.list
Lists all instances of the resource.
ResourceOperations
Resource operation templates for resources.
Template Parameters
Name | Description |
---|---|
Resource | The resource model. |
Error | The error response. |
ResourceOperations.get
Gets an instance of the resource.
ResourceOperations.update
Updates an existing instance of the resource.
ResourceOperations.delete
Deletes an existing instance of the resource.
ResourceOperations.create
Creates a new instance of the resource.
ResourceOperations.list
Lists all instances of the resource.
ResourceRead
Represents the resource GET operation.
Template Parameters
Name | Description |
---|---|
Resource | The resource model. |
Error | The error response. |
ResourceRead.get
Gets an instance of the resource.
ResourceUpdate
Resource update operation template.
Template Parameters
Name | Description |
---|---|
Resource | The resource model to update. |
Error | The error response. |
ResourceUpdate.update
Updates an existing instance of the resource.
SingletonResourceOperations
Singleton resource operation templates for singleton resource instances.
Template Parameters
Name | Description |
---|---|
Singleton | The singleton resource model. |
Resource | The resource model. |
Error | The error response. |
SingletonResourceOperations.get
Gets the singleton resource.
SingletonResourceOperations.update
Updates the singleton resource.
SingletonResourceRead
Singleton resource read operation template.
Template Parameters
Name | Description |
---|---|
Singleton | The singleton resource model. |
Resource | The resource model. |
Error | The error response. |
SingletonResourceRead.get
Gets the singleton resource.
SingletonResourceUpdate
Singleton resource update operation template.
Template Parameters
Name | Description |
---|---|
Singleton | The singleton resource model. |
Resource | The resource model. |
Error | The error response. |
SingletonResourceUpdate.update
Updates the singleton resource.