Documentation ¶
Index ¶
- func PossibleValuesForAccess() []string
- func PossibleValuesForDirection() []string
- func PossibleValuesForDiskType() []string
- func PossibleValuesForIPAddressType() []string
- func PossibleValuesForManagedResourceProvisioningState() []string
- func PossibleValuesForNodeTypeSkuScaleType() []string
- func PossibleValuesForNsgProtocol() []string
- func ValidateManagedClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNodeTypeID(input interface{}, key string) (warnings []string, errors []error)
- type Access
- type CreateOrUpdateOperationResponse
- type DeleteNodeOperationResponse
- type DeleteOperationResponse
- type Direction
- type DiskType
- type EndpointRangeDescription
- type FrontendConfiguration
- type GetOperationResponse
- type IPAddressType
- type ListByManagedClustersCompleteResult
- type ListByManagedClustersCustomPager
- type ListByManagedClustersOperationResponse
- type ManagedClusterId
- type ManagedResourceProvisioningState
- type NetworkSecurityRule
- type NodeType
- type NodeTypeActionParameters
- type NodeTypeAvailableSku
- type NodeTypeAvailableSkuOperationPredicate
- type NodeTypeClient
- func (c NodeTypeClient) CreateOrUpdate(ctx context.Context, id NodeTypeId, input NodeType) (result CreateOrUpdateOperationResponse, err error)
- func (c NodeTypeClient) CreateOrUpdateThenPoll(ctx context.Context, id NodeTypeId, input NodeType) error
- func (c NodeTypeClient) Delete(ctx context.Context, id NodeTypeId) (result DeleteOperationResponse, err error)
- func (c NodeTypeClient) DeleteNode(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result DeleteNodeOperationResponse, err error)
- func (c NodeTypeClient) DeleteNodeThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error
- func (c NodeTypeClient) DeleteThenPoll(ctx context.Context, id NodeTypeId) error
- func (c NodeTypeClient) Get(ctx context.Context, id NodeTypeId) (result GetOperationResponse, err error)
- func (c NodeTypeClient) ListByManagedClusters(ctx context.Context, id ManagedClusterId) (result ListByManagedClustersOperationResponse, err error)
- func (c NodeTypeClient) ListByManagedClustersComplete(ctx context.Context, id ManagedClusterId) (ListByManagedClustersCompleteResult, error)
- func (c NodeTypeClient) ListByManagedClustersCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, predicate NodeTypeOperationPredicate) (result ListByManagedClustersCompleteResult, err error)
- func (c NodeTypeClient) Reimage(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result ReimageOperationResponse, err error)
- func (c NodeTypeClient) ReimageThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error
- func (c NodeTypeClient) Restart(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result RestartOperationResponse, err error)
- func (c NodeTypeClient) RestartThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error
- func (c NodeTypeClient) SkusList(ctx context.Context, id NodeTypeId) (result SkusListOperationResponse, err error)
- func (c NodeTypeClient) SkusListComplete(ctx context.Context, id NodeTypeId) (SkusListCompleteResult, error)
- func (c NodeTypeClient) SkusListCompleteMatchingPredicate(ctx context.Context, id NodeTypeId, ...) (result SkusListCompleteResult, err error)
- func (c NodeTypeClient) Update(ctx context.Context, id NodeTypeId, input NodeTypeUpdateParameters) (result UpdateOperationResponse, err error)
- type NodeTypeId
- type NodeTypeOperationPredicate
- type NodeTypeProperties
- type NodeTypeSku
- type NodeTypeSkuCapacity
- type NodeTypeSkuScaleType
- type NodeTypeSupportedSku
- type NodeTypeUpdateParameters
- type NsgProtocol
- type ReimageOperationResponse
- type RestartOperationResponse
- type SkusListCompleteResult
- type SkusListCustomPager
- type SkusListOperationResponse
- type SubResource
- type SystemData
- type UpdateOperationResponse
- type VMSSDataDisk
- type VMSSExtension
- type VMSSExtensionProperties
- type VaultCertificate
- type VaultSecretGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccess ¶
func PossibleValuesForAccess() []string
func PossibleValuesForDirection ¶
func PossibleValuesForDirection() []string
func PossibleValuesForDiskType ¶
func PossibleValuesForDiskType() []string
func PossibleValuesForIPAddressType ¶
func PossibleValuesForIPAddressType() []string
func PossibleValuesForManagedResourceProvisioningState ¶
func PossibleValuesForManagedResourceProvisioningState() []string
func PossibleValuesForNodeTypeSkuScaleType ¶
func PossibleValuesForNodeTypeSkuScaleType() []string
func PossibleValuesForNsgProtocol ¶
func PossibleValuesForNsgProtocol() []string
func ValidateManagedClusterID ¶
ValidateManagedClusterID checks that 'input' can be parsed as a Managed Cluster ID
func ValidateNodeTypeID ¶
ValidateNodeTypeID checks that 'input' can be parsed as a Node Type ID
Types ¶
type DeleteOperationResponse ¶
type FrontendConfiguration ¶
type FrontendConfiguration struct { IPAddressType *IPAddressType `json:"ipAddressType,omitempty"` LoadBalancerBackendAddressPoolId *string `json:"loadBalancerBackendAddressPoolId,omitempty"` LoadBalancerInboundNatPoolId *string `json:"loadBalancerInboundNatPoolId,omitempty"` }
type GetOperationResponse ¶
type IPAddressType ¶
type IPAddressType string
const ( IPAddressTypeIPvFour IPAddressType = "IPv4" IPAddressTypeIPvSix IPAddressType = "IPv6" )
func (*IPAddressType) UnmarshalJSON ¶
func (s *IPAddressType) UnmarshalJSON(bytes []byte) error
type ListByManagedClustersCustomPager ¶
func (*ListByManagedClustersCustomPager) NextPageLink ¶
func (p *ListByManagedClustersCustomPager) NextPageLink() *odata.Link
type ManagedClusterId ¶
type ManagedClusterId struct { SubscriptionId string ResourceGroupName string ManagedClusterName string }
ManagedClusterId is a struct representing the Resource ID for a Managed Cluster
func NewManagedClusterID ¶
func NewManagedClusterID(subscriptionId string, resourceGroupName string, managedClusterName string) ManagedClusterId
NewManagedClusterID returns a new ManagedClusterId struct
func ParseManagedClusterID ¶
func ParseManagedClusterID(input string) (*ManagedClusterId, error)
ParseManagedClusterID parses 'input' into a ManagedClusterId
func ParseManagedClusterIDInsensitively ¶
func ParseManagedClusterIDInsensitively(input string) (*ManagedClusterId, error)
ParseManagedClusterIDInsensitively parses 'input' case-insensitively into a ManagedClusterId note: this method should only be used for API response data and not user input
func (*ManagedClusterId) FromParseResult ¶
func (id *ManagedClusterId) FromParseResult(input resourceids.ParseResult) error
func (ManagedClusterId) ID ¶
func (id ManagedClusterId) ID() string
ID returns the formatted Managed Cluster ID
func (ManagedClusterId) Segments ¶
func (id ManagedClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Cluster ID
func (ManagedClusterId) String ¶
func (id ManagedClusterId) String() string
String returns a human-readable description of this Managed Cluster ID
type ManagedResourceProvisioningState ¶
type ManagedResourceProvisioningState string
const ( ManagedResourceProvisioningStateCanceled ManagedResourceProvisioningState = "Canceled" ManagedResourceProvisioningStateCreated ManagedResourceProvisioningState = "Created" ManagedResourceProvisioningStateCreating ManagedResourceProvisioningState = "Creating" ManagedResourceProvisioningStateDeleted ManagedResourceProvisioningState = "Deleted" ManagedResourceProvisioningStateDeleting ManagedResourceProvisioningState = "Deleting" ManagedResourceProvisioningStateFailed ManagedResourceProvisioningState = "Failed" ManagedResourceProvisioningStateNone ManagedResourceProvisioningState = "None" ManagedResourceProvisioningStateOther ManagedResourceProvisioningState = "Other" ManagedResourceProvisioningStateSucceeded ManagedResourceProvisioningState = "Succeeded" ManagedResourceProvisioningStateUpdating ManagedResourceProvisioningState = "Updating" )
func (*ManagedResourceProvisioningState) UnmarshalJSON ¶
func (s *ManagedResourceProvisioningState) UnmarshalJSON(bytes []byte) error
type NetworkSecurityRule ¶
type NetworkSecurityRule struct { Access Access `json:"access"` Description *string `json:"description,omitempty"` DestinationAddressPrefix *string `json:"destinationAddressPrefix,omitempty"` DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` DestinationPortRange *string `json:"destinationPortRange,omitempty"` DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` Direction Direction `json:"direction"` Name string `json:"name"` Priority int64 `json:"priority"` Protocol NsgProtocol `json:"protocol"` SourceAddressPrefix *string `json:"sourceAddressPrefix,omitempty"` SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` SourcePortRange *string `json:"sourcePortRange,omitempty"` SourcePortRanges *[]string `json:"sourcePortRanges,omitempty"` }
type NodeType ¶
type NodeType struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NodeTypeProperties `json:"properties,omitempty"` Sku *NodeTypeSku `json:"sku,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type NodeTypeAvailableSku ¶
type NodeTypeAvailableSku struct { Capacity *NodeTypeSkuCapacity `json:"capacity,omitempty"` ResourceType *string `json:"resourceType,omitempty"` Sku *NodeTypeSupportedSku `json:"sku,omitempty"` }
type NodeTypeAvailableSkuOperationPredicate ¶
type NodeTypeAvailableSkuOperationPredicate struct {
ResourceType *string
}
func (NodeTypeAvailableSkuOperationPredicate) Matches ¶
func (p NodeTypeAvailableSkuOperationPredicate) Matches(input NodeTypeAvailableSku) bool
type NodeTypeClient ¶
type NodeTypeClient struct {
Client *resourcemanager.Client
}
func NewNodeTypeClientWithBaseURI ¶
func NewNodeTypeClientWithBaseURI(sdkApi sdkEnv.Api) (*NodeTypeClient, error)
func (NodeTypeClient) CreateOrUpdate ¶
func (c NodeTypeClient) CreateOrUpdate(ctx context.Context, id NodeTypeId, input NodeType) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (NodeTypeClient) CreateOrUpdateThenPoll ¶
func (c NodeTypeClient) CreateOrUpdateThenPoll(ctx context.Context, id NodeTypeId, input NodeType) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (NodeTypeClient) Delete ¶
func (c NodeTypeClient) Delete(ctx context.Context, id NodeTypeId) (result DeleteOperationResponse, err error)
Delete ...
func (NodeTypeClient) DeleteNode ¶
func (c NodeTypeClient) DeleteNode(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result DeleteNodeOperationResponse, err error)
DeleteNode ...
func (NodeTypeClient) DeleteNodeThenPoll ¶
func (c NodeTypeClient) DeleteNodeThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error
DeleteNodeThenPoll performs DeleteNode then polls until it's completed
func (NodeTypeClient) DeleteThenPoll ¶
func (c NodeTypeClient) DeleteThenPoll(ctx context.Context, id NodeTypeId) error
DeleteThenPoll performs Delete then polls until it's completed
func (NodeTypeClient) Get ¶
func (c NodeTypeClient) Get(ctx context.Context, id NodeTypeId) (result GetOperationResponse, err error)
Get ...
func (NodeTypeClient) ListByManagedClusters ¶
func (c NodeTypeClient) ListByManagedClusters(ctx context.Context, id ManagedClusterId) (result ListByManagedClustersOperationResponse, err error)
ListByManagedClusters ...
func (NodeTypeClient) ListByManagedClustersComplete ¶
func (c NodeTypeClient) ListByManagedClustersComplete(ctx context.Context, id ManagedClusterId) (ListByManagedClustersCompleteResult, error)
ListByManagedClustersComplete retrieves all the results into a single object
func (NodeTypeClient) ListByManagedClustersCompleteMatchingPredicate ¶
func (c NodeTypeClient) ListByManagedClustersCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, predicate NodeTypeOperationPredicate) (result ListByManagedClustersCompleteResult, err error)
ListByManagedClustersCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NodeTypeClient) Reimage ¶
func (c NodeTypeClient) Reimage(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result ReimageOperationResponse, err error)
Reimage ...
func (NodeTypeClient) ReimageThenPoll ¶
func (c NodeTypeClient) ReimageThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error
ReimageThenPoll performs Reimage then polls until it's completed
func (NodeTypeClient) Restart ¶
func (c NodeTypeClient) Restart(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) (result RestartOperationResponse, err error)
Restart ...
func (NodeTypeClient) RestartThenPoll ¶
func (c NodeTypeClient) RestartThenPoll(ctx context.Context, id NodeTypeId, input NodeTypeActionParameters) error
RestartThenPoll performs Restart then polls until it's completed
func (NodeTypeClient) SkusList ¶
func (c NodeTypeClient) SkusList(ctx context.Context, id NodeTypeId) (result SkusListOperationResponse, err error)
SkusList ...
func (NodeTypeClient) SkusListComplete ¶
func (c NodeTypeClient) SkusListComplete(ctx context.Context, id NodeTypeId) (SkusListCompleteResult, error)
SkusListComplete retrieves all the results into a single object
func (NodeTypeClient) SkusListCompleteMatchingPredicate ¶
func (c NodeTypeClient) SkusListCompleteMatchingPredicate(ctx context.Context, id NodeTypeId, predicate NodeTypeAvailableSkuOperationPredicate) (result SkusListCompleteResult, err error)
SkusListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NodeTypeClient) Update ¶
func (c NodeTypeClient) Update(ctx context.Context, id NodeTypeId, input NodeTypeUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type NodeTypeId ¶
type NodeTypeId struct { SubscriptionId string ResourceGroupName string ManagedClusterName string NodeTypeName string }
NodeTypeId is a struct representing the Resource ID for a Node Type
func NewNodeTypeID ¶
func NewNodeTypeID(subscriptionId string, resourceGroupName string, managedClusterName string, nodeTypeName string) NodeTypeId
NewNodeTypeID returns a new NodeTypeId struct
func ParseNodeTypeID ¶
func ParseNodeTypeID(input string) (*NodeTypeId, error)
ParseNodeTypeID parses 'input' into a NodeTypeId
func ParseNodeTypeIDInsensitively ¶
func ParseNodeTypeIDInsensitively(input string) (*NodeTypeId, error)
ParseNodeTypeIDInsensitively parses 'input' case-insensitively into a NodeTypeId note: this method should only be used for API response data and not user input
func (*NodeTypeId) FromParseResult ¶
func (id *NodeTypeId) FromParseResult(input resourceids.ParseResult) error
func (NodeTypeId) Segments ¶
func (id NodeTypeId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Node Type ID
func (NodeTypeId) String ¶
func (id NodeTypeId) String() string
String returns a human-readable description of this Node Type ID
type NodeTypeOperationPredicate ¶
func (NodeTypeOperationPredicate) Matches ¶
func (p NodeTypeOperationPredicate) Matches(input NodeType) bool
type NodeTypeProperties ¶
type NodeTypeProperties struct { AdditionalDataDisks *[]VMSSDataDisk `json:"additionalDataDisks,omitempty"` ApplicationPorts *EndpointRangeDescription `json:"applicationPorts,omitempty"` Capacities *map[string]string `json:"capacities,omitempty"` DataDiskLetter *string `json:"dataDiskLetter,omitempty"` DataDiskSizeGB *int64 `json:"dataDiskSizeGB,omitempty"` DataDiskType *DiskType `json:"dataDiskType,omitempty"` EnableAcceleratedNetworking *bool `json:"enableAcceleratedNetworking,omitempty"` EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"` EnableOverProvisioning *bool `json:"enableOverProvisioning,omitempty"` EphemeralPorts *EndpointRangeDescription `json:"ephemeralPorts,omitempty"` FrontendConfigurations *[]FrontendConfiguration `json:"frontendConfigurations,omitempty"` IsPrimary bool `json:"isPrimary"` IsStateless *bool `json:"isStateless,omitempty"` MultiplePlacementGroups *bool `json:"multiplePlacementGroups,omitempty"` NetworkSecurityRules *[]NetworkSecurityRule `json:"networkSecurityRules,omitempty"` PlacementProperties *map[string]string `json:"placementProperties,omitempty"` ProvisioningState *ManagedResourceProvisioningState `json:"provisioningState,omitempty"` UseDefaultPublicLoadBalancer *bool `json:"useDefaultPublicLoadBalancer,omitempty"` UseTempDataDisk *bool `json:"useTempDataDisk,omitempty"` VMExtensions *[]VMSSExtension `json:"vmExtensions,omitempty"` VMImageOffer *string `json:"vmImageOffer,omitempty"` VMImagePublisher *string `json:"vmImagePublisher,omitempty"` VMImageSku *string `json:"vmImageSku,omitempty"` VMImageVersion *string `json:"vmImageVersion,omitempty"` VMInstanceCount int64 `json:"vmInstanceCount"` VMManagedIdentity *identity.UserAssignedList `json:"vmManagedIdentity,omitempty"` VMSecrets *[]VaultSecretGroup `json:"vmSecrets,omitempty"` VMSize *string `json:"vmSize,omitempty"` }
type NodeTypeSku ¶
type NodeTypeSkuCapacity ¶
type NodeTypeSkuCapacity struct { Default *int64 `json:"default,omitempty"` Maximum *int64 `json:"maximum,omitempty"` Minimum *int64 `json:"minimum,omitempty"` ScaleType *NodeTypeSkuScaleType `json:"scaleType,omitempty"` }
type NodeTypeSkuScaleType ¶
type NodeTypeSkuScaleType string
const ( NodeTypeSkuScaleTypeAutomatic NodeTypeSkuScaleType = "Automatic" NodeTypeSkuScaleTypeManual NodeTypeSkuScaleType = "Manual" NodeTypeSkuScaleTypeNone NodeTypeSkuScaleType = "None" )
func (*NodeTypeSkuScaleType) UnmarshalJSON ¶
func (s *NodeTypeSkuScaleType) UnmarshalJSON(bytes []byte) error
type NodeTypeSupportedSku ¶
type NodeTypeUpdateParameters ¶
type NodeTypeUpdateParameters struct { Sku *NodeTypeSku `json:"sku,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type NsgProtocol ¶
type NsgProtocol string
const ( NsgProtocolAh NsgProtocol = "ah" NsgProtocolEsp NsgProtocol = "esp" NsgProtocolHTTP NsgProtocol = "http" NsgProtocolHTTPS NsgProtocol = "https" NsgProtocolIcmp NsgProtocol = "icmp" NsgProtocolTcp NsgProtocol = "tcp" NsgProtocolUdp NsgProtocol = "udp" )
func (*NsgProtocol) UnmarshalJSON ¶
func (s *NsgProtocol) UnmarshalJSON(bytes []byte) error
type SkusListCompleteResult ¶
type SkusListCompleteResult struct { LatestHttpResponse *http.Response Items []NodeTypeAvailableSku }
type SkusListCustomPager ¶
func (*SkusListCustomPager) NextPageLink ¶
func (p *SkusListCustomPager) NextPageLink() *odata.Link
type SkusListOperationResponse ¶
type SkusListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]NodeTypeAvailableSku }
type SubResource ¶
type SubResource struct {
Id *string `json:"id,omitempty"`
}
type SystemData ¶
type SystemData struct { CreatedAt *string `json:"createdAt,omitempty"` CreatedBy *string `json:"createdBy,omitempty"` CreatedByType *string `json:"createdByType,omitempty"` LastModifiedAt *string `json:"lastModifiedAt,omitempty"` LastModifiedBy *string `json:"lastModifiedBy,omitempty"` LastModifiedByType *string `json:"lastModifiedByType,omitempty"` }
func (*SystemData) GetCreatedAtAsTime ¶
func (o *SystemData) GetCreatedAtAsTime() (*time.Time, error)
func (*SystemData) GetLastModifiedAtAsTime ¶
func (o *SystemData) GetLastModifiedAtAsTime() (*time.Time, error)
func (*SystemData) SetCreatedAtAsTime ¶
func (o *SystemData) SetCreatedAtAsTime(input time.Time)
func (*SystemData) SetLastModifiedAtAsTime ¶
func (o *SystemData) SetLastModifiedAtAsTime(input time.Time)
type UpdateOperationResponse ¶
type VMSSDataDisk ¶
type VMSSExtension ¶
type VMSSExtension struct { Name string `json:"name"` Properties VMSSExtensionProperties `json:"properties"` }
type VMSSExtensionProperties ¶
type VMSSExtensionProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` ProtectedSettings *interface{} `json:"protectedSettings,omitempty"` ProvisionAfterExtensions *[]string `json:"provisionAfterExtensions,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` Publisher string `json:"publisher"` Settings *interface{} `json:"settings,omitempty"` Type string `json:"type"` TypeHandlerVersion string `json:"typeHandlerVersion"` }
type VaultCertificate ¶
type VaultSecretGroup ¶
type VaultSecretGroup struct { SourceVault SubResource `json:"sourceVault"` VaultCertificates []VaultCertificate `json:"vaultCertificates"` }
Source Files ¶
- client.go
- constants.go
- id_managedcluster.go
- id_nodetype.go
- method_createorupdate.go
- method_delete.go
- method_deletenode.go
- method_get.go
- method_listbymanagedclusters.go
- method_reimage.go
- method_restart.go
- method_skuslist.go
- method_update.go
- model_endpointrangedescription.go
- model_frontendconfiguration.go
- model_networksecurityrule.go
- model_nodetype.go
- model_nodetypeactionparameters.go
- model_nodetypeavailablesku.go
- model_nodetypeproperties.go
- model_nodetypesku.go
- model_nodetypeskucapacity.go
- model_nodetypesupportedsku.go
- model_nodetypeupdateparameters.go
- model_subresource.go
- model_systemdata.go
- model_vaultcertificate.go
- model_vaultsecretgroup.go
- model_vmssdatadisk.go
- model_vmssextension.go
- model_vmssextensionproperties.go
- predicates.go
- version.go