Documentation ¶
Index ¶
- func PossibleValuesForDiskType() []string
- func PossibleValuesForManagedResourceProvisioningState() []string
- func ValidateManagedClusterID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateNodeTypeID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type DeleteNodeOperationResponse
- type DeleteOperationResponse
- type DiskType
- type EndpointRangeDescription
- type GetOperationResponse
- type ListByManagedClustersCompleteResult
- type ListByManagedClustersOperationResponse
- type ManagedClusterId
- type ManagedResourceProvisioningState
- type NodeType
- type NodeTypeActionParameters
- 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) (resp 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) (resp 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) Update(ctx context.Context, id NodeTypeId, input NodeTypeUpdateParameters) (result UpdateOperationResponse, err error)
- type NodeTypeId
- type NodeTypeOperationPredicate
- type NodeTypeProperties
- type NodeTypeUpdateParameters
- type ReimageOperationResponse
- type RestartOperationResponse
- type SubResource
- type SystemData
- type UpdateOperationResponse
- type VMSSExtension
- type VMSSExtensionProperties
- type VaultCertificate
- type VaultSecretGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForDiskType ¶
func PossibleValuesForDiskType() []string
func PossibleValuesForManagedResourceProvisioningState ¶
func PossibleValuesForManagedResourceProvisioningState() []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 CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteNodeOperationResponse ¶
type DeleteNodeOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type ListByManagedClustersCompleteResult ¶
type ListByManagedClustersCompleteResult struct {
Items []NodeType
}
type ListByManagedClustersOperationResponse ¶
type ListByManagedClustersOperationResponse struct { HttpResponse *http.Response Model *[]NodeType // contains filtered or unexported fields }
func (ListByManagedClustersOperationResponse) HasMore ¶
func (r ListByManagedClustersOperationResponse) HasMore() bool
func (ListByManagedClustersOperationResponse) LoadMore ¶
func (r ListByManagedClustersOperationResponse) LoadMore(ctx context.Context) (resp ListByManagedClustersOperationResponse, err error)
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) 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" )
type NodeType ¶
type NodeType struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *NodeTypeProperties `json:"properties,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type NodeTypeClient ¶
func NewNodeTypeClientWithBaseURI ¶
func NewNodeTypeClientWithBaseURI(endpoint string) NodeTypeClient
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) (resp ListByManagedClustersOperationResponse, err error)
ListByManagedClusters ...
func (NodeTypeClient) ListByManagedClustersComplete ¶
func (c NodeTypeClient) ListByManagedClustersComplete(ctx context.Context, id ManagedClusterId) (ListByManagedClustersCompleteResult, error)
ListByManagedClustersComplete retrieves all of the results into a single object
func (NodeTypeClient) ListByManagedClustersCompleteMatchingPredicate ¶
func (c NodeTypeClient) ListByManagedClustersCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, predicate NodeTypeOperationPredicate) (resp ListByManagedClustersCompleteResult, err error)
ListByManagedClustersCompleteMatchingPredicate retrieves all of the results and then applied 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) 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) 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 { ApplicationPorts *EndpointRangeDescription `json:"applicationPorts,omitempty"` Capacities *map[string]string `json:"capacities,omitempty"` DataDiskSizeGB int64 `json:"dataDiskSizeGB"` DataDiskType *DiskType `json:"dataDiskType,omitempty"` EphemeralPorts *EndpointRangeDescription `json:"ephemeralPorts,omitempty"` IsPrimary bool `json:"isPrimary"` IsStateless *bool `json:"isStateless,omitempty"` MultiplePlacementGroups *bool `json:"multiplePlacementGroups,omitempty"` PlacementProperties *map[string]string `json:"placementProperties,omitempty"` ProvisioningState *ManagedResourceProvisioningState `json:"provisioningState,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 ReimageOperationResponse ¶
type ReimageOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type RestartOperationResponse ¶
type RestartOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
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 VMSSExtension ¶
type VMSSExtension struct { Name string `json:"name"` Properties VMSSExtensionProperties `json:"properties"` }
type VMSSExtensionProperties ¶
type VMSSExtensionProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,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_autorest.go
- method_delete_autorest.go
- method_deletenode_autorest.go
- method_get_autorest.go
- method_listbymanagedclusters_autorest.go
- method_reimage_autorest.go
- method_restart_autorest.go
- method_update_autorest.go
- model_endpointrangedescription.go
- model_nodetype.go
- model_nodetypeactionparameters.go
- model_nodetypeproperties.go
- model_nodetypeupdateparameters.go
- model_subresource.go
- model_systemdata.go
- model_vaultcertificate.go
- model_vaultsecretgroup.go
- model_vmssextension.go
- model_vmssextensionproperties.go
- predicates.go
- version.go