Documentation ¶
Index ¶
- func PossibleValuesForAKSIdentityType() []string
- func PossibleValuesForLevelType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateScopedExtensionID(input interface{}, key string) (warnings []string, errors []error)
- type AKSIdentityType
- type ClusterExtensionsClient
- func (c ClusterExtensionsClient) ExtensionsCreate(ctx context.Context, id ScopedExtensionId, input Extension) (result ExtensionsCreateOperationResponse, err error)
- func (c ClusterExtensionsClient) ExtensionsCreateThenPoll(ctx context.Context, id ScopedExtensionId, input Extension) error
- func (c ClusterExtensionsClient) ExtensionsDelete(ctx context.Context, id ScopedExtensionId, ...) (result ExtensionsDeleteOperationResponse, err error)
- func (c ClusterExtensionsClient) ExtensionsDeleteThenPoll(ctx context.Context, id ScopedExtensionId, ...) error
- func (c ClusterExtensionsClient) ExtensionsGet(ctx context.Context, id ScopedExtensionId) (result ExtensionsGetOperationResponse, err error)
- func (c ClusterExtensionsClient) ExtensionsList(ctx context.Context, id commonids.ScopeId) (result ExtensionsListOperationResponse, err error)
- func (c ClusterExtensionsClient) ExtensionsListComplete(ctx context.Context, id commonids.ScopeId) (ExtensionsListCompleteResult, error)
- func (c ClusterExtensionsClient) ExtensionsListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ExtensionsListCompleteResult, err error)
- func (c ClusterExtensionsClient) ExtensionsUpdate(ctx context.Context, id ScopedExtensionId, input PatchExtension) (result ExtensionsUpdateOperationResponse, err error)
- func (c ClusterExtensionsClient) ExtensionsUpdateThenPoll(ctx context.Context, id ScopedExtensionId, input PatchExtension) error
- type ErrorAdditionalInfo
- type ErrorDetail
- type Extension
- type ExtensionOperationPredicate
- type ExtensionProperties
- type ExtensionPropertiesAksAssignedIdentity
- type ExtensionStatus
- type ExtensionsCreateOperationResponse
- type ExtensionsDeleteOperationOptions
- type ExtensionsDeleteOperationResponse
- type ExtensionsGetOperationResponse
- type ExtensionsListCompleteResult
- type ExtensionsListOperationResponse
- type ExtensionsUpdateOperationResponse
- type LevelType
- type PatchExtension
- type PatchExtensionProperties
- type Plan
- type ProvisioningState
- type Scope
- type ScopeCluster
- type ScopeNamespace
- type ScopedExtensionId
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAKSIdentityType ¶
func PossibleValuesForAKSIdentityType() []string
func PossibleValuesForLevelType ¶
func PossibleValuesForLevelType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateScopedExtensionID ¶ added in v0.20230714.1170806
ValidateScopedExtensionID checks that 'input' can be parsed as a Scoped Extension ID
Types ¶
type AKSIdentityType ¶
type AKSIdentityType string
const ( AKSIdentityTypeSystemAssigned AKSIdentityType = "SystemAssigned" AKSIdentityTypeUserAssigned AKSIdentityType = "UserAssigned" )
func (*AKSIdentityType) UnmarshalJSON ¶
func (s *AKSIdentityType) UnmarshalJSON(bytes []byte) error
type ClusterExtensionsClient ¶
type ClusterExtensionsClient struct {
Client *resourcemanager.Client
}
func NewClusterExtensionsClientWithBaseURI ¶
func NewClusterExtensionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ClusterExtensionsClient, error)
func (ClusterExtensionsClient) ExtensionsCreate ¶
func (c ClusterExtensionsClient) ExtensionsCreate(ctx context.Context, id ScopedExtensionId, input Extension) (result ExtensionsCreateOperationResponse, err error)
ExtensionsCreate ...
func (ClusterExtensionsClient) ExtensionsCreateThenPoll ¶
func (c ClusterExtensionsClient) ExtensionsCreateThenPoll(ctx context.Context, id ScopedExtensionId, input Extension) error
ExtensionsCreateThenPoll performs ExtensionsCreate then polls until it's completed
func (ClusterExtensionsClient) ExtensionsDelete ¶
func (c ClusterExtensionsClient) ExtensionsDelete(ctx context.Context, id ScopedExtensionId, options ExtensionsDeleteOperationOptions) (result ExtensionsDeleteOperationResponse, err error)
ExtensionsDelete ...
func (ClusterExtensionsClient) ExtensionsDeleteThenPoll ¶
func (c ClusterExtensionsClient) ExtensionsDeleteThenPoll(ctx context.Context, id ScopedExtensionId, options ExtensionsDeleteOperationOptions) error
ExtensionsDeleteThenPoll performs ExtensionsDelete then polls until it's completed
func (ClusterExtensionsClient) ExtensionsGet ¶
func (c ClusterExtensionsClient) ExtensionsGet(ctx context.Context, id ScopedExtensionId) (result ExtensionsGetOperationResponse, err error)
ExtensionsGet ...
func (ClusterExtensionsClient) ExtensionsList ¶
func (c ClusterExtensionsClient) ExtensionsList(ctx context.Context, id commonids.ScopeId) (result ExtensionsListOperationResponse, err error)
ExtensionsList ...
func (ClusterExtensionsClient) ExtensionsListComplete ¶
func (c ClusterExtensionsClient) ExtensionsListComplete(ctx context.Context, id commonids.ScopeId) (ExtensionsListCompleteResult, error)
ExtensionsListComplete retrieves all the results into a single object
func (ClusterExtensionsClient) ExtensionsListCompleteMatchingPredicate ¶
func (c ClusterExtensionsClient) ExtensionsListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate ExtensionOperationPredicate) (result ExtensionsListCompleteResult, err error)
ExtensionsListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ClusterExtensionsClient) ExtensionsUpdate ¶
func (c ClusterExtensionsClient) ExtensionsUpdate(ctx context.Context, id ScopedExtensionId, input PatchExtension) (result ExtensionsUpdateOperationResponse, err error)
ExtensionsUpdate ...
func (ClusterExtensionsClient) ExtensionsUpdateThenPoll ¶
func (c ClusterExtensionsClient) ExtensionsUpdateThenPoll(ctx context.Context, id ScopedExtensionId, input PatchExtension) error
ExtensionsUpdateThenPoll performs ExtensionsUpdate then polls until it's completed
type ErrorAdditionalInfo ¶
type ErrorAdditionalInfo struct { Info *interface{} `json:"info,omitempty"` Type *string `json:"type,omitempty"` }
type ErrorDetail ¶
type ErrorDetail struct { AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"` Code *string `json:"code,omitempty"` Details *[]ErrorDetail `json:"details,omitempty"` Message *string `json:"message,omitempty"` Target *string `json:"target,omitempty"` }
type Extension ¶
type Extension struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAssigned `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *ExtensionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ExtensionOperationPredicate ¶
func (ExtensionOperationPredicate) Matches ¶
func (p ExtensionOperationPredicate) Matches(input Extension) bool
type ExtensionProperties ¶
type ExtensionProperties struct { AksAssignedIdentity *ExtensionPropertiesAksAssignedIdentity `json:"aksAssignedIdentity,omitempty"` AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` ConfigurationProtectedSettings *map[string]string `json:"configurationProtectedSettings,omitempty"` ConfigurationSettings *map[string]string `json:"configurationSettings,omitempty"` CurrentVersion *string `json:"currentVersion,omitempty"` CustomLocationSettings *map[string]string `json:"customLocationSettings,omitempty"` ErrorInfo *ErrorDetail `json:"errorInfo,omitempty"` ExtensionType *string `json:"extensionType,omitempty"` IsSystemExtension *bool `json:"isSystemExtension,omitempty"` PackageUri *string `json:"packageUri,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` ReleaseTrain *string `json:"releaseTrain,omitempty"` Scope *Scope `json:"scope,omitempty"` Statuses *[]ExtensionStatus `json:"statuses,omitempty"` Version *string `json:"version,omitempty"` }
type ExtensionPropertiesAksAssignedIdentity ¶
type ExtensionPropertiesAksAssignedIdentity struct { PrincipalId *string `json:"principalId,omitempty"` TenantId *string `json:"tenantId,omitempty"` Type *AKSIdentityType `json:"type,omitempty"` }
type ExtensionStatus ¶
type ExtensionsDeleteOperationOptions ¶
type ExtensionsDeleteOperationOptions struct {
ForceDelete *bool
}
func DefaultExtensionsDeleteOperationOptions ¶
func DefaultExtensionsDeleteOperationOptions() ExtensionsDeleteOperationOptions
func (ExtensionsDeleteOperationOptions) ToHeaders ¶
func (o ExtensionsDeleteOperationOptions) ToHeaders() *client.Headers
func (ExtensionsDeleteOperationOptions) ToOData ¶
func (o ExtensionsDeleteOperationOptions) ToOData() *odata.Query
func (ExtensionsDeleteOperationOptions) ToQuery ¶
func (o ExtensionsDeleteOperationOptions) ToQuery() *client.QueryParams
type ExtensionsListCompleteResult ¶
type ExtensionsListCompleteResult struct {
Items []Extension
}
type PatchExtension ¶
type PatchExtension struct {
Properties *PatchExtensionProperties `json:"properties,omitempty"`
}
type PatchExtensionProperties ¶
type PatchExtensionProperties struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` ConfigurationProtectedSettings *map[string]string `json:"configurationProtectedSettings,omitempty"` ConfigurationSettings *map[string]string `json:"configurationSettings,omitempty"` ReleaseTrain *string `json:"releaseTrain,omitempty"` Version *string `json:"version,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type Scope ¶
type Scope struct { Cluster *ScopeCluster `json:"cluster,omitempty"` Namespace *ScopeNamespace `json:"namespace,omitempty"` }
type ScopeCluster ¶
type ScopeCluster struct {
ReleaseNamespace *string `json:"releaseNamespace,omitempty"`
}
type ScopeNamespace ¶
type ScopeNamespace struct {
TargetNamespace *string `json:"targetNamespace,omitempty"`
}
type ScopedExtensionId ¶ added in v0.20230714.1170806
ScopedExtensionId is a struct representing the Resource ID for a Scoped Extension
func NewScopedExtensionID ¶ added in v0.20230714.1170806
func NewScopedExtensionID(scope string, extensionName string) ScopedExtensionId
NewScopedExtensionID returns a new ScopedExtensionId struct
func ParseScopedExtensionID ¶ added in v0.20230714.1170806
func ParseScopedExtensionID(input string) (*ScopedExtensionId, error)
ParseScopedExtensionID parses 'input' into a ScopedExtensionId
func ParseScopedExtensionIDInsensitively ¶ added in v0.20230714.1170806
func ParseScopedExtensionIDInsensitively(input string) (*ScopedExtensionId, error)
ParseScopedExtensionIDInsensitively parses 'input' case-insensitively into a ScopedExtensionId note: this method should only be used for API response data and not user input
func (*ScopedExtensionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ScopedExtensionId) FromParseResult(input resourceids.ParseResult) error
func (ScopedExtensionId) ID ¶ added in v0.20230714.1170806
func (id ScopedExtensionId) ID() string
ID returns the formatted Scoped Extension ID
func (ScopedExtensionId) Segments ¶ added in v0.20230714.1170806
func (id ScopedExtensionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Extension ID
func (ScopedExtensionId) String ¶ added in v0.20230714.1170806
func (id ScopedExtensionId) String() string
String returns a human-readable description of this Scoped Extension ID
Source Files ¶
- client.go
- constants.go
- id_scopedextension.go
- method_extensionscreate.go
- method_extensionsdelete.go
- method_extensionsget.go
- method_extensionslist.go
- method_extensionsupdate.go
- model_erroradditionalinfo.go
- model_errordetail.go
- model_extension.go
- model_extensionproperties.go
- model_extensionpropertiesaksassignedidentity.go
- model_extensionstatus.go
- model_patchextension.go
- model_patchextensionproperties.go
- model_plan.go
- model_scope.go
- model_scopecluster.go
- model_scopenamespace.go
- predicates.go
- version.go