fleets

package
v0.20241212.1154051 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2024 License: MPL-2.0 Imports: 18 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/azurefleet/2024-11-01/fleets Documentation

The fleets SDK allows for interaction with Azure Resource Manager azurefleet (API Version 2024-11-01).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/azurefleet/2024-11-01/fleets"

Client Initialization

client := fleets.NewFleetsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: FleetsClient.CreateOrUpdate

ctx := context.TODO()
id := fleets.NewFleetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "fleetName")

payload := fleets.Fleet{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: FleetsClient.Delete

ctx := context.TODO()
id := fleets.NewFleetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "fleetName")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: FleetsClient.Get

ctx := context.TODO()
id := fleets.NewFleetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "fleetName")

read, err := client.Get(ctx, id)
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: FleetsClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

// alternatively `client.ListByResourceGroup(ctx, id)` can be used to do batched pagination
items, err := client.ListByResourceGroupComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: FleetsClient.ListBySubscription

ctx := context.TODO()
id := commonids.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// alternatively `client.ListBySubscription(ctx, id)` can be used to do batched pagination
items, err := client.ListBySubscriptionComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: FleetsClient.ListVirtualMachineScaleSets

ctx := context.TODO()
id := fleets.NewFleetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "fleetName")

// alternatively `client.ListVirtualMachineScaleSets(ctx, id)` can be used to do batched pagination
items, err := client.ListVirtualMachineScaleSetsComplete(ctx, id)
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: FleetsClient.Update

ctx := context.TODO()
id := fleets.NewFleetID("12345678-1234-9876-4563-123456789012", "example-resource-group", "fleetName")

