Documentation ¶
Index ¶
- func PossibleValuesForLoadBalancerSku() []string
- func PossibleValuesForManagedClusterSKUName() []string
- func PossibleValuesForManagedClusterSKUTier() []string
- func PossibleValuesForNetworkMode() []string
- func PossibleValuesForNetworkPlugin() []string
- func PossibleValuesForNetworkPluginMode() []string
- func PossibleValuesForNetworkPolicy() []string
- func PossibleValuesForSnapshotType() []string
- func ValidateManagedClusterSnapshotID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOrUpdateOperationResponse
- type CreationData
- type DeleteOperationResponse
- type GetOperationResponse
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type LoadBalancerSku
- type ManagedClusterPropertiesForSnapshot
- type ManagedClusterSKU
- type ManagedClusterSKUName
- type ManagedClusterSKUTier
- type ManagedClusterSnapshot
- type ManagedClusterSnapshotId
- type ManagedClusterSnapshotOperationPredicate
- type ManagedClusterSnapshotProperties
- type ManagedClusterSnapshotsClient
- func (c ManagedClusterSnapshotsClient) CreateOrUpdate(ctx context.Context, id ManagedClusterSnapshotId, input ManagedClusterSnapshot) (result CreateOrUpdateOperationResponse, err error)
- func (c ManagedClusterSnapshotsClient) Delete(ctx context.Context, id ManagedClusterSnapshotId) (result DeleteOperationResponse, err error)
- func (c ManagedClusterSnapshotsClient) Get(ctx context.Context, id ManagedClusterSnapshotId) (result GetOperationResponse, err error)
- func (c ManagedClusterSnapshotsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c ManagedClusterSnapshotsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c ManagedClusterSnapshotsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c ManagedClusterSnapshotsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c ManagedClusterSnapshotsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c ManagedClusterSnapshotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c ManagedClusterSnapshotsClient) UpdateTags(ctx context.Context, id ManagedClusterSnapshotId, input TagsObject) (result UpdateTagsOperationResponse, err error)
- type NetworkMode
- type NetworkPlugin
- type NetworkPluginMode
- type NetworkPolicy
- type NetworkProfileForSnapshot
- type SnapshotType
- type TagsObject
- type UpdateTagsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForLoadBalancerSku ¶
func PossibleValuesForLoadBalancerSku() []string
func PossibleValuesForManagedClusterSKUName ¶
func PossibleValuesForManagedClusterSKUName() []string
func PossibleValuesForManagedClusterSKUTier ¶
func PossibleValuesForManagedClusterSKUTier() []string
func PossibleValuesForNetworkMode ¶
func PossibleValuesForNetworkMode() []string
func PossibleValuesForNetworkPlugin ¶
func PossibleValuesForNetworkPlugin() []string
func PossibleValuesForNetworkPluginMode ¶
func PossibleValuesForNetworkPluginMode() []string
func PossibleValuesForNetworkPolicy ¶
func PossibleValuesForNetworkPolicy() []string
func PossibleValuesForSnapshotType ¶
func PossibleValuesForSnapshotType() []string
func ValidateManagedClusterSnapshotID ¶
func ValidateManagedClusterSnapshotID(input interface{}, key string) (warnings []string, errors []error)
ValidateManagedClusterSnapshotID checks that 'input' can be parsed as a Managed Cluster Snapshot ID
Types ¶
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedClusterSnapshot }
type CreationData ¶
type CreationData struct {
SourceResourceId *string `json:"sourceResourceId,omitempty"`
}
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedClusterSnapshot }
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []ManagedClusterSnapshot }
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedClusterSnapshot }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ManagedClusterSnapshot }
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ManagedClusterSnapshot }
type LoadBalancerSku ¶
type LoadBalancerSku string
const ( LoadBalancerSkuBasic LoadBalancerSku = "basic" LoadBalancerSkuStandard LoadBalancerSku = "standard" )
func (*LoadBalancerSku) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *LoadBalancerSku) UnmarshalJSON(bytes []byte) error
type ManagedClusterPropertiesForSnapshot ¶
type ManagedClusterPropertiesForSnapshot struct { EnableRbac *bool `json:"enableRbac,omitempty"` KubernetesVersion *string `json:"kubernetesVersion,omitempty"` NetworkProfile *NetworkProfileForSnapshot `json:"networkProfile,omitempty"` Sku *ManagedClusterSKU `json:"sku,omitempty"` }
type ManagedClusterSKU ¶
type ManagedClusterSKU struct { Name *ManagedClusterSKUName `json:"name,omitempty"` Tier *ManagedClusterSKUTier `json:"tier,omitempty"` }
type ManagedClusterSKUName ¶
type ManagedClusterSKUName string
const (
ManagedClusterSKUNameBase ManagedClusterSKUName = "Base"
)
func (*ManagedClusterSKUName) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *ManagedClusterSKUName) UnmarshalJSON(bytes []byte) error
type ManagedClusterSKUTier ¶
type ManagedClusterSKUTier string
const ( ManagedClusterSKUTierFree ManagedClusterSKUTier = "Free" ManagedClusterSKUTierPremium ManagedClusterSKUTier = "Premium" ManagedClusterSKUTierStandard ManagedClusterSKUTier = "Standard" )
func (*ManagedClusterSKUTier) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *ManagedClusterSKUTier) UnmarshalJSON(bytes []byte) error
type ManagedClusterSnapshot ¶
type ManagedClusterSnapshot struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *ManagedClusterSnapshotProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ManagedClusterSnapshotId ¶
type ManagedClusterSnapshotId struct { SubscriptionId string ResourceGroupName string ManagedClusterSnapshotName string }
ManagedClusterSnapshotId is a struct representing the Resource ID for a Managed Cluster Snapshot
func NewManagedClusterSnapshotID ¶
func NewManagedClusterSnapshotID(subscriptionId string, resourceGroupName string, managedClusterSnapshotName string) ManagedClusterSnapshotId
NewManagedClusterSnapshotID returns a new ManagedClusterSnapshotId struct
func ParseManagedClusterSnapshotID ¶
func ParseManagedClusterSnapshotID(input string) (*ManagedClusterSnapshotId, error)
ParseManagedClusterSnapshotID parses 'input' into a ManagedClusterSnapshotId
func ParseManagedClusterSnapshotIDInsensitively ¶
func ParseManagedClusterSnapshotIDInsensitively(input string) (*ManagedClusterSnapshotId, error)
ParseManagedClusterSnapshotIDInsensitively parses 'input' case-insensitively into a ManagedClusterSnapshotId note: this method should only be used for API response data and not user input
func (*ManagedClusterSnapshotId) FromParseResult ¶
func (id *ManagedClusterSnapshotId) FromParseResult(input resourceids.ParseResult) error
func (ManagedClusterSnapshotId) ID ¶
func (id ManagedClusterSnapshotId) ID() string
ID returns the formatted Managed Cluster Snapshot ID
func (ManagedClusterSnapshotId) Segments ¶
func (id ManagedClusterSnapshotId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Managed Cluster Snapshot ID
func (ManagedClusterSnapshotId) String ¶
func (id ManagedClusterSnapshotId) String() string
String returns a human-readable description of this Managed Cluster Snapshot ID
type ManagedClusterSnapshotOperationPredicate ¶
type ManagedClusterSnapshotOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ManagedClusterSnapshotOperationPredicate) Matches ¶
func (p ManagedClusterSnapshotOperationPredicate) Matches(input ManagedClusterSnapshot) bool
type ManagedClusterSnapshotProperties ¶
type ManagedClusterSnapshotProperties struct { CreationData *CreationData `json:"creationData,omitempty"` ManagedClusterPropertiesReadOnly *ManagedClusterPropertiesForSnapshot `json:"managedClusterPropertiesReadOnly,omitempty"` SnapshotType *SnapshotType `json:"snapshotType,omitempty"` }
type ManagedClusterSnapshotsClient ¶
type ManagedClusterSnapshotsClient struct {
Client *resourcemanager.Client
}
func NewManagedClusterSnapshotsClientWithBaseURI ¶
func NewManagedClusterSnapshotsClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedClusterSnapshotsClient, error)
func (ManagedClusterSnapshotsClient) CreateOrUpdate ¶
func (c ManagedClusterSnapshotsClient) CreateOrUpdate(ctx context.Context, id ManagedClusterSnapshotId, input ManagedClusterSnapshot) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ManagedClusterSnapshotsClient) Delete ¶
func (c ManagedClusterSnapshotsClient) Delete(ctx context.Context, id ManagedClusterSnapshotId) (result DeleteOperationResponse, err error)
Delete ...
func (ManagedClusterSnapshotsClient) Get ¶
func (c ManagedClusterSnapshotsClient) Get(ctx context.Context, id ManagedClusterSnapshotId) (result GetOperationResponse, err error)
Get ...
func (ManagedClusterSnapshotsClient) List ¶
func (c ManagedClusterSnapshotsClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (ManagedClusterSnapshotsClient) ListByResourceGroup ¶
func (c ManagedClusterSnapshotsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (ManagedClusterSnapshotsClient) ListByResourceGroupComplete ¶
func (c ManagedClusterSnapshotsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (ManagedClusterSnapshotsClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c ManagedClusterSnapshotsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate ManagedClusterSnapshotOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedClusterSnapshotsClient) ListComplete ¶
func (c ManagedClusterSnapshotsClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ManagedClusterSnapshotsClient) ListCompleteMatchingPredicate ¶
func (c ManagedClusterSnapshotsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate ManagedClusterSnapshotOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ManagedClusterSnapshotsClient) UpdateTags ¶
func (c ManagedClusterSnapshotsClient) UpdateTags(ctx context.Context, id ManagedClusterSnapshotId, input TagsObject) (result UpdateTagsOperationResponse, err error)
UpdateTags ...
type NetworkMode ¶
type NetworkMode string
const ( NetworkModeBridge NetworkMode = "bridge" NetworkModeTransparent NetworkMode = "transparent" )
func (*NetworkMode) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *NetworkMode) UnmarshalJSON(bytes []byte) error
type NetworkPlugin ¶
type NetworkPlugin string
const ( NetworkPluginAzure NetworkPlugin = "azure" NetworkPluginKubenet NetworkPlugin = "kubenet" NetworkPluginNone NetworkPlugin = "none" )
func (*NetworkPlugin) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *NetworkPlugin) UnmarshalJSON(bytes []byte) error
type NetworkPluginMode ¶
type NetworkPluginMode string
const (
NetworkPluginModeOverlay NetworkPluginMode = "overlay"
)
func (*NetworkPluginMode) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *NetworkPluginMode) UnmarshalJSON(bytes []byte) error
type NetworkPolicy ¶
type NetworkPolicy string
const ( NetworkPolicyAzure NetworkPolicy = "azure" NetworkPolicyCalico NetworkPolicy = "calico" NetworkPolicyCilium NetworkPolicy = "cilium" )
func (*NetworkPolicy) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *NetworkPolicy) UnmarshalJSON(bytes []byte) error
type NetworkProfileForSnapshot ¶
type NetworkProfileForSnapshot struct { LoadBalancerSku *LoadBalancerSku `json:"loadBalancerSku,omitempty"` NetworkMode *NetworkMode `json:"networkMode,omitempty"` NetworkPlugin *NetworkPlugin `json:"networkPlugin,omitempty"` NetworkPluginMode *NetworkPluginMode `json:"networkPluginMode,omitempty"` NetworkPolicy *NetworkPolicy `json:"networkPolicy,omitempty"` }
type SnapshotType ¶
type SnapshotType string
const ( SnapshotTypeManagedCluster SnapshotType = "ManagedCluster" SnapshotTypeNodePool SnapshotType = "NodePool" )
func (*SnapshotType) UnmarshalJSON ¶ added in v0.20240213.1120950
func (s *SnapshotType) UnmarshalJSON(bytes []byte) error
type TagsObject ¶
type UpdateTagsOperationResponse ¶
type UpdateTagsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ManagedClusterSnapshot }
Source Files ¶
- client.go
- constants.go
- id_managedclustersnapshot.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_updatetags.go
- model_creationdata.go
- model_managedclusterpropertiesforsnapshot.go
- model_managedclustersku.go
- model_managedclustersnapshot.go
- model_managedclustersnapshotproperties.go
- model_networkprofileforsnapshot.go
- model_tagsobject.go
- predicates.go
- version.go