PreparedImageSpecificationsOperations interface

Interface representing a PreparedImageSpecifications operations.

Properties

createOrUpdate

Create or update a prepared image specification resource with a client-provided version. Created versions are immutable; provide a different properties.version value to create a new version.

delete

Delete a prepared image specification. This operation will be blocked if the resource is in use.

deleteVersion

Delete a prepared image specification version. This operation will be blocked if the prepared image specification version is in use.

get

Get a prepared image specification at the latest version.

getVersion

Get a prepared image specification at a particular version.

listByResourceGroup

List the prepared image specifications in a resource group at the latest version.

listBySubscription

List the prepared image specifications in a subscription at the latest version.

listVersions

List all versions of a prepared image specification.

update

Update the tags of a prepared image specification.

Property Details

createOrUpdate

Create or update a prepared image specification resource with a client-provided version. Created versions are immutable; provide a different properties.version value to create a new version.

createOrUpdate: (resourceGroupName: string, preparedImageSpecificationName: string, resource: PreparedImageSpecification, options?: PreparedImageSpecificationsCreateOrUpdateOptionalParams) => PollerLike<OperationState<PreparedImageSpecification>, PreparedImageSpecification>

Property Value

(resourceGroupName: string, preparedImageSpecificationName: string, resource: PreparedImageSpecification, options?: PreparedImageSpecificationsCreateOrUpdateOptionalParams) => PollerLike<OperationState<PreparedImageSpecification>, PreparedImageSpecification>

delete

Delete a prepared image specification. This operation will be blocked if the resource is in use.

delete: (resourceGroupName: string, preparedImageSpecificationName: string, options?: PreparedImageSpecificationsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, preparedImageSpecificationName: string, options?: PreparedImageSpecificationsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

deleteVersion

Delete a prepared image specification version. This operation will be blocked if the prepared image specification version is in use.

deleteVersion: (resourceGroupName: string, preparedImageSpecificationName: string, version: string, options?: PreparedImageSpecificationsDeleteVersionOptionalParams) => PollerLike<OperationState<void>, void>

Property Value

(resourceGroupName: string, preparedImageSpecificationName: string, version: string, options?: PreparedImageSpecificationsDeleteVersionOptionalParams) => PollerLike<OperationState<void>, void>

get

Get a prepared image specification at the latest version.

get: (resourceGroupName: string, preparedImageSpecificationName: string, options?: PreparedImageSpecificationsGetOptionalParams) => Promise<PreparedImageSpecification>

Property Value

(resourceGroupName: string, preparedImageSpecificationName: string, options?: PreparedImageSpecificationsGetOptionalParams) => Promise<PreparedImageSpecification>

getVersion

Get a prepared image specification at a particular version.

getVersion: (resourceGroupName: string, preparedImageSpecificationName: string, version: string, options?: PreparedImageSpecificationsGetVersionOptionalParams) => Promise<PreparedImageSpecificationVersion>

Property Value

(resourceGroupName: string, preparedImageSpecificationName: string, version: string, options?: PreparedImageSpecificationsGetVersionOptionalParams) => Promise<PreparedImageSpecificationVersion>

listByResourceGroup

List the prepared image specifications in a resource group at the latest version.

listByResourceGroup: (resourceGroupName: string, options?: PreparedImageSpecificationsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<PreparedImageSpecification, PreparedImageSpecification[], PageSettings>

Property Value

(resourceGroupName: string, options?: PreparedImageSpecificationsListByResourceGroupOptionalParams) => PagedAsyncIterableIterator<PreparedImageSpecification, PreparedImageSpecification[], PageSettings>

listBySubscription

List the prepared image specifications in a subscription at the latest version.

listBySubscription: (options?: PreparedImageSpecificationsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<PreparedImageSpecification, PreparedImageSpecification[], PageSettings>

Property Value

(options?: PreparedImageSpecificationsListBySubscriptionOptionalParams) => PagedAsyncIterableIterator<PreparedImageSpecification, PreparedImageSpecification[], PageSettings>

listVersions

List all versions of a prepared image specification.

listVersions: (resourceGroupName: string, preparedImageSpecificationName: string, options?: PreparedImageSpecificationsListVersionsOptionalParams) => PagedAsyncIterableIterator<PreparedImageSpecificationVersion, PreparedImageSpecificationVersion[], PageSettings>

Property Value

(resourceGroupName: string, preparedImageSpecificationName: string, options?: PreparedImageSpecificationsListVersionsOptionalParams) => PagedAsyncIterableIterator<PreparedImageSpecificationVersion, PreparedImageSpecificationVersion[], PageSettings>

update

Update the tags of a prepared image specification.

update: (resourceGroupName: string, preparedImageSpecificationName: string, properties: PreparedImageSpecificationPatch, options?: PreparedImageSpecificationsUpdateOptionalParams) => Promise<PreparedImageSpecification>

Property Value

(resourceGroupName: string, preparedImageSpecificationName: string, properties: PreparedImageSpecificationPatch, options?: PreparedImageSpecificationsUpdateOptionalParams) => Promise<PreparedImageSpecification>