payload := fleets.FleetUpdate{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAcceleratorManufacturer

func PossibleValuesForAcceleratorManufacturer() []string

func PossibleValuesForAcceleratorType

func PossibleValuesForAcceleratorType() []string

func PossibleValuesForArchitectureType

func PossibleValuesForArchitectureType() []string

func PossibleValuesForCPUManufacturer

func PossibleValuesForCPUManufacturer() []string

func PossibleValuesForCachingTypes

func PossibleValuesForCachingTypes() []string

func PossibleValuesForComponentName

func PossibleValuesForComponentName() []string

func PossibleValuesForDeleteOptions

func PossibleValuesForDeleteOptions() []string

func PossibleValuesForDiffDiskOptions

func PossibleValuesForDiffDiskOptions() []string

func PossibleValuesForDiffDiskPlacement

func PossibleValuesForDiffDiskPlacement() []string

func PossibleValuesForDiskControllerTypes

func PossibleValuesForDiskControllerTypes() []string

func PossibleValuesForDiskCreateOptionTypes

func PossibleValuesForDiskCreateOptionTypes() []string

func PossibleValuesForDiskDeleteOptionTypes

func PossibleValuesForDiskDeleteOptionTypes() []string

func PossibleValuesForDomainNameLabelScopeTypes

func PossibleValuesForDomainNameLabelScopeTypes() []string

func PossibleValuesForEvictionPolicy

func PossibleValuesForEvictionPolicy() []string

func PossibleValuesForIPVersion

func PossibleValuesForIPVersion() []string

func PossibleValuesForLinuxPatchAssessmentMode

func PossibleValuesForLinuxPatchAssessmentMode() []string

func PossibleValuesForLinuxVMGuestPatchAutomaticByPlatformRebootSetting

func PossibleValuesForLinuxVMGuestPatchAutomaticByPlatformRebootSetting() []string

func PossibleValuesForLinuxVMGuestPatchMode

func PossibleValuesForLinuxVMGuestPatchMode() []string

func PossibleValuesForLocalStorageDiskType

func PossibleValuesForLocalStorageDiskType() []string

func PossibleValuesForManagedServiceIdentityType

func PossibleValuesForManagedServiceIdentityType() []string

func PossibleValuesForMode

func PossibleValuesForMode() []string

func PossibleValuesForNetworkApiVersion

func PossibleValuesForNetworkApiVersion() []string

func PossibleValuesForNetworkInterfaceAuxiliaryMode

func PossibleValuesForNetworkInterfaceAuxiliaryMode() []string

func PossibleValuesForNetworkInterfaceAuxiliarySku

func PossibleValuesForNetworkInterfaceAuxiliarySku() []string

func PossibleValuesForOperatingSystemTypes

func PossibleValuesForOperatingSystemTypes() []string

func PossibleValuesForPassName

func PossibleValuesForPassName() []string

func PossibleValuesForProtocolTypes

func PossibleValuesForProtocolTypes() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForPublicIPAddressSkuName

func PossibleValuesForPublicIPAddressSkuName() []string

func PossibleValuesForPublicIPAddressSkuTier

func PossibleValuesForPublicIPAddressSkuTier() []string

func PossibleValuesForRegularPriorityAllocationStrategy

func PossibleValuesForRegularPriorityAllocationStrategy() []string

func PossibleValuesForSecurityEncryptionTypes

func PossibleValuesForSecurityEncryptionTypes() []string

func PossibleValuesForSecurityTypes

func PossibleValuesForSecurityTypes() []string

func PossibleValuesForSettingNames

func PossibleValuesForSettingNames() []string

func PossibleValuesForSpotAllocationStrategy

func PossibleValuesForSpotAllocationStrategy() []string

func PossibleValuesForStorageAccountTypes

func PossibleValuesForStorageAccountTypes() []string

func PossibleValuesForVMAttributeSupport

func PossibleValuesForVMAttributeSupport() []string

func PossibleValuesForVMCategory

func PossibleValuesForVMCategory() []string

func PossibleValuesForWindowsPatchAssessmentMode

func PossibleValuesForWindowsPatchAssessmentMode() []string

func PossibleValuesForWindowsVMGuestPatchAutomaticByPlatformRebootSetting

func PossibleValuesForWindowsVMGuestPatchAutomaticByPlatformRebootSetting() []string

func PossibleValuesForWindowsVMGuestPatchMode

func PossibleValuesForWindowsVMGuestPatchMode() []string

func ValidateFleetID

func ValidateFleetID(input interface{}, key string) (warnings []string, errors []error)

ValidateFleetID checks that 'input' can be parsed as a Fleet ID

Types

type AcceleratorManufacturer

type AcceleratorManufacturer string
const (
	AcceleratorManufacturerAMD    AcceleratorManufacturer = "AMD"
	AcceleratorManufacturerNvidia AcceleratorManufacturer = "Nvidia"
	AcceleratorManufacturerXilinx AcceleratorManufacturer = "Xilinx"
)

func (*AcceleratorManufacturer) UnmarshalJSON

func (s *AcceleratorManufacturer) UnmarshalJSON(bytes []byte) error

type AcceleratorType

type AcceleratorType string
const (
	AcceleratorTypeFPGA AcceleratorType = "FPGA"
	AcceleratorTypeGPU  AcceleratorType = "GPU"
)

func (*AcceleratorType) UnmarshalJSON

func (s *AcceleratorType) UnmarshalJSON(bytes []byte) error

type AdditionalCapabilities

type AdditionalCapabilities struct {
	HibernationEnabled *bool `json:"hibernationEnabled,omitempty"`
	UltraSSDEnabled    *bool `json:"ultraSSDEnabled,omitempty"`
}

type AdditionalLocationsProfile

type AdditionalLocationsProfile struct {
	LocationProfiles []LocationProfile `json:"locationProfiles"`
}

type AdditionalUnattendContent

type AdditionalUnattendContent struct {
	ComponentName *ComponentName `json:"componentName,omitempty"`
	Content       *string        `json:"content,omitempty"`
	PassName      *PassName      `json:"passName,omitempty"`
	SettingName   *SettingNames  `json:"settingName,omitempty"`
}

type ApiEntityReference

type ApiEntityReference struct {
	Id *string `json:"id,omitempty"`
}

type ApiError

type ApiError struct {
	Code       *string         `json:"code,omitempty"`
	Details    *[]ApiErrorBase `json:"details,omitempty"`
	Innererror *InnerError     `json:"innererror,omitempty"`
	Message    *string         `json:"message,omitempty"`
	Target     *string         `json:"target,omitempty"`
}

type ApiErrorBase

type ApiErrorBase struct {
	Code    *string `json:"code,omitempty"`
	Message *string `json:"message,omitempty"`
	Target  *string `json:"target,omitempty"`
}

type ApplicationProfile

type ApplicationProfile struct {
	GalleryApplications *[]VMGalleryApplication `json:"galleryApplications,omitempty"`
}

type ArchitectureType

type ArchitectureType string
const (
	ArchitectureTypeARMSixFour ArchitectureType = "ARM64"
	ArchitectureTypeXSixFour   ArchitectureType = "X64"
)

func (*ArchitectureType) UnmarshalJSON

func (s *ArchitectureType) UnmarshalJSON(bytes []byte) error

type BaseVirtualMachineProfile

type BaseVirtualMachineProfile struct {
	ApplicationProfile       *ApplicationProfile                     `json:"applicationProfile,omitempty"`
	CapacityReservation      *CapacityReservationProfile             `json:"capacityReservation,omitempty"`
	DiagnosticsProfile       *DiagnosticsProfile                     `json:"diagnosticsProfile,omitempty"`
	ExtensionProfile         *VirtualMachineScaleSetExtensionProfile `json:"extensionProfile,omitempty"`
	HardwareProfile          *VirtualMachineScaleSetHardwareProfile  `json:"hardwareProfile,omitempty"`
	LicenseType              *string                                 `json:"licenseType,omitempty"`
	NetworkProfile           *VirtualMachineScaleSetNetworkProfile   `json:"networkProfile,omitempty"`
	OsProfile                *VirtualMachineScaleSetOSProfile        `json:"osProfile,omitempty"`
	ScheduledEventsProfile   *ScheduledEventsProfile                 `json:"scheduledEventsProfile,omitempty"`
	SecurityPostureReference *SecurityPostureReference               `json:"securityPostureReference,omitempty"`
	SecurityProfile          *SecurityProfile                        `json:"securityProfile,omitempty"`
	ServiceArtifactReference *ServiceArtifactReference               `json:"serviceArtifactReference,omitempty"`
	StorageProfile           *VirtualMachineScaleSetStorageProfile   `json:"storageProfile,omitempty"`
	TimeCreated              *string                                 `json:"timeCreated,omitempty"`
	UserData                 *string                                 `json:"userData,omitempty"`
}

func (*BaseVirtualMachineProfile) GetTimeCreatedAsTime

func (o *BaseVirtualMachineProfile) GetTimeCreatedAsTime() (*time.Time, error)

func (*BaseVirtualMachineProfile) SetTimeCreatedAsTime

func (o *BaseVirtualMachineProfile) SetTimeCreatedAsTime(input time.Time)

type BootDiagnostics

type BootDiagnostics struct {
	Enabled    *bool   `json:"enabled,omitempty"`
	StorageUri *string `json:"storageUri,omitempty"`
}

type CPUManufacturer

type CPUManufacturer string
const (
	CPUManufacturerAMD       CPUManufacturer = "AMD"
	CPUManufacturerAmpere    CPUManufacturer = "Ampere"
	CPUManufacturerIntel     CPUManufacturer = "Intel"
	CPUManufacturerMicrosoft CPUManufacturer = "Microsoft"
)

func (*CPUManufacturer) UnmarshalJSON

func (s *CPUManufacturer) UnmarshalJSON(bytes []byte) error

type CachingTypes

type CachingTypes string
const (
	CachingTypesNone      CachingTypes = "None"
	CachingTypesReadOnly  CachingTypes = "ReadOnly"
	CachingTypesReadWrite CachingTypes = "ReadWrite"
)

func (*CachingTypes) UnmarshalJSON

func (s *CachingTypes) UnmarshalJSON(bytes []byte) error

type CapacityReservationProfile

type CapacityReservationProfile struct {
	CapacityReservationGroup *SubResource `json:"capacityReservationGroup,omitempty"`
}

type ComponentName

type ComponentName string
const (
	ComponentNameMicrosoftNegativeWindowsNegativeShellNegativeSetup ComponentName = "Microsoft-Windows-Shell-Setup"
)

func (*ComponentName) UnmarshalJSON

func (s *ComponentName) UnmarshalJSON(bytes []byte) error

type ComputeProfile

type ComputeProfile struct {
	AdditionalVirtualMachineCapabilities *AdditionalCapabilities   `json:"additionalVirtualMachineCapabilities,omitempty"`
	BaseVirtualMachineProfile            BaseVirtualMachineProfile `json:"baseVirtualMachineProfile"`
	ComputeApiVersion                    *string                   `json:"computeApiVersion,omitempty"`
	PlatformFaultDomainCount             *int64                    `json:"platformFaultDomainCount,omitempty"`
}

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Fleet
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DeleteOptions

type DeleteOptions string
const (
	DeleteOptionsDelete DeleteOptions = "Delete"
	DeleteOptionsDetach DeleteOptions = "Detach"
)

func (*DeleteOptions) UnmarshalJSON

func (s *DeleteOptions) UnmarshalJSON(bytes []byte) error

type DiagnosticsProfile

type DiagnosticsProfile struct {
	BootDiagnostics *BootDiagnostics `json:"bootDiagnostics,omitempty"`
}

type DiffDiskOptions

type DiffDiskOptions string
const (
	DiffDiskOptionsLocal DiffDiskOptions = "Local"
)

func (*DiffDiskOptions) UnmarshalJSON

func (s *DiffDiskOptions) UnmarshalJSON(bytes []byte) error

type DiffDiskPlacement

type DiffDiskPlacement string
const (
	DiffDiskPlacementCacheDisk    DiffDiskPlacement = "CacheDisk"
	DiffDiskPlacementNVMeDisk     DiffDiskPlacement = "NvmeDisk"
	DiffDiskPlacementResourceDisk DiffDiskPlacement = "ResourceDisk"
)

func (*DiffDiskPlacement) UnmarshalJSON

func (s *DiffDiskPlacement) UnmarshalJSON(bytes []byte) error

type DiffDiskSettings

type DiffDiskSettings struct {
	Option    *DiffDiskOptions   `json:"option,omitempty"`
	Placement *DiffDiskPlacement `json:"placement,omitempty"`
}

type DiskControllerTypes

type DiskControllerTypes string
const (
	DiskControllerTypesNVMe DiskControllerTypes = "NVMe"
	DiskControllerTypesSCSI DiskControllerTypes = "SCSI"
)

func (*DiskControllerTypes) UnmarshalJSON

func (s *DiskControllerTypes) UnmarshalJSON(bytes []byte) error

type DiskCreateOptionTypes

type DiskCreateOptionTypes string
const (
	DiskCreateOptionTypesAttach    DiskCreateOptionTypes = "Attach"
	DiskCreateOptionTypesCopy      DiskCreateOptionTypes = "Copy"
	DiskCreateOptionTypesEmpty     DiskCreateOptionTypes = "Empty"
	DiskCreateOptionTypesFromImage DiskCreateOptionTypes = "FromImage"
	DiskCreateOptionTypesRestore   DiskCreateOptionTypes = "Restore"
)

func (*DiskCreateOptionTypes) UnmarshalJSON

func (s *DiskCreateOptionTypes) UnmarshalJSON(bytes []byte) error

type DiskDeleteOptionTypes

type DiskDeleteOptionTypes string
const (
	DiskDeleteOptionTypesDelete DiskDeleteOptionTypes = "Delete"
	DiskDeleteOptionTypesDetach DiskDeleteOptionTypes = "Detach"
)

func (*DiskDeleteOptionTypes) UnmarshalJSON

func (s *DiskDeleteOptionTypes) UnmarshalJSON(bytes []byte) error

type DiskEncryptionSetParameters

type DiskEncryptionSetParameters struct {
	Id *string `json:"id,omitempty"`
}

type DomainNameLabelScopeTypes

type DomainNameLabelScopeTypes string
const (
	DomainNameLabelScopeTypesNoReuse            DomainNameLabelScopeTypes = "NoReuse"
	DomainNameLabelScopeTypesResourceGroupReuse DomainNameLabelScopeTypes = "ResourceGroupReuse"
	DomainNameLabelScopeTypesSubscriptionReuse  DomainNameLabelScopeTypes = "SubscriptionReuse"
	DomainNameLabelScopeTypesTenantReuse        DomainNameLabelScopeTypes = "TenantReuse"
)

func (*DomainNameLabelScopeTypes) UnmarshalJSON

func (s *DomainNameLabelScopeTypes) UnmarshalJSON(bytes []byte) error

type EncryptionIdentity

type EncryptionIdentity struct {
	UserAssignedIdentityResourceId *string `json:"userAssignedIdentityResourceId,omitempty"`
}

type EvictionPolicy

type EvictionPolicy string
const (
	EvictionPolicyDeallocate EvictionPolicy = "Deallocate"
	EvictionPolicyDelete     EvictionPolicy = "Delete"
)

func (*EvictionPolicy) UnmarshalJSON

func (s *EvictionPolicy) UnmarshalJSON(bytes []byte) error

type Fleet

type Fleet struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   string                                   `json:"location"`
	Name       *string                                  `json:"name,omitempty"`
	Plan       *Plan                                    `json:"plan,omitempty"`
	Properties *FleetProperties                         `json:"properties,omitempty"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
	Zones      *zones.Schema                            `json:"zones,omitempty"`
}

type FleetId

type FleetId struct {
	SubscriptionId    string
	ResourceGroupName string
	FleetName         string
}

FleetId is a struct representing the Resource ID for a Fleet

func NewFleetID

func NewFleetID(subscriptionId string, resourceGroupName string, fleetName string) FleetId

NewFleetID returns a new FleetId struct

func ParseFleetID

func ParseFleetID(input string) (*FleetId, error)

ParseFleetID parses 'input' into a FleetId

func ParseFleetIDInsensitively

func ParseFleetIDInsensitively(input string) (*FleetId, error)

ParseFleetIDInsensitively parses 'input' case-insensitively into a FleetId note: this method should only be used for API response data and not user input

func (*FleetId) FromParseResult

func (id *FleetId) FromParseResult(input resourceids.ParseResult) error

func (FleetId) ID

func (id FleetId) ID() string

ID returns the formatted Fleet ID

func (FleetId) Segments

func (id FleetId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Fleet ID

func (FleetId) String

func (id FleetId) String() string

String returns a human-readable description of this Fleet ID

type FleetOperationPredicate

type FleetOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (FleetOperationPredicate) Matches

func (p FleetOperationPredicate) Matches(input Fleet) bool

type FleetProperties

type FleetProperties struct {
	AdditionalLocationsProfile *AdditionalLocationsProfile `json:"additionalLocationsProfile,omitempty"`
	ComputeProfile             ComputeProfile              `json:"computeProfile"`
	ProvisioningState          *ProvisioningState          `json:"provisioningState,omitempty"`
	RegularPriorityProfile     *RegularPriorityProfile     `json:"regularPriorityProfile,omitempty"`
	SpotPriorityProfile        *SpotPriorityProfile        `json:"spotPriorityProfile,omitempty"`
	TimeCreated                *string                     `json:"timeCreated,omitempty"`
	UniqueId                   *string                     `json:"uniqueId,omitempty"`
	VMAttributes               *VMAttributes               `json:"vmAttributes,omitempty"`
	VMSizesProfile             []VMSizeProfile             `json:"vmSizesProfile"`
}

func (*FleetProperties) GetTimeCreatedAsTime

func (o *FleetProperties) GetTimeCreatedAsTime() (*time.Time, error)

func (*FleetProperties) SetTimeCreatedAsTime

func (o *FleetProperties) SetTimeCreatedAsTime(input time.Time)

type FleetUpdate

type FleetUpdate struct {
	Identity   *ManagedServiceIdentityUpdate `json:"identity,omitempty"`
	Plan       *ResourcePlanUpdate           `json:"plan,omitempty"`
	Properties *FleetProperties              `json:"properties,omitempty"`
	Tags       *map[string]string            `json:"tags,omitempty"`
}

type FleetsClient

type FleetsClient struct {
	Client *resourcemanager.Client
}

func NewFleetsClientWithBaseURI

func NewFleetsClientWithBaseURI(sdkApi sdkEnv.Api) (*FleetsClient, error)

func (FleetsClient) CreateOrUpdate

func (c FleetsClient) CreateOrUpdate(ctx context.Context, id FleetId, input Fleet) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (FleetsClient) CreateOrUpdateThenPoll

func (c FleetsClient) CreateOrUpdateThenPoll(ctx context.Context, id FleetId, input Fleet) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (FleetsClient) Delete

func (c FleetsClient) Delete(ctx context.Context, id FleetId) (result DeleteOperationResponse, err error)

Delete ...

func (FleetsClient) DeleteThenPoll

func (c FleetsClient) DeleteThenPoll(ctx context.Context, id FleetId) error

DeleteThenPoll performs Delete then polls until it's completed

func (FleetsClient) Get

func (c FleetsClient) Get(ctx context.Context, id FleetId) (result GetOperationResponse, err error)

Get ...

func (FleetsClient) ListByResourceGroup

ListByResourceGroup ...

func (FleetsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (FleetsClient) ListByResourceGroupCompleteMatchingPredicate

func (c FleetsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate FleetOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (FleetsClient) ListBySubscription

ListBySubscription ...

func (FleetsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (FleetsClient) ListBySubscriptionCompleteMatchingPredicate

func (c FleetsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate FleetOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (FleetsClient) ListVirtualMachineScaleSets

func (c FleetsClient) ListVirtualMachineScaleSets(ctx context.Context, id FleetId) (result ListVirtualMachineScaleSetsOperationResponse, err error)

ListVirtualMachineScaleSets ...

func (FleetsClient) ListVirtualMachineScaleSetsComplete

func (c FleetsClient) ListVirtualMachineScaleSetsComplete(ctx context.Context, id FleetId) (ListVirtualMachineScaleSetsCompleteResult, error)

ListVirtualMachineScaleSetsComplete retrieves all the results into a single object

func (FleetsClient) ListVirtualMachineScaleSetsCompleteMatchingPredicate

func (c FleetsClient) ListVirtualMachineScaleSetsCompleteMatchingPredicate(ctx context.Context, id FleetId, predicate VirtualMachineScaleSetOperationPredicate) (result ListVirtualMachineScaleSetsCompleteResult, err error)

ListVirtualMachineScaleSetsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (FleetsClient) Update

func (c FleetsClient) Update(ctx context.Context, id FleetId, input FleetUpdate) (result UpdateOperationResponse, err error)

Update ...

func (FleetsClient) UpdateThenPoll

func (c FleetsClient) UpdateThenPoll(ctx context.Context, id FleetId, input FleetUpdate) error

UpdateThenPoll performs Update then polls until it's completed

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Fleet
}

type IPVersion

type IPVersion string
const (
	IPVersionIPvFour IPVersion = "IPv4"
	IPVersionIPvSix  IPVersion = "IPv6"
)

func (*IPVersion) UnmarshalJSON

func (s *IPVersion) UnmarshalJSON(bytes []byte) error

type ImageReference

type ImageReference struct {
	CommunityGalleryImageId *string `json:"communityGalleryImageId,omitempty"`
	ExactVersion            *string `json:"exactVersion,omitempty"`
	Id                      *string `json:"id,omitempty"`
	Offer                   *string `json:"offer,omitempty"`
	Publisher               *string `json:"publisher,omitempty"`
	SharedGalleryImageId    *string `json:"sharedGalleryImageId,omitempty"`
	Sku                     *string `json:"sku,omitempty"`
	Version                 *string `json:"version,omitempty"`
}

type InnerError

type InnerError struct {
	ErrorDetail   *string `json:"errorDetail,omitempty"`
	ExceptionType *string `json:"exceptionType,omitempty"`
}

type KeyVaultSecretReference

type KeyVaultSecretReference struct {
	SecretURL   string      `json:"secretUrl"`
	SourceVault SubResource `json:"sourceVault"`
}

type LinuxConfiguration

type LinuxConfiguration struct {
	DisablePasswordAuthentication *bool               `json:"disablePasswordAuthentication,omitempty"`
	EnableVMAgentPlatformUpdates  *bool               `json:"enableVMAgentPlatformUpdates,omitempty"`
	PatchSettings                 *LinuxPatchSettings `json:"patchSettings,omitempty"`
	ProvisionVMAgent              *bool               `json:"provisionVMAgent,omitempty"`
	Ssh                           *SshConfiguration   `json:"ssh,omitempty"`
}

type LinuxPatchAssessmentMode

type LinuxPatchAssessmentMode string
const (
	LinuxPatchAssessmentModeAutomaticByPlatform LinuxPatchAssessmentMode = "AutomaticByPlatform"
	LinuxPatchAssessmentModeImageDefault        LinuxPatchAssessmentMode = "ImageDefault"
)

func (*LinuxPatchAssessmentMode) UnmarshalJSON

func (s *LinuxPatchAssessmentMode) UnmarshalJSON(bytes []byte) error

type LinuxPatchSettings

type LinuxPatchSettings struct {
	AssessmentMode              *LinuxPatchAssessmentMode                     `json:"assessmentMode,omitempty"`
	AutomaticByPlatformSettings *LinuxVMGuestPatchAutomaticByPlatformSettings `json:"automaticByPlatformSettings,omitempty"`
	PatchMode                   *LinuxVMGuestPatchMode                        `json:"patchMode,omitempty"`
}

type LinuxVMGuestPatchAutomaticByPlatformRebootSetting

type LinuxVMGuestPatchAutomaticByPlatformRebootSetting string
const (
	LinuxVMGuestPatchAutomaticByPlatformRebootSettingAlways     LinuxVMGuestPatchAutomaticByPlatformRebootSetting = "Always"
	LinuxVMGuestPatchAutomaticByPlatformRebootSettingIfRequired LinuxVMGuestPatchAutomaticByPlatformRebootSetting = "IfRequired"
	LinuxVMGuestPatchAutomaticByPlatformRebootSettingNever      LinuxVMGuestPatchAutomaticByPlatformRebootSetting = "Never"
	LinuxVMGuestPatchAutomaticByPlatformRebootSettingUnknown    LinuxVMGuestPatchAutomaticByPlatformRebootSetting = "Unknown"
)

func (*LinuxVMGuestPatchAutomaticByPlatformRebootSetting) UnmarshalJSON

type LinuxVMGuestPatchAutomaticByPlatformSettings

type LinuxVMGuestPatchAutomaticByPlatformSettings struct {
	BypassPlatformSafetyChecksOnUserSchedule *bool                                              `json:"bypassPlatformSafetyChecksOnUserSchedule,omitempty"`
	RebootSetting                            *LinuxVMGuestPatchAutomaticByPlatformRebootSetting `json:"rebootSetting,omitempty"`
}

type LinuxVMGuestPatchMode

type LinuxVMGuestPatchMode string
const (
	LinuxVMGuestPatchModeAutomaticByPlatform LinuxVMGuestPatchMode = "AutomaticByPlatform"
	LinuxVMGuestPatchModeImageDefault        LinuxVMGuestPatchMode = "ImageDefault"
)

func (*LinuxVMGuestPatchMode) UnmarshalJSON

func (s *LinuxVMGuestPatchMode) UnmarshalJSON(bytes []byte) error

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Fleet
}

type ListByResourceGroupCustomPager

type ListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Fleet
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Fleet
}

type ListBySubscriptionCustomPager

type ListBySubscriptionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Fleet
}

type ListVirtualMachineScaleSetsCompleteResult

type ListVirtualMachineScaleSetsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []VirtualMachineScaleSet
}

type ListVirtualMachineScaleSetsCustomPager

type ListVirtualMachineScaleSetsCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}

type ListVirtualMachineScaleSetsOperationResponse

type ListVirtualMachineScaleSetsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VirtualMachineScaleSet
}

type LocalStorageDiskType

type LocalStorageDiskType string
const (
	LocalStorageDiskTypeHDD LocalStorageDiskType = "HDD"
	LocalStorageDiskTypeSSD LocalStorageDiskType = "SSD"
)

func (*LocalStorageDiskType) UnmarshalJSON

func (s *LocalStorageDiskType) UnmarshalJSON(bytes []byte) error

type LocationProfile

type LocationProfile struct {
	Location                      string                     `json:"location"`
	VirtualMachineProfileOverride *BaseVirtualMachineProfile `json:"virtualMachineProfileOverride,omitempty"`
}

type ManagedServiceIdentityType

type ManagedServiceIdentityType string
const (
	ManagedServiceIdentityTypeNone                       ManagedServiceIdentityType = "None"
	ManagedServiceIdentityTypeSystemAssigned             ManagedServiceIdentityType = "SystemAssigned"
	ManagedServiceIdentityTypeSystemAssignedUserAssigned ManagedServiceIdentityType = "SystemAssigned,UserAssigned"
	ManagedServiceIdentityTypeUserAssigned               ManagedServiceIdentityType = "UserAssigned"
)

func (*ManagedServiceIdentityType) UnmarshalJSON

func (s *ManagedServiceIdentityType) UnmarshalJSON(bytes []byte) error

type ManagedServiceIdentityUpdate

type ManagedServiceIdentityUpdate struct {
	Type                   *ManagedServiceIdentityType      `json:"type,omitempty"`
	UserAssignedIdentities *map[string]UserAssignedIdentity `json:"userAssignedIdentities,omitempty"`
}

type Mode

type Mode string
const (
	ModeAudit   Mode = "Audit"
	ModeEnforce Mode = "Enforce"
)

func (*Mode) UnmarshalJSON

func (s *Mode) UnmarshalJSON(bytes []byte) error

type NetworkApiVersion

type NetworkApiVersion string
const (
	NetworkApiVersionTwoZeroTwoZeroNegativeOneOneNegativeZeroOne NetworkApiVersion = "2020-11-01"
)

func (*NetworkApiVersion) UnmarshalJSON

func (s *NetworkApiVersion) UnmarshalJSON(bytes []byte) error

type NetworkInterfaceAuxiliaryMode

type NetworkInterfaceAuxiliaryMode string
const (
	NetworkInterfaceAuxiliaryModeAcceleratedConnections NetworkInterfaceAuxiliaryMode = "AcceleratedConnections"
	NetworkInterfaceAuxiliaryModeFloating               NetworkInterfaceAuxiliaryMode = "Floating"
	NetworkInterfaceAuxiliaryModeNone                   NetworkInterfaceAuxiliaryMode = "None"
)

func (*NetworkInterfaceAuxiliaryMode) UnmarshalJSON

func (s *NetworkInterfaceAuxiliaryMode) UnmarshalJSON(bytes []byte) error

type NetworkInterfaceAuxiliarySku

type NetworkInterfaceAuxiliarySku string
const (
	NetworkInterfaceAuxiliarySkuAEight NetworkInterfaceAuxiliarySku = "A8"
	NetworkInterfaceAuxiliarySkuAFour  NetworkInterfaceAuxiliarySku = "A4"
	NetworkInterfaceAuxiliarySkuAOne   NetworkInterfaceAuxiliarySku = "A1"
	NetworkInterfaceAuxiliarySkuATwo   NetworkInterfaceAuxiliarySku = "A2"
	NetworkInterfaceAuxiliarySkuNone   NetworkInterfaceAuxiliarySku = "None"
)

func (*NetworkInterfaceAuxiliarySku) UnmarshalJSON

func (s *NetworkInterfaceAuxiliarySku) UnmarshalJSON(bytes []byte) error

type OSImageNotificationProfile

type OSImageNotificationProfile struct {
	Enable           *bool   `json:"enable,omitempty"`
	NotBeforeTimeout *string `json:"notBeforeTimeout,omitempty"`
}

type OperatingSystemTypes

type OperatingSystemTypes string
const (
	OperatingSystemTypesLinux   OperatingSystemTypes = "Linux"
	OperatingSystemTypesWindows OperatingSystemTypes = "Windows"
)

func (*OperatingSystemTypes) UnmarshalJSON

func (s *OperatingSystemTypes) UnmarshalJSON(bytes []byte) error

type PassName

type PassName string
const (
	PassNameOobeSystem PassName = "OobeSystem"
)

func (*PassName) UnmarshalJSON

func (s *PassName) UnmarshalJSON(bytes []byte) error

type PatchSettings

type PatchSettings struct {
	AssessmentMode              *WindowsPatchAssessmentMode                     `json:"assessmentMode,omitempty"`
	AutomaticByPlatformSettings *WindowsVMGuestPatchAutomaticByPlatformSettings `json:"automaticByPlatformSettings,omitempty"`
	EnableHotpatching           *bool                                           `json:"enableHotpatching,omitempty"`
	PatchMode                   *WindowsVMGuestPatchMode                        `json:"patchMode,omitempty"`
}

type Plan

type Plan struct {
	Name          string  `json:"name"`
	Product       string  `json:"product"`
	PromotionCode *string `json:"promotionCode,omitempty"`
	Publisher     string  `json:"publisher"`
	Version       *string `json:"version,omitempty"`
}

type ProtocolTypes

type ProtocolTypes string
const (
	ProtocolTypesHTTP  ProtocolTypes = "Http"
	ProtocolTypesHTTPS ProtocolTypes = "Https"
)

func (*ProtocolTypes) UnmarshalJSON

func (s *ProtocolTypes) UnmarshalJSON(bytes []byte) error

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateCanceled  ProvisioningState = "Canceled"
	ProvisioningStateCreating  ProvisioningState = "Creating"
	ProvisioningStateDeleting  ProvisioningState = "Deleting"
	ProvisioningStateFailed    ProvisioningState = "Failed"
	ProvisioningStateMigrating ProvisioningState = "Migrating"
	ProvisioningStateSucceeded ProvisioningState = "Succeeded"
	ProvisioningStateUpdating  ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error

type ProxyAgentSettings

type ProxyAgentSettings struct {
	Enabled          *bool  `json:"enabled,omitempty"`
	KeyIncarnationId *int64 `json:"keyIncarnationId,omitempty"`
	Mode             *Mode  `json:"mode,omitempty"`
}

type PublicIPAddressSku

type PublicIPAddressSku struct {
	Name *PublicIPAddressSkuName `json:"name,omitempty"`
	Tier *PublicIPAddressSkuTier `json:"tier,omitempty"`
}

type PublicIPAddressSkuName

type PublicIPAddressSkuName string
const (
	PublicIPAddressSkuNameBasic    PublicIPAddressSkuName = "Basic"
	PublicIPAddressSkuNameStandard PublicIPAddressSkuName = "Standard"
)

func (*PublicIPAddressSkuName) UnmarshalJSON

func (s *PublicIPAddressSkuName) UnmarshalJSON(bytes []byte) error

type PublicIPAddressSkuTier

type PublicIPAddressSkuTier string
const (
	PublicIPAddressSkuTierGlobal   PublicIPAddressSkuTier = "Global"
	PublicIPAddressSkuTierRegional PublicIPAddressSkuTier = "Regional"
)

func (*PublicIPAddressSkuTier) UnmarshalJSON

func (s *PublicIPAddressSkuTier) UnmarshalJSON(bytes []byte) error

type RegularPriorityAllocationStrategy

type RegularPriorityAllocationStrategy string
const (
	RegularPriorityAllocationStrategyLowestPrice RegularPriorityAllocationStrategy = "LowestPrice"
	RegularPriorityAllocationStrategyPrioritized RegularPriorityAllocationStrategy = "Prioritized"
)

func (*RegularPriorityAllocationStrategy) UnmarshalJSON

func (s *RegularPriorityAllocationStrategy) UnmarshalJSON(bytes []byte) error

type RegularPriorityProfile

type RegularPriorityProfile struct {
	AllocationStrategy *RegularPriorityAllocationStrategy `json:"allocationStrategy,omitempty"`
	Capacity           *int64                             `json:"capacity,omitempty"`
	MinCapacity        *int64                             `json:"minCapacity,omitempty"`
}

type ResourcePlanUpdate

type ResourcePlanUpdate struct {
	Name          *string `json:"name,omitempty"`
	Product       *string `json:"product,omitempty"`
	PromotionCode *string `json:"promotionCode,omitempty"`
	Publisher     *string `json:"publisher,omitempty"`
	Version       *string `json:"version,omitempty"`
}

type ScheduledEventsProfile

type ScheduledEventsProfile struct {
	OsImageNotificationProfile   *OSImageNotificationProfile   `json:"osImageNotificationProfile,omitempty"`
	TerminateNotificationProfile *TerminateNotificationProfile `json:"terminateNotificationProfile,omitempty"`
}

type SecurityEncryptionTypes

type SecurityEncryptionTypes string
const (
	SecurityEncryptionTypesDiskWithVMGuestState SecurityEncryptionTypes = "DiskWithVMGuestState"
	SecurityEncryptionTypesNonPersistedTPM      SecurityEncryptionTypes = "NonPersistedTPM"
	SecurityEncryptionTypesVMGuestStateOnly     SecurityEncryptionTypes = "VMGuestStateOnly"
)

func (*SecurityEncryptionTypes) UnmarshalJSON

func (s *SecurityEncryptionTypes) UnmarshalJSON(bytes []byte) error

type SecurityPostureReference

type SecurityPostureReference struct {
	ExcludeExtensions *[]string `json:"excludeExtensions,omitempty"`
	Id                *string   `json:"id,omitempty"`
	IsOverridable     *bool     `json:"isOverridable,omitempty"`
}

type SecurityProfile

type SecurityProfile struct {
	EncryptionAtHost   *bool               `json:"encryptionAtHost,omitempty"`
	EncryptionIdentity *EncryptionIdentity `json:"encryptionIdentity,omitempty"`
	ProxyAgentSettings *ProxyAgentSettings `json:"proxyAgentSettings,omitempty"`
	SecurityType       *SecurityTypes      `json:"securityType,omitempty"`
	UefiSettings       *UefiSettings       `json:"uefiSettings,omitempty"`
}

type SecurityTypes

type SecurityTypes string
const (
	SecurityTypesConfidentialVM SecurityTypes = "ConfidentialVM"
	SecurityTypesTrustedLaunch  SecurityTypes = "TrustedLaunch"
)

func (*SecurityTypes) UnmarshalJSON

func (s *SecurityTypes) UnmarshalJSON(bytes []byte) error

type ServiceArtifactReference

type ServiceArtifactReference struct {
	Id *string `json:"id,omitempty"`
}

type SettingNames

type SettingNames string
const (
	SettingNamesAutoLogon          SettingNames = "AutoLogon"
	SettingNamesFirstLogonCommands SettingNames = "FirstLogonCommands"
)

func (*SettingNames) UnmarshalJSON

func (s *SettingNames) UnmarshalJSON(bytes []byte) error

type SpotAllocationStrategy

type SpotAllocationStrategy string
const (
	SpotAllocationStrategyCapacityOptimized      SpotAllocationStrategy = "CapacityOptimized"
	SpotAllocationStrategyLowestPrice            SpotAllocationStrategy = "LowestPrice"
	SpotAllocationStrategyPriceCapacityOptimized SpotAllocationStrategy = "PriceCapacityOptimized"
)

func (*SpotAllocationStrategy) UnmarshalJSON

func (s *SpotAllocationStrategy) UnmarshalJSON(bytes []byte) error

type SpotPriorityProfile

type SpotPriorityProfile struct {
	AllocationStrategy *SpotAllocationStrategy `json:"allocationStrategy,omitempty"`
	Capacity           *int64                  `json:"capacity,omitempty"`
	EvictionPolicy     *EvictionPolicy         `json:"evictionPolicy,omitempty"`
	Maintain           *bool                   `json:"maintain,omitempty"`
	MaxPricePerVM      *float64                `json:"maxPricePerVM,omitempty"`
	MinCapacity        *int64                  `json:"minCapacity,omitempty"`
}

type SshConfiguration

type SshConfiguration struct {
	PublicKeys *[]SshPublicKey `json:"publicKeys,omitempty"`
}

type SshPublicKey

type SshPublicKey struct {
	KeyData *string `json:"keyData,omitempty"`
	Path    *string `json:"path,omitempty"`
}

type StorageAccountTypes

type StorageAccountTypes string
const (
	StorageAccountTypesPremiumLRS     StorageAccountTypes = "Premium_LRS"
	StorageAccountTypesPremiumVTwoLRS StorageAccountTypes = "PremiumV2_LRS"
	StorageAccountTypesPremiumZRS     StorageAccountTypes = "Premium_ZRS"
	StorageAccountTypesStandardLRS    StorageAccountTypes = "Standard_LRS"
	StorageAccountTypesStandardSSDLRS StorageAccountTypes = "StandardSSD_LRS"
	StorageAccountTypesStandardSSDZRS StorageAccountTypes = "StandardSSD_ZRS"
	StorageAccountTypesUltraSSDLRS    StorageAccountTypes = "UltraSSD_LRS"
)

func (*StorageAccountTypes) UnmarshalJSON

func (s *StorageAccountTypes) UnmarshalJSON(bytes []byte) error

type SubResource

type SubResource struct {
	Id *string `json:"id,omitempty"`
}

type TerminateNotificationProfile

type TerminateNotificationProfile struct {
	Enable           *bool   `json:"enable,omitempty"`
	NotBeforeTimeout *string `json:"notBeforeTimeout,omitempty"`
}

type UefiSettings

type UefiSettings struct {
	SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"`
	VTpmEnabled       *bool `json:"vTpmEnabled,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Fleet
}

type UserAssignedIdentity

type UserAssignedIdentity struct {
	ClientId    *string `json:"clientId,omitempty"`
	PrincipalId *string `json:"principalId,omitempty"`
}

type VMAttributeMinMaxDouble

type VMAttributeMinMaxDouble struct {
	Max *float64 `json:"max,omitempty"`
	Min *float64 `json:"min,omitempty"`
}

type VMAttributeMinMaxInteger

type VMAttributeMinMaxInteger struct {
	Max *int64 `json:"max,omitempty"`
	Min *int64 `json:"min,omitempty"`
}

type VMAttributeSupport

type VMAttributeSupport string
const (
	VMAttributeSupportExcluded VMAttributeSupport = "Excluded"
	VMAttributeSupportIncluded VMAttributeSupport = "Included"
	VMAttributeSupportRequired VMAttributeSupport = "Required"
)

func (*VMAttributeSupport) UnmarshalJSON

func (s *VMAttributeSupport) UnmarshalJSON(bytes []byte) error

type VMAttributes

type VMAttributes struct {
	AcceleratorCount          *VMAttributeMinMaxInteger  `json:"acceleratorCount,omitempty"`
	AcceleratorManufacturers  *[]AcceleratorManufacturer `json:"acceleratorManufacturers,omitempty"`
	AcceleratorSupport        *VMAttributeSupport        `json:"acceleratorSupport,omitempty"`
	AcceleratorTypes          *[]AcceleratorType         `json:"acceleratorTypes,omitempty"`
	ArchitectureTypes         *[]ArchitectureType        `json:"architectureTypes,omitempty"`
	BurstableSupport          *VMAttributeSupport        `json:"burstableSupport,omitempty"`
	CpuManufacturers          *[]CPUManufacturer         `json:"cpuManufacturers,omitempty"`
	DataDiskCount             *VMAttributeMinMaxInteger  `json:"dataDiskCount,omitempty"`
	ExcludedVMSizes           *[]string                  `json:"excludedVMSizes,omitempty"`
	LocalStorageDiskTypes     *[]LocalStorageDiskType    `json:"localStorageDiskTypes,omitempty"`
	LocalStorageInGiB         *VMAttributeMinMaxDouble   `json:"localStorageInGiB,omitempty"`
	LocalStorageSupport       *VMAttributeSupport        `json:"localStorageSupport,omitempty"`
	MemoryInGiB               VMAttributeMinMaxDouble    `json:"memoryInGiB"`
	MemoryInGiBPerVCPU        *VMAttributeMinMaxDouble   `json:"memoryInGiBPerVCpu,omitempty"`
	NetworkBandwidthInMbps    *VMAttributeMinMaxDouble   `json:"networkBandwidthInMbps,omitempty"`
	NetworkInterfaceCount     *VMAttributeMinMaxInteger  `json:"networkInterfaceCount,omitempty"`
	RdmaNetworkInterfaceCount *VMAttributeMinMaxInteger  `json:"rdmaNetworkInterfaceCount,omitempty"`
	RdmaSupport               *VMAttributeSupport        `json:"rdmaSupport,omitempty"`
	VCPUCount                 VMAttributeMinMaxInteger   `json:"vCpuCount"`
	VMCategories              *[]VMCategory              `json:"vmCategories,omitempty"`
}

type VMCategory

type VMCategory string
const (
	VMCategoryComputeOptimized       VMCategory = "ComputeOptimized"
	VMCategoryFpgaAccelerated        VMCategory = "FpgaAccelerated"
	VMCategoryGeneralPurpose         VMCategory = "GeneralPurpose"
	VMCategoryGpuAccelerated         VMCategory = "GpuAccelerated"
	VMCategoryHighPerformanceCompute VMCategory = "HighPerformanceCompute"
	VMCategoryMemoryOptimized        VMCategory = "MemoryOptimized"
	VMCategoryStorageOptimized       VMCategory = "StorageOptimized"
)

func (*VMCategory) UnmarshalJSON

func (s *VMCategory) UnmarshalJSON(bytes []byte) error

type VMDiskSecurityProfile

type VMDiskSecurityProfile struct {
	DiskEncryptionSet      *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
	SecurityEncryptionType *SecurityEncryptionTypes     `json:"securityEncryptionType,omitempty"`
}

type VMGalleryApplication

type VMGalleryApplication struct {
	ConfigurationReference          *string `json:"configurationReference,omitempty"`
	EnableAutomaticUpgrade          *bool   `json:"enableAutomaticUpgrade,omitempty"`
	Order                           *int64  `json:"order,omitempty"`
	PackageReferenceId              string  `json:"packageReferenceId"`
	Tags                            *string `json:"tags,omitempty"`
	TreatFailureAsDeploymentFailure *bool   `json:"treatFailureAsDeploymentFailure,omitempty"`
}

type VMSizeProfile

type VMSizeProfile struct {
	Name string `json:"name"`
	Rank *int64 `json:"rank,omitempty"`
}

type VMSizeProperties

type VMSizeProperties struct {
	VCPUsAvailable *int64 `json:"vCPUsAvailable,omitempty"`
	VCPUsPerCore   *int64 `json:"vCPUsPerCore,omitempty"`
}

type VaultCertificate

type VaultCertificate struct {
	CertificateStore *string `json:"certificateStore,omitempty"`
	CertificateURL   *string `json:"certificateUrl,omitempty"`
}

type VaultSecretGroup

type VaultSecretGroup struct {
	SourceVault       *SubResource        `json:"sourceVault,omitempty"`
	VaultCertificates *[]VaultCertificate `json:"vaultCertificates,omitempty"`
}

type VirtualHardDisk

type VirtualHardDisk struct {
	Uri *string `json:"uri,omitempty"`
}

type VirtualMachineScaleSet

type VirtualMachineScaleSet struct {
	Error           *ApiError         `json:"error,omitempty"`
	Id              string            `json:"id"`
	Name            string            `json:"name"`
	OperationStatus ProvisioningState `json:"operationStatus"`
	Type            *string           `json:"type,omitempty"`
}

type VirtualMachineScaleSetDataDisk

type VirtualMachineScaleSetDataDisk struct {
	Caching                 *CachingTypes                                `json:"caching,omitempty"`
	CreateOption            DiskCreateOptionTypes                        `json:"createOption"`
	DeleteOption            *DiskDeleteOptionTypes                       `json:"deleteOption,omitempty"`
	DiskIOPSReadWrite       *int64                                       `json:"diskIOPSReadWrite,omitempty"`
	DiskMBpsReadWrite       *int64                                       `json:"diskMBpsReadWrite,omitempty"`
	DiskSizeGB              *int64                                       `json:"diskSizeGB,omitempty"`
	Lun                     int64                                        `json:"lun"`
	ManagedDisk             *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
	Name                    *string                                      `json:"name,omitempty"`
	WriteAcceleratorEnabled *bool                                        `json:"writeAcceleratorEnabled,omitempty"`
}

type VirtualMachineScaleSetExtension

type VirtualMachineScaleSetExtension struct {
	Id         *string                                    `json:"id,omitempty"`
	Name       *string                                    `json:"name,omitempty"`
	Properties *VirtualMachineScaleSetExtensionProperties `json:"properties,omitempty"`
	Type       *string                                    `json:"type,omitempty"`
}

type VirtualMachineScaleSetExtensionProfile

type VirtualMachineScaleSetExtensionProfile struct {
	Extensions           *[]VirtualMachineScaleSetExtension `json:"extensions,omitempty"`
	ExtensionsTimeBudget *string                            `json:"extensionsTimeBudget,omitempty"`
}

type VirtualMachineScaleSetExtensionProperties

type VirtualMachineScaleSetExtensionProperties struct {
	AutoUpgradeMinorVersion       *bool                    `json:"autoUpgradeMinorVersion,omitempty"`
	EnableAutomaticUpgrade        *bool                    `json:"enableAutomaticUpgrade,omitempty"`
	ForceUpdateTag                *string                  `json:"forceUpdateTag,omitempty"`
	ProtectedSettings             *map[string]interface{}  `json:"protectedSettings,omitempty"`
	ProtectedSettingsFromKeyVault *KeyVaultSecretReference `json:"protectedSettingsFromKeyVault,omitempty"`
	ProvisionAfterExtensions      *[]string                `json:"provisionAfterExtensions,omitempty"`
	ProvisioningState             *string                  `json:"provisioningState,omitempty"`
	Publisher                     *string                  `json:"publisher,omitempty"`
	Settings                      *map[string]interface{}  `json:"settings,omitempty"`
	SuppressFailures              *bool                    `json:"suppressFailures,omitempty"`
	Type                          *string                  `json:"type,omitempty"`
	TypeHandlerVersion            *string                  `json:"typeHandlerVersion,omitempty"`
}

type VirtualMachineScaleSetHardwareProfile

type VirtualMachineScaleSetHardwareProfile struct {
	VMSizeProperties *VMSizeProperties `json:"vmSizeProperties,omitempty"`
}

type VirtualMachineScaleSetIPConfiguration

type VirtualMachineScaleSetIPConfiguration struct {
	Name       string                                           `json:"name"`
	Properties *VirtualMachineScaleSetIPConfigurationProperties `json:"properties,omitempty"`
}

type VirtualMachineScaleSetIPConfigurationProperties

type VirtualMachineScaleSetIPConfigurationProperties struct {
	ApplicationGatewayBackendAddressPools *[]SubResource                                      `json:"applicationGatewayBackendAddressPools,omitempty"`
	ApplicationSecurityGroups             *[]SubResource                                      `json:"applicationSecurityGroups,omitempty"`
	LoadBalancerBackendAddressPools       *[]SubResource                                      `json:"loadBalancerBackendAddressPools,omitempty"`
	LoadBalancerInboundNatPools           *[]SubResource                                      `json:"loadBalancerInboundNatPools,omitempty"`
	Primary                               *bool                                               `json:"primary,omitempty"`
	PrivateIPAddressVersion               *IPVersion                                          `json:"privateIPAddressVersion,omitempty"`
	PublicIPAddressConfiguration          *VirtualMachineScaleSetPublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"`
	Subnet                                *ApiEntityReference                                 `json:"subnet,omitempty"`
}

