共用方式為


VMwareVmTemplateCollection Class

Definition

A class representing a collection of VMwareVmTemplateResource and their operations. Each VMwareVmTemplateResource in the collection will belong to the same instance of ResourceGroupResource. To get a VMwareVmTemplateCollection instance call the GetVMwareVmTemplates method from an instance of ResourceGroupResource.

public class VMwareVmTemplateCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareVmTemplateResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ConnectedVMwarevSphere.VMwareVmTemplateResource>
type VMwareVmTemplateCollection = class
    inherit ArmCollection
    interface seq<VMwareVmTemplateResource>
    interface IEnumerable
    interface IAsyncEnumerable<VMwareVmTemplateResource>
Public Class VMwareVmTemplateCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of VMwareVmTemplateResource), IEnumerable(Of VMwareVmTemplateResource)
Inheritance
VMwareVmTemplateCollection
Implements

Constructors

VMwareVmTemplateCollection()

Initializes a new instance of the VMwareVmTemplateCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, VMwareVmTemplateData, CancellationToken)

Create Or Update virtual machine template.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • Operation Id: VirtualMachineTemplates_Create
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
CreateOrUpdateAsync(WaitUntil, String, VMwareVmTemplateData, CancellationToken)

Create Or Update virtual machine template.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • Operation Id: VirtualMachineTemplates_Create
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • Operation Id: VirtualMachineTemplates_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • Operation Id: VirtualMachineTemplates_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
Get(String, CancellationToken)

Implements virtual machine template GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • Operation Id: VirtualMachineTemplates_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
GetAll(CancellationToken)

List of virtualMachineTemplates in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_ListByResourceGroup
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
GetAllAsync(CancellationToken)

List of virtualMachineTemplates in a resource group.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates
  • Operation Id: VirtualMachineTemplates_ListByResourceGroup
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
GetAsync(String, CancellationToken)

Implements virtual machine template GET method.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • Operation Id: VirtualMachineTemplates_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • Operation Id: VirtualMachineTemplates_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ConnectedVMwarevSphere/virtualMachineTemplates/{virtualMachineTemplateName}
  • Operation Id: VirtualMachineTemplates_Get
  • Default Api Version: 2023-12-01
  • Resource: VMwareVmTemplateResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<VMwareVmTemplateResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<VMwareVmTemplateResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to