Documentation ¶
Index ¶
- func PossibleValuesForAKSIdentityType() []string
- func PossibleValuesForLevelType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateScopedExtensionID(input interface{}, key string) (warnings []string, errors []error)
- type AKSIdentityType
- type CreateOperationResponse
- type DeleteOperationOptions
- type DeleteOperationResponse
- type ErrorAdditionalInfo
- type ErrorDetail
- type Extension
- type ExtensionOperationPredicate
- type ExtensionProperties
- type ExtensionPropertiesAksAssignedIdentity
- type ExtensionStatus
- type ExtensionsClient
- func (c ExtensionsClient) Create(ctx context.Context, id ScopedExtensionId, input Extension) (result CreateOperationResponse, err error)
- func (c ExtensionsClient) CreateThenPoll(ctx context.Context, id ScopedExtensionId, input Extension) error
- func (c ExtensionsClient) Delete(ctx context.Context, id ScopedExtensionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
- func (c ExtensionsClient) DeleteThenPoll(ctx context.Context, id ScopedExtensionId, options DeleteOperationOptions) error
- func (c ExtensionsClient) Get(ctx context.Context, id ScopedExtensionId) (result GetOperationResponse, err error)
- func (c ExtensionsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
- func (c ExtensionsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
- func (c ExtensionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListCompleteResult, err error)
- func (c ExtensionsClient) Update(ctx context.Context, id ScopedExtensionId, input PatchExtension) (result UpdateOperationResponse, err error)
- func (c ExtensionsClient) UpdateThenPoll(ctx context.Context, id ScopedExtensionId, input PatchExtension) error
- type GetOperationResponse
- type LevelType
- type ListCompleteResult
- type ListOperationResponse
- type PatchExtension
- type PatchExtensionProperties
- type Plan
- type ProvisioningState
- type Scope
- type ScopeCluster
- type ScopeNamespace
- type ScopedExtensionId
- type UpdateOperationResponse
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 ¶
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 CreateOperationResponse ¶
type DeleteOperationOptions ¶
type DeleteOperationOptions struct {
ForceDelete *bool
}
func DefaultDeleteOperationOptions ¶
func DefaultDeleteOperationOptions() DeleteOperationOptions
func (DeleteOperationOptions) ToHeaders ¶
func (o DeleteOperationOptions) ToHeaders() *client.Headers
func (DeleteOperationOptions) ToOData ¶
func (o DeleteOperationOptions) ToOData() *odata.Query
func (DeleteOperationOptions) ToQuery ¶
func (o DeleteOperationOptions) ToQuery() *client.QueryParams
type DeleteOperationResponse ¶
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 ExtensionsClient ¶
type ExtensionsClient struct {
Client *resourcemanager.Client
}
func NewExtensionsClientWithBaseURI ¶
func NewExtensionsClientWithBaseURI(sdkApi sdkEnv.Api) (*ExtensionsClient, error)
func (ExtensionsClient) Create ¶
func (c ExtensionsClient) Create(ctx context.Context, id ScopedExtensionId, input Extension) (result CreateOperationResponse, err error)
Create ...
func (ExtensionsClient) CreateThenPoll ¶
func (c ExtensionsClient) CreateThenPoll(ctx context.Context, id ScopedExtensionId, input Extension) error
CreateThenPoll performs Create then polls until it's completed
func (ExtensionsClient) Delete ¶
func (c ExtensionsClient) Delete(ctx context.Context, id ScopedExtensionId, options DeleteOperationOptions) (result DeleteOperationResponse, err error)
Delete ...
func (ExtensionsClient) DeleteThenPoll ¶
func (c ExtensionsClient) DeleteThenPoll(ctx context.Context, id ScopedExtensionId, options DeleteOperationOptions) error
DeleteThenPoll performs Delete then polls until it's completed
func (ExtensionsClient) Get ¶
func (c ExtensionsClient) Get(ctx context.Context, id ScopedExtensionId) (result GetOperationResponse, err error)
Get ...
func (ExtensionsClient) List ¶
func (c ExtensionsClient) List(ctx context.Context, id commonids.ScopeId) (result ListOperationResponse, err error)
List ...
func (ExtensionsClient) ListComplete ¶
func (c ExtensionsClient) ListComplete(ctx context.Context, id commonids.ScopeId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ExtensionsClient) ListCompleteMatchingPredicate ¶
func (c ExtensionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate ExtensionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ExtensionsClient) Update ¶
func (c ExtensionsClient) Update(ctx context.Context, id ScopedExtensionId, input PatchExtension) (result UpdateOperationResponse, err error)
Update ...
func (ExtensionsClient) UpdateThenPoll ¶
func (c ExtensionsClient) UpdateThenPoll(ctx context.Context, id ScopedExtensionId, input PatchExtension) error
UpdateThenPoll performs Update then polls until it's completed
type GetOperationResponse ¶
type ListCompleteResult ¶
type ListOperationResponse ¶
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 ¶
ScopedExtensionId is a struct representing the Resource ID for a Scoped Extension
func NewScopedExtensionID ¶
func NewScopedExtensionID(scope string, extensionName string) ScopedExtensionId
NewScopedExtensionID returns a new ScopedExtensionId struct
func ParseScopedExtensionID ¶
func ParseScopedExtensionID(input string) (*ScopedExtensionId, error)
ParseScopedExtensionID parses 'input' into a ScopedExtensionId
func ParseScopedExtensionIDInsensitively ¶
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 ¶
func (id *ScopedExtensionId) FromParseResult(input resourceids.ParseResult) error
func (ScopedExtensionId) ID ¶
func (id ScopedExtensionId) ID() string
ID returns the formatted Scoped Extension ID
func (ScopedExtensionId) Segments ¶
func (id ScopedExtensionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Extension ID
func (ScopedExtensionId) String ¶
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_create.go
- method_delete.go
- method_get.go
- method_list.go
- method_update.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