type VirtualMachineScaleSetIPTag

type VirtualMachineScaleSetIPTag struct {
	IPTagType *string `json:"ipTagType,omitempty"`
	Tag       *string `json:"tag,omitempty"`
}

type VirtualMachineScaleSetManagedDiskParameters

type VirtualMachineScaleSetManagedDiskParameters struct {
	DiskEncryptionSet  *DiskEncryptionSetParameters `json:"diskEncryptionSet,omitempty"`
	SecurityProfile    *VMDiskSecurityProfile       `json:"securityProfile,omitempty"`
	StorageAccountType *StorageAccountTypes         `json:"storageAccountType,omitempty"`
}

type VirtualMachineScaleSetNetworkConfiguration

type VirtualMachineScaleSetNetworkConfiguration struct {
	Name       string                                                `json:"name"`
	Properties *VirtualMachineScaleSetNetworkConfigurationProperties `json:"properties,omitempty"`
}

type VirtualMachineScaleSetNetworkConfigurationDnsSettings

type VirtualMachineScaleSetNetworkConfigurationDnsSettings struct {
	DnsServers *[]string `json:"dnsServers,omitempty"`
}

type VirtualMachineScaleSetNetworkConfigurationProperties

type VirtualMachineScaleSetNetworkConfigurationProperties struct {
	AuxiliaryMode               *NetworkInterfaceAuxiliaryMode                         `json:"auxiliaryMode,omitempty"`
	AuxiliarySku                *NetworkInterfaceAuxiliarySku                          `json:"auxiliarySku,omitempty"`
	DeleteOption                *DeleteOptions                                         `json:"deleteOption,omitempty"`
	DisableTcpStateTracking     *bool                                                  `json:"disableTcpStateTracking,omitempty"`
	DnsSettings                 *VirtualMachineScaleSetNetworkConfigurationDnsSettings `json:"dnsSettings,omitempty"`
	EnableAcceleratedNetworking *bool                                                  `json:"enableAcceleratedNetworking,omitempty"`
	EnableFpga                  *bool                                                  `json:"enableFpga,omitempty"`
	EnableIPForwarding          *bool                                                  `json:"enableIPForwarding,omitempty"`
	IPConfigurations            []VirtualMachineScaleSetIPConfiguration                `json:"ipConfigurations"`
	NetworkSecurityGroup        *SubResource                                           `json:"networkSecurityGroup,omitempty"`
	Primary                     *bool                                                  `json:"primary,omitempty"`
}

