Documentation ¶
Index ¶
- func PossibleValuesForExtensionAggregateState() []string
- func PossibleValuesForExtensionManagedBy() []string
- func PossibleValuesForNodeExtensionState() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForStatusLevelTypes() []string
- func ValidateArcSettingID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateExtensionID(input interface{}, key string) (warnings []string, errors []error)
- type ArcSettingId
- type Extension
- type ExtensionAggregateState
- type ExtensionId
- type ExtensionInstanceView
- type ExtensionInstanceViewStatus
- type ExtensionManagedBy
- type ExtensionOperationPredicate
- type ExtensionParameters
- type ExtensionProperties
- type ExtensionUpgradeParameters
- type ExtensionsClient
- func (c ExtensionsClient) ExtensionsCreate(ctx context.Context, id ExtensionId, input Extension) (result ExtensionsCreateOperationResponse, err error)
- func (c ExtensionsClient) ExtensionsCreateThenPoll(ctx context.Context, id ExtensionId, input Extension) error
- func (c ExtensionsClient) ExtensionsDelete(ctx context.Context, id ExtensionId) (result ExtensionsDeleteOperationResponse, err error)
- func (c ExtensionsClient) ExtensionsDeleteThenPoll(ctx context.Context, id ExtensionId) error
- func (c ExtensionsClient) ExtensionsGet(ctx context.Context, id ExtensionId) (result ExtensionsGetOperationResponse, err error)
- func (c ExtensionsClient) ExtensionsListByArcSetting(ctx context.Context, id ArcSettingId) (resp ExtensionsListByArcSettingOperationResponse, err error)
- func (c ExtensionsClient) ExtensionsListByArcSettingComplete(ctx context.Context, id ArcSettingId) (ExtensionsListByArcSettingCompleteResult, error)
- func (c ExtensionsClient) ExtensionsListByArcSettingCompleteMatchingPredicate(ctx context.Context, id ArcSettingId, predicate ExtensionOperationPredicate) (resp ExtensionsListByArcSettingCompleteResult, err error)
- func (c ExtensionsClient) ExtensionsUpdate(ctx context.Context, id ExtensionId, input Extension) (result ExtensionsUpdateOperationResponse, err error)
- func (c ExtensionsClient) ExtensionsUpdateThenPoll(ctx context.Context, id ExtensionId, input Extension) error
- func (c ExtensionsClient) ExtensionsUpgrade(ctx context.Context, id ExtensionId, input ExtensionUpgradeParameters) (result ExtensionsUpgradeOperationResponse, err error)
- func (c ExtensionsClient) ExtensionsUpgradeThenPoll(ctx context.Context, id ExtensionId, input ExtensionUpgradeParameters) error
- type ExtensionsCreateOperationResponse
- type ExtensionsDeleteOperationResponse
- type ExtensionsGetOperationResponse
- type ExtensionsListByArcSettingCompleteResult
- type ExtensionsListByArcSettingOperationResponse
- type ExtensionsUpdateOperationResponse
- type ExtensionsUpgradeOperationResponse
- type NodeExtensionState
- type PerNodeExtensionState
- type ProvisioningState
- type StatusLevelTypes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForExtensionAggregateState ¶
func PossibleValuesForExtensionAggregateState() []string
func PossibleValuesForExtensionManagedBy ¶
func PossibleValuesForExtensionManagedBy() []string
func PossibleValuesForNodeExtensionState ¶
func PossibleValuesForNodeExtensionState() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForStatusLevelTypes ¶
func PossibleValuesForStatusLevelTypes() []string
func ValidateArcSettingID ¶
ValidateArcSettingID checks that 'input' can be parsed as a Arc Setting ID
func ValidateExtensionID ¶
ValidateExtensionID checks that 'input' can be parsed as a Extension ID
Types ¶
type ArcSettingId ¶
type ArcSettingId struct { SubscriptionId string ResourceGroupName string ClusterName string ArcSettingName string }
ArcSettingId is a struct representing the Resource ID for a Arc Setting
func NewArcSettingID ¶
func NewArcSettingID(subscriptionId string, resourceGroupName string, clusterName string, arcSettingName string) ArcSettingId
NewArcSettingID returns a new ArcSettingId struct
func ParseArcSettingID ¶
func ParseArcSettingID(input string) (*ArcSettingId, error)
ParseArcSettingID parses 'input' into a ArcSettingId
func ParseArcSettingIDInsensitively ¶
func ParseArcSettingIDInsensitively(input string) (*ArcSettingId, error)
ParseArcSettingIDInsensitively parses 'input' case-insensitively into a ArcSettingId note: this method should only be used for API response data and not user input
func (ArcSettingId) Segments ¶
func (id ArcSettingId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Arc Setting ID
func (ArcSettingId) String ¶
func (id ArcSettingId) String() string
String returns a human-readable description of this Arc Setting ID
type Extension ¶
type Extension struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ExtensionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type ExtensionAggregateState ¶
type ExtensionAggregateState string
const ( ExtensionAggregateStateAccepted ExtensionAggregateState = "Accepted" ExtensionAggregateStateCanceled ExtensionAggregateState = "Canceled" ExtensionAggregateStateConnected ExtensionAggregateState = "Connected" ExtensionAggregateStateCreating ExtensionAggregateState = "Creating" ExtensionAggregateStateDeleted ExtensionAggregateState = "Deleted" ExtensionAggregateStateDeleting ExtensionAggregateState = "Deleting" ExtensionAggregateStateDisconnected ExtensionAggregateState = "Disconnected" ExtensionAggregateStateError ExtensionAggregateState = "Error" ExtensionAggregateStateFailed ExtensionAggregateState = "Failed" ExtensionAggregateStateInProgress ExtensionAggregateState = "InProgress" ExtensionAggregateStateMoving ExtensionAggregateState = "Moving" ExtensionAggregateStateNotSpecified ExtensionAggregateState = "NotSpecified" ExtensionAggregateStatePartiallyConnected ExtensionAggregateState = "PartiallyConnected" ExtensionAggregateStatePartiallySucceeded ExtensionAggregateState = "PartiallySucceeded" ExtensionAggregateStateProvisioning ExtensionAggregateState = "Provisioning" ExtensionAggregateStateSucceeded ExtensionAggregateState = "Succeeded" ExtensionAggregateStateUpdating ExtensionAggregateState = "Updating" ExtensionAggregateStateUpgradeFailedRollbackSucceeded ExtensionAggregateState = "UpgradeFailedRollbackSucceeded" )
type ExtensionId ¶
type ExtensionId struct { SubscriptionId string ResourceGroupName string ClusterName string ArcSettingName string ExtensionName string }
ExtensionId is a struct representing the Resource ID for a Extension
func NewExtensionID ¶
func NewExtensionID(subscriptionId string, resourceGroupName string, clusterName string, arcSettingName string, extensionName string) ExtensionId
NewExtensionID returns a new ExtensionId struct
func ParseExtensionID ¶
func ParseExtensionID(input string) (*ExtensionId, error)
ParseExtensionID parses 'input' into a ExtensionId
func ParseExtensionIDInsensitively ¶
func ParseExtensionIDInsensitively(input string) (*ExtensionId, error)
ParseExtensionIDInsensitively parses 'input' case-insensitively into a ExtensionId note: this method should only be used for API response data and not user input
func (ExtensionId) Segments ¶
func (id ExtensionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Extension ID
func (ExtensionId) String ¶
func (id ExtensionId) String() string
String returns a human-readable description of this Extension ID
type ExtensionInstanceView ¶
type ExtensionInstanceView struct { Name *string `json:"name,omitempty"` Status *ExtensionInstanceViewStatus `json:"status,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type ExtensionInstanceViewStatus ¶
type ExtensionInstanceViewStatus struct { Code *string `json:"code,omitempty"` DisplayStatus *string `json:"displayStatus,omitempty"` Level *StatusLevelTypes `json:"level,omitempty"` Message *string `json:"message,omitempty"` Time *string `json:"time,omitempty"` }
func (*ExtensionInstanceViewStatus) GetTimeAsTime ¶
func (o *ExtensionInstanceViewStatus) GetTimeAsTime() (*time.Time, error)
func (*ExtensionInstanceViewStatus) SetTimeAsTime ¶
func (o *ExtensionInstanceViewStatus) SetTimeAsTime(input time.Time)
type ExtensionManagedBy ¶
type ExtensionManagedBy string
const ( ExtensionManagedByAzure ExtensionManagedBy = "Azure" ExtensionManagedByUser ExtensionManagedBy = "User" )
type ExtensionOperationPredicate ¶
func (ExtensionOperationPredicate) Matches ¶
func (p ExtensionOperationPredicate) Matches(input Extension) bool
type ExtensionParameters ¶
type ExtensionParameters struct { AutoUpgradeMinorVersion *bool `json:"autoUpgradeMinorVersion,omitempty"` EnableAutomaticUpgrade *bool `json:"enableAutomaticUpgrade,omitempty"` ForceUpdateTag *string `json:"forceUpdateTag,omitempty"` ProtectedSettings *interface{} `json:"protectedSettings,omitempty"` Publisher *string `json:"publisher,omitempty"` Settings *interface{} `json:"settings,omitempty"` Type *string `json:"type,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type ExtensionProperties ¶
type ExtensionProperties struct { AggregateState *ExtensionAggregateState `json:"aggregateState,omitempty"` ExtensionParameters *ExtensionParameters `json:"extensionParameters,omitempty"` ManagedBy *ExtensionManagedBy `json:"managedBy,omitempty"` PerNodeExtensionDetails *[]PerNodeExtensionState `json:"perNodeExtensionDetails,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` }
type ExtensionUpgradeParameters ¶
type ExtensionUpgradeParameters struct {
TargetVersion *string `json:"targetVersion,omitempty"`
}
type ExtensionsClient ¶
func NewExtensionsClientWithBaseURI ¶
func NewExtensionsClientWithBaseURI(endpoint string) ExtensionsClient
func (ExtensionsClient) ExtensionsCreate ¶
func (c ExtensionsClient) ExtensionsCreate(ctx context.Context, id ExtensionId, input Extension) (result ExtensionsCreateOperationResponse, err error)
ExtensionsCreate ...
func (ExtensionsClient) ExtensionsCreateThenPoll ¶
func (c ExtensionsClient) ExtensionsCreateThenPoll(ctx context.Context, id ExtensionId, input Extension) error
ExtensionsCreateThenPoll performs ExtensionsCreate then polls until it's completed
func (ExtensionsClient) ExtensionsDelete ¶
func (c ExtensionsClient) ExtensionsDelete(ctx context.Context, id ExtensionId) (result ExtensionsDeleteOperationResponse, err error)
ExtensionsDelete ...
func (ExtensionsClient) ExtensionsDeleteThenPoll ¶
func (c ExtensionsClient) ExtensionsDeleteThenPoll(ctx context.Context, id ExtensionId) error
ExtensionsDeleteThenPoll performs ExtensionsDelete then polls until it's completed
func (ExtensionsClient) ExtensionsGet ¶
func (c ExtensionsClient) ExtensionsGet(ctx context.Context, id ExtensionId) (result ExtensionsGetOperationResponse, err error)
ExtensionsGet ...
func (ExtensionsClient) ExtensionsListByArcSetting ¶
func (c ExtensionsClient) ExtensionsListByArcSetting(ctx context.Context, id ArcSettingId) (resp ExtensionsListByArcSettingOperationResponse, err error)
ExtensionsListByArcSetting ...
func (ExtensionsClient) ExtensionsListByArcSettingComplete ¶
func (c ExtensionsClient) ExtensionsListByArcSettingComplete(ctx context.Context, id ArcSettingId) (ExtensionsListByArcSettingCompleteResult, error)
ExtensionsListByArcSettingComplete retrieves all of the results into a single object
func (ExtensionsClient) ExtensionsListByArcSettingCompleteMatchingPredicate ¶
func (c ExtensionsClient) ExtensionsListByArcSettingCompleteMatchingPredicate(ctx context.Context, id ArcSettingId, predicate ExtensionOperationPredicate) (resp ExtensionsListByArcSettingCompleteResult, err error)
ExtensionsListByArcSettingCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ExtensionsClient) ExtensionsUpdate ¶
func (c ExtensionsClient) ExtensionsUpdate(ctx context.Context, id ExtensionId, input Extension) (result ExtensionsUpdateOperationResponse, err error)
ExtensionsUpdate ...
func (ExtensionsClient) ExtensionsUpdateThenPoll ¶
func (c ExtensionsClient) ExtensionsUpdateThenPoll(ctx context.Context, id ExtensionId, input Extension) error
ExtensionsUpdateThenPoll performs ExtensionsUpdate then polls until it's completed
func (ExtensionsClient) ExtensionsUpgrade ¶
func (c ExtensionsClient) ExtensionsUpgrade(ctx context.Context, id ExtensionId, input ExtensionUpgradeParameters) (result ExtensionsUpgradeOperationResponse, err error)
ExtensionsUpgrade ...
func (ExtensionsClient) ExtensionsUpgradeThenPoll ¶
func (c ExtensionsClient) ExtensionsUpgradeThenPoll(ctx context.Context, id ExtensionId, input ExtensionUpgradeParameters) error
ExtensionsUpgradeThenPoll performs ExtensionsUpgrade then polls until it's completed
type ExtensionsCreateOperationResponse ¶
type ExtensionsCreateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ExtensionsDeleteOperationResponse ¶
type ExtensionsDeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ExtensionsListByArcSettingCompleteResult ¶
type ExtensionsListByArcSettingCompleteResult struct {
Items []Extension
}
type ExtensionsListByArcSettingOperationResponse ¶
type ExtensionsListByArcSettingOperationResponse struct { HttpResponse *http.Response Model *[]Extension // contains filtered or unexported fields }
func (ExtensionsListByArcSettingOperationResponse) HasMore ¶
func (r ExtensionsListByArcSettingOperationResponse) HasMore() bool
func (ExtensionsListByArcSettingOperationResponse) LoadMore ¶
func (r ExtensionsListByArcSettingOperationResponse) LoadMore(ctx context.Context) (resp ExtensionsListByArcSettingOperationResponse, err error)
type ExtensionsUpdateOperationResponse ¶
type ExtensionsUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type ExtensionsUpgradeOperationResponse ¶
type ExtensionsUpgradeOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type NodeExtensionState ¶
type NodeExtensionState string
const ( NodeExtensionStateAccepted NodeExtensionState = "Accepted" NodeExtensionStateCanceled NodeExtensionState = "Canceled" NodeExtensionStateConnected NodeExtensionState = "Connected" NodeExtensionStateCreating NodeExtensionState = "Creating" NodeExtensionStateDeleted NodeExtensionState = "Deleted" NodeExtensionStateDeleting NodeExtensionState = "Deleting" NodeExtensionStateDisconnected NodeExtensionState = "Disconnected" NodeExtensionStateError NodeExtensionState = "Error" NodeExtensionStateFailed NodeExtensionState = "Failed" NodeExtensionStateInProgress NodeExtensionState = "InProgress" NodeExtensionStateMoving NodeExtensionState = "Moving" NodeExtensionStateNotSpecified NodeExtensionState = "NotSpecified" NodeExtensionStatePartiallyConnected NodeExtensionState = "PartiallyConnected" NodeExtensionStatePartiallySucceeded NodeExtensionState = "PartiallySucceeded" NodeExtensionStateProvisioning NodeExtensionState = "Provisioning" NodeExtensionStateSucceeded NodeExtensionState = "Succeeded" NodeExtensionStateUpdating NodeExtensionState = "Updating" )
type PerNodeExtensionState ¶
type PerNodeExtensionState struct { Extension *string `json:"extension,omitempty"` InstanceView *ExtensionInstanceView `json:"instanceView,omitempty"` Name *string `json:"name,omitempty"` State *NodeExtensionState `json:"state,omitempty"` TypeHandlerVersion *string `json:"typeHandlerVersion,omitempty"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateConnected ProvisioningState = "Connected" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateDisconnected ProvisioningState = "Disconnected" ProvisioningStateError ProvisioningState = "Error" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateInProgress ProvisioningState = "InProgress" ProvisioningStateMoving ProvisioningState = "Moving" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStatePartiallyConnected ProvisioningState = "PartiallyConnected" ProvisioningStatePartiallySucceeded ProvisioningState = "PartiallySucceeded" ProvisioningStateProvisioning ProvisioningState = "Provisioning" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
type StatusLevelTypes ¶
type StatusLevelTypes string
const ( StatusLevelTypesError StatusLevelTypes = "Error" StatusLevelTypesInfo StatusLevelTypes = "Info" StatusLevelTypesWarning StatusLevelTypes = "Warning" )
Source Files ¶
- client.go
- constants.go
- id_arcsetting.go
- id_extension.go
- method_extensionscreate_autorest.go
- method_extensionsdelete_autorest.go
- method_extensionsget_autorest.go
- method_extensionslistbyarcsetting_autorest.go
- method_extensionsupdate_autorest.go
- method_extensionsupgrade_autorest.go
- model_extension.go
- model_extensioninstanceview.go
- model_extensioninstanceviewstatus.go
- model_extensionparameters.go
- model_extensionproperties.go
- model_extensionupgradeparameters.go
- model_pernodeextensionstate.go
- predicates.go
- version.go