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 PossibleValuesForAllocationState() []string + func PossibleValuesForAutoUserScope() []string + func PossibleValuesForCachingType() []string + func PossibleValuesForCertificateStoreLocation() []string + func PossibleValuesForCertificateVisibility() []string + func PossibleValuesForComputeNodeDeallocationOption() []string + func PossibleValuesForComputeNodeFillType() []string + func PossibleValuesForContainerType() []string + func PossibleValuesForContainerWorkingDirectory() []string + func PossibleValuesForDiffDiskPlacement() []string + func PossibleValuesForDiskEncryptionTarget() []string + func PossibleValuesForDynamicVNetAssignmentScope() []string + func PossibleValuesForElevationLevel() []string + func PossibleValuesForIPAddressProvisioningType() []string + func PossibleValuesForInboundEndpointProtocol() []string + func PossibleValuesForInterNodeCommunicationState() []string + func PossibleValuesForLoginMode() []string + func PossibleValuesForNetworkSecurityGroupRuleAccess() []string + func PossibleValuesForNodeCommunicationMode() []string + func PossibleValuesForNodePlacementPolicyType() []string + func PossibleValuesForPoolProvisioningState() []string + func PossibleValuesForSecurityTypes() []string + func PossibleValuesForStorageAccountType() []string + func PossibleValuesForUpgradeMode() []string + func ValidateBatchAccountID(input interface{}, key string) (warnings []string, errors []error) + func ValidatePoolID(input interface{}, key string) (warnings []string, errors []error) + type AllocationState string + const AllocationStateResizing + const AllocationStateSteady + const AllocationStateStopping + func (s *AllocationState) UnmarshalJSON(bytes []byte) error + type ApplicationPackageReference struct + Id string + Version *string + type AutoScaleRun struct + Error *AutoScaleRunError + EvaluationTime string + Results *string + func (o *AutoScaleRun) GetEvaluationTimeAsTime() (*time.Time, error) + func (o *AutoScaleRun) SetEvaluationTimeAsTime(input time.Time) + type AutoScaleRunError struct + Code string + Details *[]AutoScaleRunError + Message string + type AutoScaleSettings struct + EvaluationInterval *string + Formula string + type AutoUserScope string + const AutoUserScopePool + const AutoUserScopeTask + func (s *AutoUserScope) UnmarshalJSON(bytes []byte) error + type AutoUserSpecification struct + ElevationLevel *ElevationLevel + Scope *AutoUserScope + type AutomaticOSUpgradePolicy struct + DisableAutomaticRollback *bool + EnableAutomaticOSUpgrade *bool + OsRollingUpgradeDeferral *bool + UseRollingUpgradePolicy *bool + type AzureBlobFileSystemConfiguration struct + AccountKey *string + AccountName string + BlobfuseOptions *string + ContainerName string + IdentityReference *ComputeNodeIdentityReference + RelativeMountPath string + SasKey *string + type AzureFileShareConfiguration struct + AccountKey string + AccountName string + AzureFileURL string + MountOptions *string + RelativeMountPath string + type BatchAccountId struct + BatchAccountName string + ResourceGroupName string + SubscriptionId string + func NewBatchAccountID(subscriptionId string, resourceGroupName string, batchAccountName string) BatchAccountId + func ParseBatchAccountID(input string) (*BatchAccountId, error) + func ParseBatchAccountIDInsensitively(input string) (*BatchAccountId, error) + func (id *BatchAccountId) FromParseResult(input resourceids.ParseResult) error + func (id BatchAccountId) ID() string + func (id BatchAccountId) Segments() []resourceids.Segment + func (id BatchAccountId) String() string + type CIFSMountConfiguration struct + MountOptions *string + Password string + RelativeMountPath string + Source string + UserName string + type CachingType string + const CachingTypeNone + const CachingTypeReadOnly + const CachingTypeReadWrite + func (s *CachingType) UnmarshalJSON(bytes []byte) error + type CertificateReference struct + Id string + StoreLocation *CertificateStoreLocation + StoreName *string + Visibility *[]CertificateVisibility + type CertificateStoreLocation string + const CertificateStoreLocationCurrentUser + const CertificateStoreLocationLocalMachine + func (s *CertificateStoreLocation) UnmarshalJSON(bytes []byte) error + type CertificateVisibility string + const CertificateVisibilityRemoteUser + const CertificateVisibilityStartTask + const CertificateVisibilityTask + func (s *CertificateVisibility) UnmarshalJSON(bytes []byte) error + type CloudServiceConfiguration struct + OsFamily string + OsVersion *string + type ComputeNodeDeallocationOption string + const ComputeNodeDeallocationOptionRequeue + const ComputeNodeDeallocationOptionRetainedData + const ComputeNodeDeallocationOptionTaskCompletion + const ComputeNodeDeallocationOptionTerminate + func (s *ComputeNodeDeallocationOption) UnmarshalJSON(bytes []byte) error + type ComputeNodeFillType string + const ComputeNodeFillTypePack + const ComputeNodeFillTypeSpread + func (s *ComputeNodeFillType) UnmarshalJSON(bytes []byte) error + type ComputeNodeIdentityReference struct + ResourceId *string + type ContainerConfiguration struct + ContainerImageNames *[]string + ContainerRegistries *[]ContainerRegistry + Type ContainerType + type ContainerRegistry struct + IdentityReference *ComputeNodeIdentityReference + Password *string + RegistryServer *string + Username *string + type ContainerType string + const ContainerTypeCriCompatible + const ContainerTypeDockerCompatible + func (s *ContainerType) UnmarshalJSON(bytes []byte) error + type ContainerWorkingDirectory string + const ContainerWorkingDirectoryContainerImageDefault + const ContainerWorkingDirectoryTaskWorkingDirectory + func (s *ContainerWorkingDirectory) UnmarshalJSON(bytes []byte) error + type CreateOperationOptions struct + IfMatch *string + IfNoneMatch *string + func DefaultCreateOperationOptions() CreateOperationOptions + func (o CreateOperationOptions) ToHeaders() *client.Headers + func (o CreateOperationOptions) ToOData() *odata.Query + func (o CreateOperationOptions) ToQuery() *client.QueryParams + type CreateOperationResponse struct + HttpResponse *http.Response + Model *Pool + OData *odata.OData + type DataDisk struct + Caching *CachingType + DiskSizeGB int64 + Lun int64 + StorageAccountType *StorageAccountType + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type DeploymentConfiguration struct + CloudServiceConfiguration *CloudServiceConfiguration + VirtualMachineConfiguration *VirtualMachineConfiguration + type DiffDiskPlacement string + const DiffDiskPlacementCacheDisk + func (s *DiffDiskPlacement) UnmarshalJSON(bytes []byte) error + type DiffDiskSettings struct + Placement *DiffDiskPlacement + type DisableAutoScaleOperationResponse struct + HttpResponse *http.Response + Model *Pool + OData *odata.OData + type DiskEncryptionConfiguration struct + Targets *[]DiskEncryptionTarget + type DiskEncryptionTarget string + const DiskEncryptionTargetOsDisk + const DiskEncryptionTargetTemporaryDisk + func (s *DiskEncryptionTarget) UnmarshalJSON(bytes []byte) error + type DynamicVNetAssignmentScope string + const DynamicVNetAssignmentScopeJob + const DynamicVNetAssignmentScopeNone + func (s *DynamicVNetAssignmentScope) UnmarshalJSON(bytes []byte) error + type ElevationLevel string + const ElevationLevelAdmin + const ElevationLevelNonAdmin + func (s *ElevationLevel) UnmarshalJSON(bytes []byte) error + type EnvironmentSetting struct + Name string + Value *string + type FixedScaleSettings struct + NodeDeallocationOption *ComputeNodeDeallocationOption + ResizeTimeout *string + TargetDedicatedNodes *int64 + TargetLowPriorityNodes *int64 + type GetOperationResponse struct + HttpResponse *http.Response + Model *Pool + OData *odata.OData + type IPAddressProvisioningType string + const IPAddressProvisioningTypeBatchManaged + const IPAddressProvisioningTypeNoPublicIPAddresses + const IPAddressProvisioningTypeUserManaged + func (s *IPAddressProvisioningType) UnmarshalJSON(bytes []byte) error + type ImageReference struct + Id *string + Offer *string + Publisher *string + Sku *string + Version *string + type InboundEndpointProtocol string + const InboundEndpointProtocolTCP + const InboundEndpointProtocolUDP + func (s *InboundEndpointProtocol) UnmarshalJSON(bytes []byte) error + type InboundNatPool struct + BackendPort int64 + FrontendPortRangeEnd int64 + FrontendPortRangeStart int64 + Name string + NetworkSecurityGroupRules *[]NetworkSecurityGroupRule + Protocol InboundEndpointProtocol + type InterNodeCommunicationState string + const InterNodeCommunicationStateDisabled + const InterNodeCommunicationStateEnabled + func (s *InterNodeCommunicationState) UnmarshalJSON(bytes []byte) error + type LinuxUserConfiguration struct + Gid *int64 + SshPrivateKey *string + Uid *int64 + type ListByBatchAccountCompleteResult struct + Items []Pool + LatestHttpResponse *http.Response + type ListByBatchAccountCustomPager struct + NextLink *odata.Link + func (p *ListByBatchAccountCustomPager) NextPageLink() *odata.Link + type ListByBatchAccountOperationOptions struct + Filter *string + Maxresults *int64 + Select *string + func DefaultListByBatchAccountOperationOptions() ListByBatchAccountOperationOptions + func (o ListByBatchAccountOperationOptions) ToHeaders() *client.Headers + func (o ListByBatchAccountOperationOptions) ToOData() *odata.Query + func (o ListByBatchAccountOperationOptions) ToQuery() *client.QueryParams + type ListByBatchAccountOperationResponse struct + HttpResponse *http.Response + Model *[]Pool + OData *odata.OData + type LoginMode string + const LoginModeBatch + const LoginModeInteractive + func (s *LoginMode) UnmarshalJSON(bytes []byte) error + type ManagedDisk struct + StorageAccountType *StorageAccountType + type MetadataItem struct + Name string + Value string + type MountConfiguration struct + AzureBlobFileSystemConfiguration *AzureBlobFileSystemConfiguration + AzureFileShareConfiguration *AzureFileShareConfiguration + CifsMountConfiguration *CIFSMountConfiguration + NfsMountConfiguration *NFSMountConfiguration + type NFSMountConfiguration struct + MountOptions *string + RelativeMountPath string + Source string + type NetworkConfiguration struct + DynamicVnetAssignmentScope *DynamicVNetAssignmentScope + EnableAcceleratedNetworking *bool + EndpointConfiguration *PoolEndpointConfiguration + PublicIPAddressConfiguration *PublicIPAddressConfiguration + SubnetId *string + type NetworkSecurityGroupRule struct + Access NetworkSecurityGroupRuleAccess + Priority int64 + SourceAddressPrefix string + SourcePortRanges *[]string + type NetworkSecurityGroupRuleAccess string + const NetworkSecurityGroupRuleAccessAllow + const NetworkSecurityGroupRuleAccessDeny + func (s *NetworkSecurityGroupRuleAccess) UnmarshalJSON(bytes []byte) error + type NodeCommunicationMode string + const NodeCommunicationModeClassic + const NodeCommunicationModeDefault + const NodeCommunicationModeSimplified + func (s *NodeCommunicationMode) UnmarshalJSON(bytes []byte) error + type NodePlacementConfiguration struct + Policy *NodePlacementPolicyType + type NodePlacementPolicyType string + const NodePlacementPolicyTypeRegional + const NodePlacementPolicyTypeZonal + func (s *NodePlacementPolicyType) UnmarshalJSON(bytes []byte) error + type OSDisk struct + Caching *CachingType + DiskSizeGB *int64 + EphemeralOSDiskSettings *DiffDiskSettings + ManagedDisk *ManagedDisk + WriteAcceleratorEnabled *bool + type Pool struct + Etag *string + Id *string + Identity *identity.UserAssignedMap + Name *string + Properties *PoolProperties + Type *string + type PoolClient struct + Client *resourcemanager.Client + func NewPoolClientWithBaseURI(sdkApi sdkEnv.Api) (*PoolClient, error) + func (c PoolClient) Create(ctx context.Context, id PoolId, input Pool, options CreateOperationOptions) (result CreateOperationResponse, err error) + func (c PoolClient) Delete(ctx context.Context, id PoolId) (result DeleteOperationResponse, err error) + func (c PoolClient) DeleteThenPoll(ctx context.Context, id PoolId) error + func (c PoolClient) DisableAutoScale(ctx context.Context, id PoolId) (result DisableAutoScaleOperationResponse, err error) + func (c PoolClient) Get(ctx context.Context, id PoolId) (result GetOperationResponse, err error) + func (c PoolClient) ListByBatchAccount(ctx context.Context, id BatchAccountId, ...) (result ListByBatchAccountOperationResponse, err error) + func (c PoolClient) ListByBatchAccountComplete(ctx context.Context, id BatchAccountId, ...) (ListByBatchAccountCompleteResult, error) + func (c PoolClient) ListByBatchAccountCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, ...) (result ListByBatchAccountCompleteResult, err error) + func (c PoolClient) StopResize(ctx context.Context, id PoolId) (result StopResizeOperationResponse, err error) + func (c PoolClient) Update(ctx context.Context, id PoolId, input Pool, options UpdateOperationOptions) (result UpdateOperationResponse, err error) + type PoolEndpointConfiguration struct + InboundNatPools []InboundNatPool + type PoolId struct + BatchAccountName string + PoolName string + ResourceGroupName string + SubscriptionId string + func NewPoolID(subscriptionId string, resourceGroupName string, batchAccountName string, ...) PoolId + func ParsePoolID(input string) (*PoolId, error) + func ParsePoolIDInsensitively(input string) (*PoolId, error) + func (id *PoolId) FromParseResult(input resourceids.ParseResult) error + func (id PoolId) ID() string + func (id PoolId) Segments() []resourceids.Segment + func (id PoolId) String() string + type PoolOperationPredicate struct + Etag *string + Id *string + Name *string + Type *string + func (p PoolOperationPredicate) Matches(input Pool) bool + type PoolProperties struct + AllocationState *AllocationState + AllocationStateTransitionTime *string + ApplicationLicenses *[]string + ApplicationPackages *[]ApplicationPackageReference + AutoScaleRun *AutoScaleRun + Certificates *[]CertificateReference + CreationTime *string + CurrentDedicatedNodes *int64 + CurrentLowPriorityNodes *int64 + CurrentNodeCommunicationMode *NodeCommunicationMode + DeploymentConfiguration *DeploymentConfiguration + DisplayName *string + InterNodeCommunication *InterNodeCommunicationState + LastModified *string + Metadata *[]MetadataItem + MountConfiguration *[]MountConfiguration + NetworkConfiguration *NetworkConfiguration + ProvisioningState *PoolProvisioningState + ProvisioningStateTransitionTime *string + ResizeOperationStatus *ResizeOperationStatus + ResourceTags *map[string]string + ScaleSettings *ScaleSettings + StartTask *StartTask + TargetNodeCommunicationMode *NodeCommunicationMode + TaskSchedulingPolicy *TaskSchedulingPolicy + TaskSlotsPerNode *int64 + UpgradePolicy *UpgradePolicy + UserAccounts *[]UserAccount + VMSize *string + func (o *PoolProperties) GetAllocationStateTransitionTimeAsTime() (*time.Time, error) + func (o *PoolProperties) GetCreationTimeAsTime() (*time.Time, error) + func (o *PoolProperties) GetLastModifiedAsTime() (*time.Time, error) + func (o *PoolProperties) GetProvisioningStateTransitionTimeAsTime() (*time.Time, error) + func (o *PoolProperties) SetAllocationStateTransitionTimeAsTime(input time.Time) + func (o *PoolProperties) SetCreationTimeAsTime(input time.Time) + func (o *PoolProperties) SetLastModifiedAsTime(input time.Time) + func (o *PoolProperties) SetProvisioningStateTransitionTimeAsTime(input time.Time) + type PoolProvisioningState string + const PoolProvisioningStateDeleting + const PoolProvisioningStateSucceeded + func (s *PoolProvisioningState) UnmarshalJSON(bytes []byte) error + type PublicIPAddressConfiguration struct + IPAddressIds *[]string + Provision *IPAddressProvisioningType + type ResizeError struct + Code string + Details *[]ResizeError + Message string + type ResizeOperationStatus struct + Errors *[]ResizeError + NodeDeallocationOption *ComputeNodeDeallocationOption + ResizeTimeout *string + StartTime *string + TargetDedicatedNodes *int64 + TargetLowPriorityNodes *int64 + func (o *ResizeOperationStatus) GetStartTimeAsTime() (*time.Time, error) + func (o *ResizeOperationStatus) SetStartTimeAsTime(input time.Time) + type ResourceFile struct + AutoStorageContainerName *string + BlobPrefix *string + FileMode *string + FilePath *string + HTTPURL *string + IdentityReference *ComputeNodeIdentityReference + StorageContainerURL *string + type RollingUpgradePolicy struct + EnableCrossZoneUpgrade *bool + MaxBatchInstancePercent *int64 + MaxUnhealthyInstancePercent *int64 + MaxUnhealthyUpgradedInstancePercent *int64 + PauseTimeBetweenBatches *string + PrioritizeUnhealthyInstances *bool + RollbackFailedInstancesOnPolicyBreach *bool + type ScaleSettings struct + AutoScale *AutoScaleSettings + FixedScale *FixedScaleSettings + type SecurityProfile struct + EncryptionAtHost *bool + SecurityType *SecurityTypes + UefiSettings *UefiSettings + type SecurityTypes string + const SecurityTypesTrustedLaunch + func (s *SecurityTypes) UnmarshalJSON(bytes []byte) error + type ServiceArtifactReference struct + Id string + type StartTask struct + CommandLine *string + ContainerSettings *TaskContainerSettings + EnvironmentSettings *[]EnvironmentSetting + MaxTaskRetryCount *int64 + ResourceFiles *[]ResourceFile + UserIdentity *UserIdentity + WaitForSuccess *bool + type StopResizeOperationResponse struct + HttpResponse *http.Response + Model *Pool + OData *odata.OData + type StorageAccountType string + const StorageAccountTypePremiumLRS + const StorageAccountTypeStandardLRS + const StorageAccountTypeStandardSSDLRS + func (s *StorageAccountType) UnmarshalJSON(bytes []byte) error + type TaskContainerSettings struct + ContainerRunOptions *string + ImageName string + Registry *ContainerRegistry + WorkingDirectory *ContainerWorkingDirectory + type TaskSchedulingPolicy struct + NodeFillType ComputeNodeFillType + type UefiSettings struct + SecureBootEnabled *bool + VTpmEnabled *bool + type UpdateOperationOptions struct + IfMatch *string + func DefaultUpdateOperationOptions() UpdateOperationOptions + func (o UpdateOperationOptions) ToHeaders() *client.Headers + func (o UpdateOperationOptions) ToOData() *odata.Query + func (o UpdateOperationOptions) ToQuery() *client.QueryParams + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *Pool + OData *odata.OData + type UpgradeMode string + const UpgradeModeAutomatic + const UpgradeModeManual + const UpgradeModeRolling + func (s *UpgradeMode) UnmarshalJSON(bytes []byte) error + type UpgradePolicy struct + AutomaticOSUpgradePolicy *AutomaticOSUpgradePolicy + Mode UpgradeMode + RollingUpgradePolicy *RollingUpgradePolicy + type UserAccount struct + ElevationLevel *ElevationLevel + LinuxUserConfiguration *LinuxUserConfiguration + Name string + Password string + WindowsUserConfiguration *WindowsUserConfiguration + type UserIdentity struct + AutoUser *AutoUserSpecification + UserName *string + type VirtualMachineConfiguration struct + ContainerConfiguration *ContainerConfiguration + DataDisks *[]DataDisk + DiskEncryptionConfiguration *DiskEncryptionConfiguration + Extensions *[]VmExtension + ImageReference ImageReference + LicenseType *string + NodeAgentSkuId string + NodePlacementConfiguration *NodePlacementConfiguration + OsDisk *OSDisk + SecurityProfile *SecurityProfile + ServiceArtifactReference *ServiceArtifactReference + WindowsConfiguration *WindowsConfiguration + type VmExtension struct + AutoUpgradeMinorVersion *bool + EnableAutomaticUpgrade *bool + Name string + ProtectedSettings *interface{} + ProvisionAfterExtensions *[]string + Publisher string + Settings *interface{} + Type string + TypeHandlerVersion *string + type WindowsConfiguration struct + EnableAutomaticUpdates *bool + type WindowsUserConfiguration struct + LoginMode *LoginMode