Documentation ¶
Index ¶
- func PossibleValuesForAccess() []string
- func PossibleValuesForAddonFeatures() []string
- func PossibleValuesForClusterState() []string
- func PossibleValuesForClusterUpgradeCadence() []string
- func PossibleValuesForClusterUpgradeMode() []string
- func PossibleValuesForDirection() []string
- func PossibleValuesForManagedResourceProvisioningState() []string
- func PossibleValuesForNsgProtocol() []string
- func PossibleValuesForProbeProtocol() []string
- func PossibleValuesForProtocol() []string
- func PossibleValuesForSkuName() []string
- func ValidateManagedClusterID(input interface{}, key string) (warnings []string, errors []error)
- type Access
- type AddonFeatures
- type ApplicationTypeVersionsCleanupPolicy
- type AzureActiveDirectory
- type ClientCertificate
- type ClusterState
- type ClusterUpgradeCadence
- type ClusterUpgradeMode
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type Direction
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type LoadBalancingRule
- type ManagedCluster
- type ManagedClusterClient
- func (c ManagedClusterClient) CreateOrUpdate(ctx context.Context, id ManagedClusterId, input ManagedCluster) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedClusterClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedClusterId, input ManagedCluster) error
- func (c ManagedClusterClient) Delete(ctx context.Context, id ManagedClusterId) (result DeleteOperationResponse, err error)
- func (c ManagedClusterClient) DeleteThenPoll(ctx context.Context, id ManagedClusterId) error
- func (c ManagedClusterClient) Get(ctx context.Context, id ManagedClusterId) (result GetOperationResponse, err error)
- func (c ManagedClusterClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
- func (c ManagedClusterClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ManagedClusterClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (resp ListByResourceGroupCompleteResult, err error)
- func (c ManagedClusterClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
- func (c ManagedClusterClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c ManagedClusterClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (resp ListBySubscriptionCompleteResult, err error)
- func (c ManagedClusterClient) Update(ctx context.Context, id ManagedClusterId, input ManagedClusterUpdateParameters) (result UpdateOperationResponse, err error)
- type ManagedClusterId
- type ManagedClusterOperationPredicate
- type ManagedClusterProperties
- type ManagedClusterUpdateParameters
- type ManagedResourceProvisioningState
- type NetworkSecurityRule
- type NsgProtocol
- type ProbeProtocol
- type Protocol
- type SettingsParameterDescription
- type SettingsSectionDescription
- type Sku
- type SkuName
- type SystemData
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAccess ¶
func PossibleValuesForAccess() []string
func PossibleValuesForAddonFeatures ¶
func PossibleValuesForAddonFeatures() []string
func PossibleValuesForClusterState ¶
func PossibleValuesForClusterState() []string
func PossibleValuesForClusterUpgradeCadence ¶
func PossibleValuesForClusterUpgradeCadence() []string
func PossibleValuesForClusterUpgradeMode ¶
func PossibleValuesForClusterUpgradeMode() []string
func PossibleValuesForDirection ¶
func PossibleValuesForDirection() []string
func PossibleValuesForManagedResourceProvisioningState ¶
func PossibleValuesForManagedResourceProvisioningState() []string
func PossibleValuesForNsgProtocol ¶
func PossibleValuesForNsgProtocol() []string
func PossibleValuesForProbeProtocol ¶
func PossibleValuesForProbeProtocol() []string
func PossibleValuesForProtocol ¶
func PossibleValuesForProtocol() []string
func PossibleValuesForSkuName ¶
func PossibleValuesForSkuName() []string
func ValidateManagedClusterID ¶
ValidateManagedClusterID checks that 'input' can be parsed as a Managed Cluster ID
Types ¶
type AddonFeatures ¶
type AddonFeatures string
const ( AddonFeaturesBackupRestoreService AddonFeatures = "BackupRestoreService" AddonFeaturesDnsService AddonFeatures = "DnsService" AddonFeaturesResourceMonitorService AddonFeatures = "ResourceMonitorService" )
type ApplicationTypeVersionsCleanupPolicy ¶
type ApplicationTypeVersionsCleanupPolicy struct {
MaxUnusedVersionsToKeep int64 `json:"maxUnusedVersionsToKeep"`
}
type AzureActiveDirectory ¶
type ClientCertificate ¶
type ClusterState ¶
type ClusterState string
const ( ClusterStateBaselineUpgrade ClusterState = "BaselineUpgrade" ClusterStateDeploying ClusterState = "Deploying" ClusterStateReady ClusterState = "Ready" ClusterStateUpgradeFailed ClusterState = "UpgradeFailed" ClusterStateUpgrading ClusterState = "Upgrading" ClusterStateWaitingForNodes ClusterState = "WaitingForNodes" )
type ClusterUpgradeCadence ¶
type ClusterUpgradeCadence string
const ( ClusterUpgradeCadenceWaveOne ClusterUpgradeCadence = "Wave1" ClusterUpgradeCadenceWaveTwo ClusterUpgradeCadence = "Wave2" ClusterUpgradeCadenceWaveZero ClusterUpgradeCadence = "Wave0" )
type ClusterUpgradeMode ¶
type ClusterUpgradeMode string
const ( ClusterUpgradeModeAutomatic ClusterUpgradeMode = "Automatic" ClusterUpgradeModeManual ClusterUpgradeMode = "Manual" )
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ManagedCluster }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct {
Items []ManagedCluster
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response Model *[]ManagedCluster // contains filtered or unexported fields }
func (ListByResourceGroupOperationResponse) HasMore ¶
func (r ListByResourceGroupOperationResponse) HasMore() bool
func (ListByResourceGroupOperationResponse) LoadMore ¶
func (r ListByResourceGroupOperationResponse) LoadMore(ctx context.Context) (resp ListByResourceGroupOperationResponse, err error)
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
Items []ManagedCluster
}
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response Model *[]ManagedCluster // contains filtered or unexported fields }
func (ListBySubscriptionOperationResponse) HasMore ¶
func (r ListBySubscriptionOperationResponse) HasMore() bool
func (ListBySubscriptionOperationResponse) LoadMore ¶
func (r ListBySubscriptionOperationResponse) LoadMore(ctx context.Context) (resp ListBySubscriptionOperationResponse, err error)
type LoadBalancingRule ¶
type LoadBalancingRule struct { BackendPort int64 `json:"backendPort"` FrontendPort int64 `json:"frontendPort"` ProbePort *int64 `json:"probePort,omitempty"` ProbeProtocol ProbeProtocol `json:"probeProtocol"` ProbeRequestPath *string `json:"probeRequestPath,omitempty"` Protocol Protocol `json:"protocol"` }
type ManagedCluster ¶
type ManagedCluster struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ManagedClusterProperties `json:"properties,omitempty"` Sku *Sku `json:"sku,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ManagedClusterClient ¶
type ManagedClusterClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewManagedClusterClientWithBaseURI ¶
func NewManagedClusterClientWithBaseURI(endpoint string) ManagedClusterClient
func (ManagedClusterClient) CreateOrUpdate ¶
func (c ManagedClusterClient) CreateOrUpdate(ctx context.Context, id ManagedClusterId, input ManagedCluster) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedClusterClient) CreateOrUpdateThenPoll ¶
func (c ManagedClusterClient) CreateOrUpdateThenPoll(ctx context.Context, id ManagedClusterId, input ManagedCluster) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ManagedClusterClient) Delete ¶
func (c ManagedClusterClient) Delete(ctx context.Context, id ManagedClusterId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedClusterClient) DeleteThenPoll ¶
func (c ManagedClusterClient) DeleteThenPoll(ctx context.Context, id ManagedClusterId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ManagedClusterClient) Get ¶
func (c ManagedClusterClient) Get(ctx context.Context, id ManagedClusterId) (result GetOperationResponse, err error)
Get ...
func (ManagedClusterClient) ListByResourceGroup ¶
func (c ManagedClusterClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (resp ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ManagedClusterClient) ListByResourceGroupComplete ¶
func (c ManagedClusterClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all of the results into a single object
func (ManagedClusterClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ManagedClusterClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ManagedClusterOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ManagedClusterClient) ListBySubscription ¶
func (c ManagedClusterClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (resp ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (ManagedClusterClient) ListBySubscriptionComplete ¶
func (c ManagedClusterClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all of the results into a single object
func (ManagedClusterClient) ListBySubscriptionCompleteMatchingPredicate ¶
func (c ManagedClusterClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ManagedClusterOperationPredicate) (resp ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ManagedClusterClient) Update ¶
func (c ManagedClusterClient) Update(ctx context.Context, id ManagedClusterId, input ManagedClusterUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type ManagedClusterId ¶
ManagedClusterId is a struct representing the Resource ID for a Managed Cluster
func NewManagedClusterID ¶
func NewManagedClusterID(subscriptionId string, resourceGroupName string, clusterName 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 ManagedClusterOperationPredicate ¶
type ManagedClusterOperationPredicate struct { Etag *string Id *string Location *string Name *string Type *string }
func (ManagedClusterOperationPredicate) Matches ¶
func (p ManagedClusterOperationPredicate) Matches(input ManagedCluster) bool
type ManagedClusterProperties ¶
type ManagedClusterProperties struct { AddonFeatures *[]AddonFeatures `json:"addonFeatures,omitempty"` AdminPassword *string `json:"adminPassword,omitempty"` AdminUserName string `json:"adminUserName"` AllowRdpAccess *bool `json:"allowRdpAccess,omitempty"` ApplicationTypeVersionsCleanupPolicy *ApplicationTypeVersionsCleanupPolicy `json:"applicationTypeVersionsCleanupPolicy,omitempty"` AzureActiveDirectory *AzureActiveDirectory `json:"azureActiveDirectory,omitempty"` ClientConnectionPort *int64 `json:"clientConnectionPort,omitempty"` Clients *[]ClientCertificate `json:"clients,omitempty"` ClusterCertificateThumbprints *[]string `json:"clusterCertificateThumbprints,omitempty"` ClusterCodeVersion *string `json:"clusterCodeVersion,omitempty"` ClusterId *string `json:"clusterId,omitempty"` ClusterState *ClusterState `json:"clusterState,omitempty"` ClusterUpgradeCadence *ClusterUpgradeCadence `json:"clusterUpgradeCadence,omitempty"` ClusterUpgradeMode *ClusterUpgradeMode `json:"clusterUpgradeMode,omitempty"` DnsName string `json:"dnsName"` EnableAutoOSUpgrade *bool `json:"enableAutoOSUpgrade,omitempty"` FabricSettings *[]SettingsSectionDescription `json:"fabricSettings,omitempty"` Fqdn *string `json:"fqdn,omitempty"` HttpGatewayConnectionPort *int64 `json:"httpGatewayConnectionPort,omitempty"` IPv4Address *string `json:"ipv4Address,omitempty"` LoadBalancingRules *[]LoadBalancingRule `json:"loadBalancingRules,omitempty"` NetworkSecurityRules *[]NetworkSecurityRule `json:"networkSecurityRules,omitempty"` ProvisioningState *ManagedResourceProvisioningState `json:"provisioningState,omitempty"` ZonalResiliency *bool `json:"zonalResiliency,omitempty"` }
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 NetworkSecurityRule ¶
type NetworkSecurityRule struct { Access Access `json:"access"` Description *string `json:"description,omitempty"` DestinationAddressPrefixes *[]string `json:"destinationAddressPrefixes,omitempty"` DestinationPortRanges *[]string `json:"destinationPortRanges,omitempty"` Direction Direction `json:"direction"` Name string `json:"name"` Priority int64 `json:"priority"` Protocol NsgProtocol `json:"protocol"` SourceAddressPrefixes *[]string `json:"sourceAddressPrefixes,omitempty"` SourcePortRanges *[]string `json:"sourcePortRanges,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" )
type ProbeProtocol ¶
type ProbeProtocol string
const ( ProbeProtocolHttp ProbeProtocol = "http" ProbeProtocolHttps ProbeProtocol = "https" ProbeProtocolTcp ProbeProtocol = "tcp" )
type SettingsSectionDescription ¶
type SettingsSectionDescription struct { Name string `json:"name"` Parameters []SettingsParameterDescription `json:"parameters"` }
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 UpdateOperationResponse struct { HttpResponse *http.Response Model *ManagedCluster }
Source Files ¶
- client.go
- constants.go
- id_managedcluster.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listbyresourcegroup_autorest.go
- method_listbysubscription_autorest.go
- method_update_autorest.go
- model_applicationtypeversionscleanuppolicy.go
- model_azureactivedirectory.go
- model_clientcertificate.go
- model_loadbalancingrule.go
- model_managedcluster.go
- model_managedclusterproperties.go
- model_managedclusterupdateparameters.go
- model_networksecurityrule.go
- model_settingsparameterdescription.go
- model_settingssectiondescription.go
- model_sku.go
- model_systemdata.go
- predicates.go
- version.go