type VirtualMachineScaleSetNetworkProfile

type VirtualMachineScaleSetNetworkProfile struct {
	HealthProbe                    *ApiEntityReference                           `json:"healthProbe,omitempty"`
	NetworkApiVersion              *NetworkApiVersion                            `json:"networkApiVersion,omitempty"`
	NetworkInterfaceConfigurations *[]VirtualMachineScaleSetNetworkConfiguration `json:"networkInterfaceConfigurations,omitempty"`
}

type VirtualMachineScaleSetOSDisk

type VirtualMachineScaleSetOSDisk struct {
	Caching                 *CachingTypes                                `json:"caching,omitempty"`
	CreateOption            DiskCreateOptionTypes                        `json:"createOption"`
	DeleteOption            *DiskDeleteOptionTypes                       `json:"deleteOption,omitempty"`
	DiffDiskSettings        *DiffDiskSettings                            `json:"diffDiskSettings,omitempty"`
	DiskSizeGB              *int64                                       `json:"diskSizeGB,omitempty"`
	Image                   *VirtualHardDisk                             `json:"image,omitempty"`
	ManagedDisk             *VirtualMachineScaleSetManagedDiskParameters `json:"managedDisk,omitempty"`
	Name                    *string                                      `json:"name,omitempty"`
	OsType                  *OperatingSystemTypes                        `json:"osType,omitempty"`
	VhdContainers           *[]string                                    `json:"vhdContainers,omitempty"`
	WriteAcceleratorEnabled *bool                                        `json:"writeAcceleratorEnabled,omitempty"`
}

