Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForDiskMode() []string + func PossibleValuesForDiskType() []string + func PossibleValuesForFirmwareType() []string + func PossibleValuesForIPAddressAllocationMethod() []string + func PossibleValuesForNICType() []string + func PossibleValuesForOsType() []string + func PossibleValuesForPowerOnBootOption() []string + func ValidateVirtualMachineTemplateID(input interface{}, key string) (warnings []string, errors []error) + type CreateOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineTemplate + OData *odata.OData + Poller pollers.Poller + type DeleteOperationOptions struct + Force *bool + func DefaultDeleteOperationOptions() DeleteOperationOptions + func (o DeleteOperationOptions) ToHeaders() *client.Headers + func (o DeleteOperationOptions) ToOData() *odata.Query + func (o DeleteOperationOptions) ToQuery() *client.QueryParams + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DiskMode string + const DiskModeIndependentNonpersistent + const DiskModeIndependentPersistent + const DiskModePersistent + func (s *DiskMode) UnmarshalJSON(bytes []byte) error + type DiskType string + const DiskTypeFlat + const DiskTypePmem + const DiskTypeRawphysical + const DiskTypeRawvirtual + const DiskTypeSesparse + const DiskTypeSparse + const DiskTypeUnknown + func (s *DiskType) UnmarshalJSON(bytes []byte) error + type ExtendedLocation struct + Name *string + Type *string + type FirmwareType string + const FirmwareTypeBios + const FirmwareTypeEfi + func (s *FirmwareType) UnmarshalJSON(bytes []byte) error + type GetOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineTemplate + OData *odata.OData + type IPAddressAllocationMethod string + const IPAddressAllocationMethodDynamic + const IPAddressAllocationMethodLinklayer + const IPAddressAllocationMethodOther + const IPAddressAllocationMethodRandom + const IPAddressAllocationMethodStatic + const IPAddressAllocationMethodUnset + func (s *IPAddressAllocationMethod) UnmarshalJSON(bytes []byte) error + type ListByResourceGroupCompleteResult struct + Items []VirtualMachineTemplate + LatestHttpResponse *http.Response + type ListByResourceGroupCustomPager struct + NextLink *odata.Link + func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link + type ListByResourceGroupOperationResponse struct + HttpResponse *http.Response + Model *[]VirtualMachineTemplate + OData *odata.OData + type ListCompleteResult struct + Items []VirtualMachineTemplate + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]VirtualMachineTemplate + OData *odata.OData + type NICType string + const NICTypeEOneThousand + const NICTypeEOneThousande + const NICTypePcnetThreeTwo + const NICTypeVMxnet + const NICTypeVMxnetThree + const NICTypeVMxnetTwo + func (s *NICType) UnmarshalJSON(bytes []byte) error + type NetworkInterface struct + DeviceKey *int64 + IPAddresses *[]string + IPSettings *NicIPSettings + Label *string + MacAddress *string + Name *string + NetworkId *string + NetworkMoName *string + NetworkMoRefId *string + NicType *NICType + PowerOnBoot *PowerOnBootOption + type NicIPAddressSettings struct + AllocationMethod *string + IPAddress *string + SubnetMask *string + type NicIPSettings struct + AllocationMethod *IPAddressAllocationMethod + DnsServers *[]string + Gateway *[]string + IPAddress *string + IPAddressInfo *[]NicIPAddressSettings + PrimaryWinsServer *string + SecondaryWinsServer *string + SubnetMask *string + type OsType string + const OsTypeLinux + const OsTypeOther + const OsTypeWindows + func (s *OsType) UnmarshalJSON(bytes []byte) error + type PowerOnBootOption string + const PowerOnBootOptionDisabled + const PowerOnBootOptionEnabled + func (s *PowerOnBootOption) UnmarshalJSON(bytes []byte) error + type ResourcePatch struct + Tags *map[string]string + type ResourceStatus struct + LastUpdatedAt *string + Message *string + Reason *string + Severity *string + Status *string + Type *string + func (o *ResourceStatus) GetLastUpdatedAtAsTime() (*time.Time, error) + func (o *ResourceStatus) SetLastUpdatedAtAsTime(input time.Time) + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *VirtualMachineTemplate + OData *odata.OData + type VirtualDisk struct + ControllerKey *int64 + DeviceKey *int64 + DeviceName *string + DiskMode *DiskMode + DiskObjectId *string + DiskSizeGB *int64 + DiskType *DiskType + Label *string + Name *string + UnitNumber *int64 + type VirtualMachineTemplate struct + ExtendedLocation *ExtendedLocation + Id *string + Kind *string + Location string + Name *string + Properties VirtualMachineTemplateProperties + SystemData *systemdata.SystemData + Tags *map[string]string + Type *string + type VirtualMachineTemplateId struct + ResourceGroupName string + SubscriptionId string + VirtualMachineTemplateName string + func NewVirtualMachineTemplateID(subscriptionId string, resourceGroupName string, ...) VirtualMachineTemplateId + func ParseVirtualMachineTemplateID(input string) (*VirtualMachineTemplateId, error) + func ParseVirtualMachineTemplateIDInsensitively(input string) (*VirtualMachineTemplateId, error) + func (id *VirtualMachineTemplateId) FromParseResult(input resourceids.ParseResult) error + func (id VirtualMachineTemplateId) ID() string + func (id VirtualMachineTemplateId) Segments() []resourceids.Segment + func (id VirtualMachineTemplateId) String() string + type VirtualMachineTemplateOperationPredicate struct + Id *string + Kind *string + Location *string + Name *string + Type *string + func (p VirtualMachineTemplateOperationPredicate) Matches(input VirtualMachineTemplate) bool + type VirtualMachineTemplateProperties struct + CustomResourceName *string + Disks *[]VirtualDisk + FirmwareType *FirmwareType + FolderPath *string + InventoryItemId *string + MemorySizeMB *int64 + MoName *string + MoRefId *string + NetworkInterfaces *[]NetworkInterface + NumCPUs *int64 + NumCoresPerSocket *int64 + OsName *string + OsType *OsType + ProvisioningState *string + Statuses *[]ResourceStatus + ToolsVersion *string + ToolsVersionStatus *string + Uuid *string + VCenterId *string + type VirtualMachineTemplatesClient struct + Client *resourcemanager.Client + func NewVirtualMachineTemplatesClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualMachineTemplatesClient, error) + func (c VirtualMachineTemplatesClient) Create(ctx context.Context, id VirtualMachineTemplateId, input VirtualMachineTemplate) (result CreateOperationResponse, err error) + func (c VirtualMachineTemplatesClient) CreateThenPoll(ctx context.Context, id VirtualMachineTemplateId, input VirtualMachineTemplate) error + func (c VirtualMachineTemplatesClient) Delete(ctx context.Context, id VirtualMachineTemplateId, ...) (result DeleteOperationResponse, err error) + func (c VirtualMachineTemplatesClient) DeleteThenPoll(ctx context.Context, id VirtualMachineTemplateId, ...) error + func (c VirtualMachineTemplatesClient) Get(ctx context.Context, id VirtualMachineTemplateId) (result GetOperationResponse, err error) + func (c VirtualMachineTemplatesClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error) + func (c VirtualMachineTemplatesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error) + func (c VirtualMachineTemplatesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error) + func (c VirtualMachineTemplatesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error) + func (c VirtualMachineTemplatesClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error) + func (c VirtualMachineTemplatesClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error) + func (c VirtualMachineTemplatesClient) Update(ctx context.Context, id VirtualMachineTemplateId, input ResourcePatch) (result UpdateOperationResponse, err error)