Documentation ¶
Index ¶
- 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 PossibleValuesForNodePlacementPolicyType() []string
- func PossibleValuesForPoolProvisioningState() []string
- func PossibleValuesForStorageAccountType() []string
- func ValidateBatchAccountID(input interface{}, key string) (warnings []string, errors []error)
- func ValidatePoolID(input interface{}, key string) (warnings []string, errors []error)
- type AllocationState
- type ApplicationPackageReference
- type AutoScaleRun
- type AutoScaleRunError
- type AutoScaleSettings
- type AutoUserScope
- type AutoUserSpecification
- type AzureBlobFileSystemConfiguration
- type AzureFileShareConfiguration
- type BatchAccountId
- type CIFSMountConfiguration
- type CachingType
- type CertificateReference
- type CertificateStoreLocation
- type CertificateVisibility
- type CloudServiceConfiguration
- type ComputeNodeDeallocationOption
- type ComputeNodeFillType
- type ComputeNodeIdentityReference
- type ContainerConfiguration
- type ContainerRegistry
- type ContainerType
- type ContainerWorkingDirectory
- type CreateOperationOptions
- type CreateOperationResponse
- type DataDisk
- type DeleteOperationResponse
- type DeploymentConfiguration
- type DiffDiskPlacement
- type DiffDiskSettings
- type DisableAutoScaleOperationResponse
- type DiskEncryptionConfiguration
- type DiskEncryptionTarget
- type DynamicVNetAssignmentScope
- type ElevationLevel
- type EnvironmentSetting
- type FixedScaleSettings
- type GetOperationResponse
- type IPAddressProvisioningType
- type ImageReference
- type InboundEndpointProtocol
- type InboundNatPool
- type InterNodeCommunicationState
- type LinuxUserConfiguration
- type ListByBatchAccountCompleteResult
- type ListByBatchAccountOperationOptions
- type ListByBatchAccountOperationResponse
- type LoginMode
- type MetadataItem
- type MountConfiguration
- type NFSMountConfiguration
- type NetworkConfiguration
- type NetworkSecurityGroupRule
- type NetworkSecurityGroupRuleAccess
- type NodePlacementConfiguration
- type NodePlacementPolicyType
- type OSDisk
- type Pool
- type PoolClient
- 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, ...) (resp ListByBatchAccountOperationResponse, err error)
- func (c PoolClient) ListByBatchAccountComplete(ctx context.Context, id BatchAccountId, ...) (ListByBatchAccountCompleteResult, error)
- func (c PoolClient) ListByBatchAccountCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, ...) (resp 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
- type PoolId
- type PoolOperationPredicate
- type PoolProperties
- 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
- type PublicIPAddressConfiguration
- type ResizeError
- type ResizeOperationStatus
- type ResourceFile
- type ScaleSettings
- type StartTask
- type StopResizeOperationResponse
- type StorageAccountType
- type TaskContainerSettings
- type TaskSchedulingPolicy
- type UpdateOperationOptions
- type UpdateOperationResponse
- type UserAccount
- type UserIdentity
- type VirtualMachineConfiguration
- type VmExtension
- type WindowsConfiguration
- type WindowsUserConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAllocationState ¶
func PossibleValuesForAllocationState() []string
func PossibleValuesForAutoUserScope ¶
func PossibleValuesForAutoUserScope() []string
func PossibleValuesForCachingType ¶
func PossibleValuesForCachingType() []string
func PossibleValuesForCertificateStoreLocation ¶
func PossibleValuesForCertificateStoreLocation() []string
func PossibleValuesForCertificateVisibility ¶
func PossibleValuesForCertificateVisibility() []string
func PossibleValuesForComputeNodeDeallocationOption ¶
func PossibleValuesForComputeNodeDeallocationOption() []string
func PossibleValuesForComputeNodeFillType ¶
func PossibleValuesForComputeNodeFillType() []string
func PossibleValuesForContainerType ¶
func PossibleValuesForContainerType() []string
func PossibleValuesForContainerWorkingDirectory ¶
func PossibleValuesForContainerWorkingDirectory() []string
func PossibleValuesForDiffDiskPlacement ¶
func PossibleValuesForDiffDiskPlacement() []string
func PossibleValuesForDiskEncryptionTarget ¶
func PossibleValuesForDiskEncryptionTarget() []string
func PossibleValuesForDynamicVNetAssignmentScope ¶
func PossibleValuesForDynamicVNetAssignmentScope() []string
func PossibleValuesForElevationLevel ¶
func PossibleValuesForElevationLevel() []string
func PossibleValuesForIPAddressProvisioningType ¶
func PossibleValuesForIPAddressProvisioningType() []string
func PossibleValuesForInboundEndpointProtocol ¶
func PossibleValuesForInboundEndpointProtocol() []string
func PossibleValuesForInterNodeCommunicationState ¶
func PossibleValuesForInterNodeCommunicationState() []string
func PossibleValuesForLoginMode ¶
func PossibleValuesForLoginMode() []string
func PossibleValuesForNetworkSecurityGroupRuleAccess ¶
func PossibleValuesForNetworkSecurityGroupRuleAccess() []string
func PossibleValuesForNodePlacementPolicyType ¶
func PossibleValuesForNodePlacementPolicyType() []string
func PossibleValuesForPoolProvisioningState ¶
func PossibleValuesForPoolProvisioningState() []string
func PossibleValuesForStorageAccountType ¶
func PossibleValuesForStorageAccountType() []string
func ValidateBatchAccountID ¶
ValidateBatchAccountID checks that 'input' can be parsed as a Batch Account ID
func ValidatePoolID ¶
ValidatePoolID checks that 'input' can be parsed as a Pool ID
Types ¶
type AllocationState ¶
type AllocationState string
const ( AllocationStateResizing AllocationState = "Resizing" AllocationStateSteady AllocationState = "Steady" AllocationStateStopping AllocationState = "Stopping" )
type AutoScaleRun ¶
type AutoScaleRun struct { Error *AutoScaleRunError `json:"error,omitempty"` EvaluationTime string `json:"evaluationTime"` Results *string `json:"results,omitempty"` }
func (*AutoScaleRun) GetEvaluationTimeAsTime ¶
func (o *AutoScaleRun) GetEvaluationTimeAsTime() (*time.Time, error)
func (*AutoScaleRun) SetEvaluationTimeAsTime ¶
func (o *AutoScaleRun) SetEvaluationTimeAsTime(input time.Time)
type AutoScaleRunError ¶
type AutoScaleRunError struct { Code string `json:"code"` Details *[]AutoScaleRunError `json:"details,omitempty"` Message string `json:"message"` }
type AutoScaleSettings ¶
type AutoUserScope ¶
type AutoUserScope string
const ( AutoUserScopePool AutoUserScope = "Pool" AutoUserScopeTask AutoUserScope = "Task" )
type AutoUserSpecification ¶
type AutoUserSpecification struct { ElevationLevel *ElevationLevel `json:"elevationLevel,omitempty"` Scope *AutoUserScope `json:"scope,omitempty"` }
type AzureBlobFileSystemConfiguration ¶
type AzureBlobFileSystemConfiguration struct { AccountKey *string `json:"accountKey,omitempty"` AccountName string `json:"accountName"` BlobfuseOptions *string `json:"blobfuseOptions,omitempty"` ContainerName string `json:"containerName"` IdentityReference *ComputeNodeIdentityReference `json:"identityReference,omitempty"` RelativeMountPath string `json:"relativeMountPath"` SasKey *string `json:"sasKey,omitempty"` }
type AzureFileShareConfiguration ¶
type AzureFileShareConfiguration struct {}
type BatchAccountId ¶
type BatchAccountId struct { SubscriptionId string ResourceGroupName string BatchAccountName string }
BatchAccountId is a struct representing the Resource ID for a Batch Account
func NewBatchAccountID ¶
func NewBatchAccountID(subscriptionId string, resourceGroupName string, batchAccountName string) BatchAccountId
NewBatchAccountID returns a new BatchAccountId struct
func ParseBatchAccountID ¶
func ParseBatchAccountID(input string) (*BatchAccountId, error)
ParseBatchAccountID parses 'input' into a BatchAccountId
func ParseBatchAccountIDInsensitively ¶
func ParseBatchAccountIDInsensitively(input string) (*BatchAccountId, error)
ParseBatchAccountIDInsensitively parses 'input' case-insensitively into a BatchAccountId note: this method should only be used for API response data and not user input
func (BatchAccountId) ID ¶
func (id BatchAccountId) ID() string
ID returns the formatted Batch Account ID
func (BatchAccountId) Segments ¶
func (id BatchAccountId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Batch Account ID
func (BatchAccountId) String ¶
func (id BatchAccountId) String() string
String returns a human-readable description of this Batch Account ID
type CIFSMountConfiguration ¶
type CachingType ¶
type CachingType string
const ( CachingTypeNone CachingType = "None" CachingTypeReadOnly CachingType = "ReadOnly" CachingTypeReadWrite CachingType = "ReadWrite" )
type CertificateReference ¶
type CertificateReference struct { Id string `json:"id"` StoreLocation *CertificateStoreLocation `json:"storeLocation,omitempty"` StoreName *string `json:"storeName,omitempty"` Visibility *[]CertificateVisibility `json:"visibility,omitempty"` }
type CertificateStoreLocation ¶
type CertificateStoreLocation string
const ( CertificateStoreLocationCurrentUser CertificateStoreLocation = "CurrentUser" CertificateStoreLocationLocalMachine CertificateStoreLocation = "LocalMachine" )
type CertificateVisibility ¶
type CertificateVisibility string
const ( CertificateVisibilityRemoteUser CertificateVisibility = "RemoteUser" CertificateVisibilityStartTask CertificateVisibility = "StartTask" CertificateVisibilityTask CertificateVisibility = "Task" )
type ComputeNodeDeallocationOption ¶
type ComputeNodeDeallocationOption string
const ( ComputeNodeDeallocationOptionRequeue ComputeNodeDeallocationOption = "Requeue" ComputeNodeDeallocationOptionRetainedData ComputeNodeDeallocationOption = "RetainedData" ComputeNodeDeallocationOptionTaskCompletion ComputeNodeDeallocationOption = "TaskCompletion" ComputeNodeDeallocationOptionTerminate ComputeNodeDeallocationOption = "Terminate" )
type ComputeNodeFillType ¶
type ComputeNodeFillType string
const ( ComputeNodeFillTypePack ComputeNodeFillType = "Pack" ComputeNodeFillTypeSpread ComputeNodeFillType = "Spread" )
type ComputeNodeIdentityReference ¶
type ComputeNodeIdentityReference struct {
ResourceId *string `json:"resourceId,omitempty"`
}
type ContainerConfiguration ¶
type ContainerConfiguration struct { ContainerImageNames *[]string `json:"containerImageNames,omitempty"` ContainerRegistries *[]ContainerRegistry `json:"containerRegistries,omitempty"` Type ContainerType `json:"type"` }
type ContainerRegistry ¶
type ContainerRegistry struct { IdentityReference *ComputeNodeIdentityReference `json:"identityReference,omitempty"` Password *string `json:"password,omitempty"` RegistryServer *string `json:"registryServer,omitempty"` Username *string `json:"username,omitempty"` }
type ContainerType ¶
type ContainerType string
const (
ContainerTypeDockerCompatible ContainerType = "DockerCompatible"
)
type ContainerWorkingDirectory ¶
type ContainerWorkingDirectory string
const ( ContainerWorkingDirectoryContainerImageDefault ContainerWorkingDirectory = "ContainerImageDefault" ContainerWorkingDirectoryTaskWorkingDirectory ContainerWorkingDirectory = "TaskWorkingDirectory" )
type CreateOperationOptions ¶
func DefaultCreateOperationOptions ¶
func DefaultCreateOperationOptions() CreateOperationOptions
type CreateOperationResponse ¶
type DataDisk ¶
type DataDisk struct { Caching *CachingType `json:"caching,omitempty"` DiskSizeGB int64 `json:"diskSizeGB"` Lun int64 `json:"lun"` StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeploymentConfiguration ¶
type DeploymentConfiguration struct { CloudServiceConfiguration *CloudServiceConfiguration `json:"cloudServiceConfiguration,omitempty"` VirtualMachineConfiguration *VirtualMachineConfiguration `json:"virtualMachineConfiguration,omitempty"` }
type DiffDiskPlacement ¶
type DiffDiskPlacement string
const (
DiffDiskPlacementCacheDisk DiffDiskPlacement = "CacheDisk"
)
type DiffDiskSettings ¶
type DiffDiskSettings struct {
Placement *DiffDiskPlacement `json:"placement,omitempty"`
}
type DiskEncryptionConfiguration ¶
type DiskEncryptionConfiguration struct {
Targets *[]DiskEncryptionTarget `json:"targets,omitempty"`
}
type DiskEncryptionTarget ¶
type DiskEncryptionTarget string
const ( DiskEncryptionTargetOsDisk DiskEncryptionTarget = "OsDisk" DiskEncryptionTargetTemporaryDisk DiskEncryptionTarget = "TemporaryDisk" )
type DynamicVNetAssignmentScope ¶
type DynamicVNetAssignmentScope string
const ( DynamicVNetAssignmentScopeJob DynamicVNetAssignmentScope = "job" DynamicVNetAssignmentScopeNone DynamicVNetAssignmentScope = "none" )
type ElevationLevel ¶
type ElevationLevel string
const ( ElevationLevelAdmin ElevationLevel = "Admin" ElevationLevelNonAdmin ElevationLevel = "NonAdmin" )
type EnvironmentSetting ¶
type FixedScaleSettings ¶
type FixedScaleSettings struct { NodeDeallocationOption *ComputeNodeDeallocationOption `json:"nodeDeallocationOption,omitempty"` ResizeTimeout *string `json:"resizeTimeout,omitempty"` TargetDedicatedNodes *int64 `json:"targetDedicatedNodes,omitempty"` TargetLowPriorityNodes *int64 `json:"targetLowPriorityNodes,omitempty"` }
type GetOperationResponse ¶
type IPAddressProvisioningType ¶
type IPAddressProvisioningType string
const ( IPAddressProvisioningTypeBatchManaged IPAddressProvisioningType = "BatchManaged" IPAddressProvisioningTypeNoPublicIPAddresses IPAddressProvisioningType = "NoPublicIPAddresses" IPAddressProvisioningTypeUserManaged IPAddressProvisioningType = "UserManaged" )
type ImageReference ¶
type InboundEndpointProtocol ¶
type InboundEndpointProtocol string
const ( InboundEndpointProtocolTCP InboundEndpointProtocol = "TCP" InboundEndpointProtocolUDP InboundEndpointProtocol = "UDP" )
type InboundNatPool ¶
type InboundNatPool struct { BackendPort int64 `json:"backendPort"` FrontendPortRangeEnd int64 `json:"frontendPortRangeEnd"` FrontendPortRangeStart int64 `json:"frontendPortRangeStart"` Name string `json:"name"` NetworkSecurityGroupRules *[]NetworkSecurityGroupRule `json:"networkSecurityGroupRules,omitempty"` Protocol InboundEndpointProtocol `json:"protocol"` }
type InterNodeCommunicationState ¶
type InterNodeCommunicationState string
const ( InterNodeCommunicationStateDisabled InterNodeCommunicationState = "Disabled" InterNodeCommunicationStateEnabled InterNodeCommunicationState = "Enabled" )
type LinuxUserConfiguration ¶
type ListByBatchAccountCompleteResult ¶
type ListByBatchAccountCompleteResult struct {
Items []Pool
}
type ListByBatchAccountOperationOptions ¶
func DefaultListByBatchAccountOperationOptions ¶
func DefaultListByBatchAccountOperationOptions() ListByBatchAccountOperationOptions
type ListByBatchAccountOperationResponse ¶
type ListByBatchAccountOperationResponse struct { HttpResponse *http.Response Model *[]Pool // contains filtered or unexported fields }
func (ListByBatchAccountOperationResponse) HasMore ¶
func (r ListByBatchAccountOperationResponse) HasMore() bool
func (ListByBatchAccountOperationResponse) LoadMore ¶
func (r ListByBatchAccountOperationResponse) LoadMore(ctx context.Context) (resp ListByBatchAccountOperationResponse, err error)
type MetadataItem ¶
type MountConfiguration ¶
type MountConfiguration struct { AzureBlobFileSystemConfiguration *AzureBlobFileSystemConfiguration `json:"azureBlobFileSystemConfiguration,omitempty"` CifsMountConfiguration *CIFSMountConfiguration `json:"cifsMountConfiguration,omitempty"` NfsMountConfiguration *NFSMountConfiguration `json:"nfsMountConfiguration,omitempty"` }
type NFSMountConfiguration ¶
type NetworkConfiguration ¶
type NetworkConfiguration struct { DynamicVNetAssignmentScope *DynamicVNetAssignmentScope `json:"dynamicVNetAssignmentScope,omitempty"` EndpointConfiguration *PoolEndpointConfiguration `json:"endpointConfiguration,omitempty"` PublicIPAddressConfiguration *PublicIPAddressConfiguration `json:"publicIPAddressConfiguration,omitempty"` SubnetId *string `json:"subnetId,omitempty"` }
type NetworkSecurityGroupRule ¶
type NetworkSecurityGroupRule struct { Access NetworkSecurityGroupRuleAccess `json:"access"` Priority int64 `json:"priority"` SourceAddressPrefix string `json:"sourceAddressPrefix"` SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` }
type NetworkSecurityGroupRuleAccess ¶
type NetworkSecurityGroupRuleAccess string
const ( NetworkSecurityGroupRuleAccessAllow NetworkSecurityGroupRuleAccess = "Allow" NetworkSecurityGroupRuleAccessDeny NetworkSecurityGroupRuleAccess = "Deny" )
type NodePlacementConfiguration ¶
type NodePlacementConfiguration struct {
Policy *NodePlacementPolicyType `json:"policy,omitempty"`
}
type NodePlacementPolicyType ¶
type NodePlacementPolicyType string
const ( NodePlacementPolicyTypeRegional NodePlacementPolicyType = "Regional" NodePlacementPolicyTypeZonal NodePlacementPolicyType = "Zonal" )
type OSDisk ¶
type OSDisk struct {
EphemeralOSDiskSettings *DiffDiskSettings `json:"ephemeralOSDiskSettings,omitempty"`
}
type Pool ¶
type Pool struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Identity *identity.UserAssignedMap `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Properties *PoolProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type PoolClient ¶
func NewPoolClientWithBaseURI ¶
func NewPoolClientWithBaseURI(endpoint string) PoolClient
func (PoolClient) Create ¶
func (c PoolClient) Create(ctx context.Context, id PoolId, input Pool, options CreateOperationOptions) (result CreateOperationResponse, err error)
Create ...
func (PoolClient) Delete ¶
func (c PoolClient) Delete(ctx context.Context, id PoolId) (result DeleteOperationResponse, err error)
Delete ...
func (PoolClient) DeleteThenPoll ¶
func (c PoolClient) DeleteThenPoll(ctx context.Context, id PoolId) error
DeleteThenPoll performs Delete then polls until it's completed
func (PoolClient) DisableAutoScale ¶
func (c PoolClient) DisableAutoScale(ctx context.Context, id PoolId) (result DisableAutoScaleOperationResponse, err error)
DisableAutoScale ...
func (PoolClient) Get ¶
func (c PoolClient) Get(ctx context.Context, id PoolId) (result GetOperationResponse, err error)
Get ...
func (PoolClient) ListByBatchAccount ¶
func (c PoolClient) ListByBatchAccount(ctx context.Context, id BatchAccountId, options ListByBatchAccountOperationOptions) (resp ListByBatchAccountOperationResponse, err error)
ListByBatchAccount ...
func (PoolClient) ListByBatchAccountComplete ¶
func (c PoolClient) ListByBatchAccountComplete(ctx context.Context, id BatchAccountId, options ListByBatchAccountOperationOptions) (ListByBatchAccountCompleteResult, error)
ListByBatchAccountComplete retrieves all of the results into a single object
func (PoolClient) ListByBatchAccountCompleteMatchingPredicate ¶
func (c PoolClient) ListByBatchAccountCompleteMatchingPredicate(ctx context.Context, id BatchAccountId, options ListByBatchAccountOperationOptions, predicate PoolOperationPredicate) (resp ListByBatchAccountCompleteResult, err error)
ListByBatchAccountCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (PoolClient) StopResize ¶
func (c PoolClient) StopResize(ctx context.Context, id PoolId) (result StopResizeOperationResponse, err error)
StopResize ...
func (PoolClient) Update ¶
func (c PoolClient) Update(ctx context.Context, id PoolId, input Pool, options UpdateOperationOptions) (result UpdateOperationResponse, err error)
Update ...
type PoolEndpointConfiguration ¶
type PoolEndpointConfiguration struct {
InboundNatPools []InboundNatPool `json:"inboundNatPools"`
}
type PoolId ¶
type PoolId struct { SubscriptionId string ResourceGroupName string BatchAccountName string PoolName string }
PoolId is a struct representing the Resource ID for a Pool
func NewPoolID ¶
func NewPoolID(subscriptionId string, resourceGroupName string, batchAccountName string, poolName string) PoolId
NewPoolID returns a new PoolId struct
func ParsePoolID ¶
ParsePoolID parses 'input' into a PoolId
func ParsePoolIDInsensitively ¶
ParsePoolIDInsensitively parses 'input' case-insensitively into a PoolId note: this method should only be used for API response data and not user input
func (PoolId) Segments ¶
func (id PoolId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Pool ID
type PoolOperationPredicate ¶
func (PoolOperationPredicate) Matches ¶
func (p PoolOperationPredicate) Matches(input Pool) bool
type PoolProperties ¶
type PoolProperties struct { AllocationState *AllocationState `json:"allocationState,omitempty"` AllocationStateTransitionTime *string `json:"allocationStateTransitionTime,omitempty"` ApplicationLicenses *[]string `json:"applicationLicenses,omitempty"` ApplicationPackages *[]ApplicationPackageReference `json:"applicationPackages,omitempty"` AutoScaleRun *AutoScaleRun `json:"autoScaleRun,omitempty"` Certificates *[]CertificateReference `json:"certificates,omitempty"` CreationTime *string `json:"creationTime,omitempty"` CurrentDedicatedNodes *int64 `json:"currentDedicatedNodes,omitempty"` CurrentLowPriorityNodes *int64 `json:"currentLowPriorityNodes,omitempty"` DeploymentConfiguration *DeploymentConfiguration `json:"deploymentConfiguration,omitempty"` DisplayName *string `json:"displayName,omitempty"` InterNodeCommunication *InterNodeCommunicationState `json:"interNodeCommunication,omitempty"` LastModified *string `json:"lastModified,omitempty"` Metadata *[]MetadataItem `json:"metadata,omitempty"` MountConfiguration *[]MountConfiguration `json:"mountConfiguration,omitempty"` NetworkConfiguration *NetworkConfiguration `json:"networkConfiguration,omitempty"` ProvisioningState *PoolProvisioningState `json:"provisioningState,omitempty"` ProvisioningStateTransitionTime *string `json:"provisioningStateTransitionTime,omitempty"` ResizeOperationStatus *ResizeOperationStatus `json:"resizeOperationStatus,omitempty"` ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"` StartTask *StartTask `json:"startTask,omitempty"` TaskSchedulingPolicy *TaskSchedulingPolicy `json:"taskSchedulingPolicy,omitempty"` TaskSlotsPerNode *int64 `json:"taskSlotsPerNode,omitempty"` UserAccounts *[]UserAccount `json:"userAccounts,omitempty"` VMSize *string `json:"vmSize,omitempty"` }
func (*PoolProperties) GetAllocationStateTransitionTimeAsTime ¶
func (o *PoolProperties) GetAllocationStateTransitionTimeAsTime() (*time.Time, error)
func (*PoolProperties) GetCreationTimeAsTime ¶
func (o *PoolProperties) GetCreationTimeAsTime() (*time.Time, error)
func (*PoolProperties) GetLastModifiedAsTime ¶
func (o *PoolProperties) GetLastModifiedAsTime() (*time.Time, error)
func (*PoolProperties) GetProvisioningStateTransitionTimeAsTime ¶
func (o *PoolProperties) GetProvisioningStateTransitionTimeAsTime() (*time.Time, error)
func (*PoolProperties) SetAllocationStateTransitionTimeAsTime ¶
func (o *PoolProperties) SetAllocationStateTransitionTimeAsTime(input time.Time)
func (*PoolProperties) SetCreationTimeAsTime ¶
func (o *PoolProperties) SetCreationTimeAsTime(input time.Time)
func (*PoolProperties) SetLastModifiedAsTime ¶
func (o *PoolProperties) SetLastModifiedAsTime(input time.Time)
func (*PoolProperties) SetProvisioningStateTransitionTimeAsTime ¶
func (o *PoolProperties) SetProvisioningStateTransitionTimeAsTime(input time.Time)
type PoolProvisioningState ¶
type PoolProvisioningState string
const ( PoolProvisioningStateDeleting PoolProvisioningState = "Deleting" PoolProvisioningStateSucceeded PoolProvisioningState = "Succeeded" )
type PublicIPAddressConfiguration ¶
type PublicIPAddressConfiguration struct { IPAddressIds *[]string `json:"ipAddressIds,omitempty"` Provision *IPAddressProvisioningType `json:"provision,omitempty"` }
type ResizeError ¶
type ResizeError struct { Code string `json:"code"` Details *[]ResizeError `json:"details,omitempty"` Message string `json:"message"` }
type ResizeOperationStatus ¶
type ResizeOperationStatus struct { Errors *[]ResizeError `json:"errors,omitempty"` NodeDeallocationOption *ComputeNodeDeallocationOption `json:"nodeDeallocationOption,omitempty"` ResizeTimeout *string `json:"resizeTimeout,omitempty"` StartTime *string `json:"startTime,omitempty"` TargetDedicatedNodes *int64 `json:"targetDedicatedNodes,omitempty"` TargetLowPriorityNodes *int64 `json:"targetLowPriorityNodes,omitempty"` }
func (*ResizeOperationStatus) GetStartTimeAsTime ¶
func (o *ResizeOperationStatus) GetStartTimeAsTime() (*time.Time, error)
func (*ResizeOperationStatus) SetStartTimeAsTime ¶
func (o *ResizeOperationStatus) SetStartTimeAsTime(input time.Time)
type ResourceFile ¶
type ResourceFile struct { AutoStorageContainerName *string `json:"autoStorageContainerName,omitempty"` BlobPrefix *string `json:"blobPrefix,omitempty"` FileMode *string `json:"fileMode,omitempty"` FilePath *string `json:"filePath,omitempty"` HTTPUrl *string `json:"httpUrl,omitempty"` IdentityReference *ComputeNodeIdentityReference `json:"identityReference,omitempty"` StorageContainerUrl *string `json:"storageContainerUrl,omitempty"` }
type ScaleSettings ¶
type ScaleSettings struct { AutoScale *AutoScaleSettings `json:"autoScale,omitempty"` FixedScale *FixedScaleSettings `json:"fixedScale,omitempty"` }
type StartTask ¶
type StartTask struct { CommandLine *string `json:"commandLine,omitempty"` ContainerSettings *TaskContainerSettings `json:"containerSettings,omitempty"` EnvironmentSettings *[]EnvironmentSetting `json:"environmentSettings,omitempty"` MaxTaskRetryCount *int64 `json:"maxTaskRetryCount,omitempty"` ResourceFiles *[]ResourceFile `json:"resourceFiles,omitempty"` UserIdentity *UserIdentity `json:"userIdentity,omitempty"` WaitForSuccess *bool `json:"waitForSuccess,omitempty"` }
type StorageAccountType ¶
type StorageAccountType string
const ( StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS" StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS" )
type TaskContainerSettings ¶
type TaskContainerSettings struct { ContainerRunOptions *string `json:"containerRunOptions,omitempty"` ImageName string `json:"imageName"` Registry *ContainerRegistry `json:"registry,omitempty"` WorkingDirectory *ContainerWorkingDirectory `json:"workingDirectory,omitempty"` }
type TaskSchedulingPolicy ¶
type TaskSchedulingPolicy struct {
NodeFillType ComputeNodeFillType `json:"nodeFillType"`
}
type UpdateOperationOptions ¶
type UpdateOperationOptions struct {
IfMatch *string
}
func DefaultUpdateOperationOptions ¶
func DefaultUpdateOperationOptions() UpdateOperationOptions
type UpdateOperationResponse ¶
type UserAccount ¶
type UserAccount struct { ElevationLevel *ElevationLevel `json:"elevationLevel,omitempty"` LinuxUserConfiguration *LinuxUserConfiguration `json:"linuxUserConfiguration,omitempty"` Name string `json:"name"` Password string `json:"password"` WindowsUserConfiguration *WindowsUserConfiguration `json:"windowsUserConfiguration,omitempty"` }
type UserIdentity ¶
type UserIdentity struct { AutoUser *AutoUserSpecification `json:"autoUser,omitempty"` UserName *string `json:"userName,omitempty"` }
type VirtualMachineConfiguration ¶
type VirtualMachineConfiguration struct { ContainerConfiguration *ContainerConfiguration `json:"containerConfiguration,omitempty"` DataDisks *[]DataDisk `json:"dataDisks,omitempty"` DiskEncryptionConfiguration *DiskEncryptionConfiguration `json:"diskEncryptionConfiguration,omitempty"` Extensions *[]VmExtension `json:"extensions,omitempty"` ImageReference ImageReference `json:"imageReference"` LicenseType *string `json:"licenseType,omitempty"` NodeAgentSkuId string `json:"nodeAgentSkuId"` NodePlacementConfiguration *NodePlacementConfiguration `json:"nodePlacementConfiguration,omitempty"` OsDisk *OSDisk `json:"osDisk,omitempty"` WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` }
type VmExtension ¶
type VmExtension struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` Name string `json:"name"` ProtectedSettings *interface{} `json:"protectedSettings,omitempty"` ProvisionAfterExtensions *[]string `json:"provisionAfterExtensions,omitempty"` Publisher string `json:"publisher"` Settings *interface{} `json:"settings,omitempty"` Type string `json:"type"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type WindowsConfiguration ¶
type WindowsConfiguration struct {
EnableAutomaticUpdates *bool `json:"enableAutomaticUpdates,omitempty"`
}
type WindowsUserConfiguration ¶
type WindowsUserConfiguration struct {
LoginMode *LoginMode `json:"loginMode,omitempty"`
}
Source Files ¶
- client.go
- constants.go
- id_batchaccount.go
- id_pool.go
- method_create_autorest.go
- method_delete_autorest.go
- method_disableautoscale_autorest.go
- method_get_autorest.go
- method_listbybatchaccount_autorest.go
- method_stopresize_autorest.go
- method_update_autorest.go
- model_applicationpackagereference.go
- model_autoscalerun.go
- model_autoscalerunerror.go
- model_autoscalesettings.go
- model_autouserspecification.go
- model_azureblobfilesystemconfiguration.go
- model_azurefileshareconfiguration.go
- model_certificatereference.go
- model_cifsmountconfiguration.go
- model_cloudserviceconfiguration.go
- model_computenodeidentityreference.go
- model_containerconfiguration.go
- model_containerregistry.go
- model_datadisk.go
- model_deploymentconfiguration.go
- model_diffdisksettings.go
- model_diskencryptionconfiguration.go
- model_environmentsetting.go
- model_fixedscalesettings.go
- model_imagereference.go
- model_inboundnatpool.go
- model_linuxuserconfiguration.go
- model_metadataitem.go
- model_mountconfiguration.go
- model_networkconfiguration.go
- model_networksecuritygrouprule.go
- model_nfsmountconfiguration.go
- model_nodeplacementconfiguration.go
- model_osdisk.go
- model_pool.go
- model_poolendpointconfiguration.go
- model_poolproperties.go
- model_publicipaddressconfiguration.go
- model_resizeerror.go
- model_resizeoperationstatus.go
- model_resourcefile.go
- model_scalesettings.go
- model_starttask.go
- model_taskcontainersettings.go
- model_taskschedulingpolicy.go
- model_useraccount.go
- model_useridentity.go
- model_virtualmachineconfiguration.go
- model_vmextension.go
- model_windowsconfiguration.go
- model_windowsuserconfiguration.go
- predicates.go
- version.go