type VirtualMachineScaleSetOSProfile

type VirtualMachineScaleSetOSProfile struct {
	AdminPassword               *string               `json:"adminPassword,omitempty"`
	AdminUsername               *string               `json:"adminUsername,omitempty"`
	AllowExtensionOperations    *bool                 `json:"allowExtensionOperations,omitempty"`
	ComputerNamePrefix          *string               `json:"computerNamePrefix,omitempty"`
	CustomData                  *string               `json:"customData,omitempty"`
	LinuxConfiguration          *LinuxConfiguration   `json:"linuxConfiguration,omitempty"`
	RequireGuestProvisionSignal *bool                 `json:"requireGuestProvisionSignal,omitempty"`
	Secrets                     *[]VaultSecretGroup   `json:"secrets,omitempty"`
	WindowsConfiguration        *WindowsConfiguration `json:"windowsConfiguration,omitempty"`
}

type VirtualMachineScaleSetOperationPredicate

type VirtualMachineScaleSetOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (VirtualMachineScaleSetOperationPredicate) Matches

type VirtualMachineScaleSetPublicIPAddressConfiguration

type VirtualMachineScaleSetPublicIPAddressConfiguration struct {
	Name       string                                                        `json:"name"`
	Properties *VirtualMachineScaleSetPublicIPAddressConfigurationProperties `json:"properties,omitempty"`
	Sku        *PublicIPAddressSku                                           `json:"sku,omitempty"`
}

type VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings

type VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings struct {
	DomainNameLabel      string                     `json:"domainNameLabel"`
	DomainNameLabelScope *DomainNameLabelScopeTypes `json:"domainNameLabelScope,omitempty"`
}

type VirtualMachineScaleSetPublicIPAddressConfigurationProperties

type VirtualMachineScaleSetPublicIPAddressConfigurationProperties struct {
	DeleteOption           *DeleteOptions                                                 `json:"deleteOption,omitempty"`
	DnsSettings            *VirtualMachineScaleSetPublicIPAddressConfigurationDnsSettings `json:"dnsSettings,omitempty"`
	IPTags                 *[]VirtualMachineScaleSetIPTag                                 `json:"ipTags,omitempty"`
	IdleTimeoutInMinutes   *int64                                                         `json:"idleTimeoutInMinutes,omitempty"`
	PublicIPAddressVersion *IPVersion                                                     `json:"publicIPAddressVersion,omitempty"`
	PublicIPPrefix         *SubResource                                                   `json:"publicIPPrefix,omitempty"`
}

type VirtualMachineScaleSetStorageProfile

type VirtualMachineScaleSetStorageProfile struct {
	DataDisks          *[]VirtualMachineScaleSetDataDisk `json:"dataDisks,omitempty"`
	DiskControllerType *DiskControllerTypes              `json:"diskControllerType,omitempty"`
	ImageReference     *ImageReference                   `json:"imageReference,omitempty"`
	OsDisk             *VirtualMachineScaleSetOSDisk     `json:"osDisk,omitempty"`
}

type WinRMConfiguration

type WinRMConfiguration struct {
	Listeners *[]WinRMListener `json:"listeners,omitempty"`
}

type WinRMListener

type WinRMListener struct {
	CertificateURL *string        `json:"certificateUrl,omitempty"`
	Protocol       *ProtocolTypes `json:"protocol,omitempty"`
}

type WindowsConfiguration

type WindowsConfiguration struct {
	AdditionalUnattendContent    *[]AdditionalUnattendContent `json:"additionalUnattendContent,omitempty"`
	EnableAutomaticUpdates       *bool                        `json:"enableAutomaticUpdates,omitempty"`
	EnableVMAgentPlatformUpdates *bool                        `json:"enableVMAgentPlatformUpdates,omitempty"`
	PatchSettings                *PatchSettings               `json:"patchSettings,omitempty"`
	ProvisionVMAgent             *bool                        `json:"provisionVMAgent,omitempty"`
	TimeZone                     *string                      `json:"timeZone,omitempty"`
	WinRM                        *WinRMConfiguration          `json:"winRM,omitempty"`
}

type WindowsPatchAssessmentMode

type WindowsPatchAssessmentMode string
const (
	WindowsPatchAssessmentModeAutomaticByPlatform WindowsPatchAssessmentMode = "AutomaticByPlatform"
	WindowsPatchAssessmentModeImageDefault        WindowsPatchAssessmentMode = "ImageDefault"
)

func (*WindowsPatchAssessmentMode) UnmarshalJSON

func (s *WindowsPatchAssessmentMode) UnmarshalJSON(bytes []byte) error

type WindowsVMGuestPatchAutomaticByPlatformRebootSetting

type WindowsVMGuestPatchAutomaticByPlatformRebootSetting string
const (
	WindowsVMGuestPatchAutomaticByPlatformRebootSettingAlways     WindowsVMGuestPatchAutomaticByPlatformRebootSetting = "Always"
	WindowsVMGuestPatchAutomaticByPlatformRebootSettingIfRequired WindowsVMGuestPatchAutomaticByPlatformRebootSetting = "IfRequired"
	WindowsVMGuestPatchAutomaticByPlatformRebootSettingNever      WindowsVMGuestPatchAutomaticByPlatformRebootSetting = "Never"
	WindowsVMGuestPatchAutomaticByPlatformRebootSettingUnknown    WindowsVMGuestPatchAutomaticByPlatformRebootSetting = "Unknown"
)

func (*WindowsVMGuestPatchAutomaticByPlatformRebootSetting) UnmarshalJSON

type WindowsVMGuestPatchAutomaticByPlatformSettings

type WindowsVMGuestPatchAutomaticByPlatformSettings struct {
	BypassPlatformSafetyChecksOnUserSchedule *bool                                                `json:"bypassPlatformSafetyChecksOnUserSchedule,omitempty"`
	RebootSetting                            *WindowsVMGuestPatchAutomaticByPlatformRebootSetting `json:"rebootSetting,omitempty"`
}

type WindowsVMGuestPatchMode

type WindowsVMGuestPatchMode string
const (
	WindowsVMGuestPatchModeAutomaticByOS       WindowsVMGuestPatchMode = "AutomaticByOS"
	WindowsVMGuestPatchModeAutomaticByPlatform WindowsVMGuestPatchMode = "AutomaticByPlatform"
	WindowsVMGuestPatchModeManual              WindowsVMGuestPatchMode = "Manual"
)

func (*WindowsVMGuestPatchMode) UnmarshalJSON

func (s *WindowsVMGuestPatchMode) UnmarshalJSON(bytes []byte) error

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL