Documentation ¶
Index ¶
- func PossibleValuesForFailureAction() []string
- func PossibleValuesForRollingUpgradeMode() []string
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateManagedClusterID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationClient
- func (c ApplicationClient) CreateOrUpdate(ctx context.Context, id ApplicationId, input ApplicationResource) (result CreateOrUpdateOperationResponse, err error)
- func (c ApplicationClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationId, input ApplicationResource) error
- func (c ApplicationClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
- func (c ApplicationClient) DeleteThenPoll(ctx context.Context, id ApplicationId) error
- func (c ApplicationClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
- func (c ApplicationClient) List(ctx context.Context, id ManagedClusterId) (result ListOperationResponse, err error)
- func (c ApplicationClient) ListComplete(ctx context.Context, id ManagedClusterId) (ListCompleteResult, error)
- func (c ApplicationClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, ...) (result ListCompleteResult, err error)
- func (c ApplicationClient) ReadUpgrade(ctx context.Context, id ApplicationId) (result ReadUpgradeOperationResponse, err error)
- func (c ApplicationClient) ReadUpgradeThenPoll(ctx context.Context, id ApplicationId) error
- func (c ApplicationClient) ResumeUpgrade(ctx context.Context, id ApplicationId, ...) (result ResumeUpgradeOperationResponse, err error)
- func (c ApplicationClient) ResumeUpgradeThenPoll(ctx context.Context, id ApplicationId, ...) error
- func (c ApplicationClient) StartRollback(ctx context.Context, id ApplicationId) (result StartRollbackOperationResponse, err error)
- func (c ApplicationClient) StartRollbackThenPoll(ctx context.Context, id ApplicationId) error
- func (c ApplicationClient) Update(ctx context.Context, id ApplicationId, input ApplicationUpdateParameters) (result UpdateOperationResponse, err error)
- type ApplicationHealthPolicy
- type ApplicationId
- type ApplicationResource
- type ApplicationResourceOperationPredicate
- type ApplicationResourceProperties
- type ApplicationUpdateParameters
- type ApplicationUpgradePolicy
- type ApplicationUserAssignedIdentity
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type FailureAction
- type GetOperationResponse
- type ListCompleteResult
- type ListCustomPager
- type ListOperationResponse
- type ManagedClusterId
- type ReadUpgradeOperationResponse
- type ResumeUpgradeOperationResponse
- type RollingUpgradeMode
- type RollingUpgradeMonitoringPolicy
- type RuntimeResumeApplicationUpgradeParameters
- type ServiceTypeHealthPolicy
- type StartRollbackOperationResponse
- type SystemData
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForFailureAction ¶
func PossibleValuesForFailureAction() []string
func PossibleValuesForRollingUpgradeMode ¶
func PossibleValuesForRollingUpgradeMode() []string
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
func ValidateManagedClusterID ¶
ValidateManagedClusterID checks that 'input' can be parsed as a Managed Cluster ID
Types ¶
type ApplicationClient ¶
type ApplicationClient struct {
Client *resourcemanager.Client
}
func NewApplicationClientWithBaseURI ¶
func NewApplicationClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplicationClient, error)
func (ApplicationClient) CreateOrUpdate ¶
func (c ApplicationClient) CreateOrUpdate(ctx context.Context, id ApplicationId, input ApplicationResource) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (ApplicationClient) CreateOrUpdateThenPoll ¶
func (c ApplicationClient) CreateOrUpdateThenPoll(ctx context.Context, id ApplicationId, input ApplicationResource) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (ApplicationClient) Delete ¶
func (c ApplicationClient) Delete(ctx context.Context, id ApplicationId) (result DeleteOperationResponse, err error)
Delete ...
func (ApplicationClient) DeleteThenPoll ¶
func (c ApplicationClient) DeleteThenPoll(ctx context.Context, id ApplicationId) error
DeleteThenPoll performs Delete then polls until it's completed
func (ApplicationClient) Get ¶
func (c ApplicationClient) Get(ctx context.Context, id ApplicationId) (result GetOperationResponse, err error)
Get ...
func (ApplicationClient) List ¶
func (c ApplicationClient) List(ctx context.Context, id ManagedClusterId) (result ListOperationResponse, err error)
List ...
func (ApplicationClient) ListComplete ¶
func (c ApplicationClient) ListComplete(ctx context.Context, id ManagedClusterId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (ApplicationClient) ListCompleteMatchingPredicate ¶
func (c ApplicationClient) ListCompleteMatchingPredicate(ctx context.Context, id ManagedClusterId, predicate ApplicationResourceOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ApplicationClient) ReadUpgrade ¶
func (c ApplicationClient) ReadUpgrade(ctx context.Context, id ApplicationId) (result ReadUpgradeOperationResponse, err error)
ReadUpgrade ...
func (ApplicationClient) ReadUpgradeThenPoll ¶
func (c ApplicationClient) ReadUpgradeThenPoll(ctx context.Context, id ApplicationId) error
ReadUpgradeThenPoll performs ReadUpgrade then polls until it's completed
func (ApplicationClient) ResumeUpgrade ¶
func (c ApplicationClient) ResumeUpgrade(ctx context.Context, id ApplicationId, input RuntimeResumeApplicationUpgradeParameters) (result ResumeUpgradeOperationResponse, err error)
ResumeUpgrade ...
func (ApplicationClient) ResumeUpgradeThenPoll ¶
func (c ApplicationClient) ResumeUpgradeThenPoll(ctx context.Context, id ApplicationId, input RuntimeResumeApplicationUpgradeParameters) error
ResumeUpgradeThenPoll performs ResumeUpgrade then polls until it's completed
func (ApplicationClient) StartRollback ¶
func (c ApplicationClient) StartRollback(ctx context.Context, id ApplicationId) (result StartRollbackOperationResponse, err error)
StartRollback ...
func (ApplicationClient) StartRollbackThenPoll ¶
func (c ApplicationClient) StartRollbackThenPoll(ctx context.Context, id ApplicationId) error
StartRollbackThenPoll performs StartRollback then polls until it's completed
func (ApplicationClient) Update ¶
func (c ApplicationClient) Update(ctx context.Context, id ApplicationId, input ApplicationUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type ApplicationHealthPolicy ¶
type ApplicationHealthPolicy struct { ConsiderWarningAsError bool `json:"considerWarningAsError"` DefaultServiceTypeHealthPolicy *ServiceTypeHealthPolicy `json:"defaultServiceTypeHealthPolicy,omitempty"` MaxPercentUnhealthyDeployedApplications int64 `json:"maxPercentUnhealthyDeployedApplications"` ServiceTypeHealthPolicyMap *map[string]ServiceTypeHealthPolicy `json:"serviceTypeHealthPolicyMap,omitempty"` }
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string ManagedClusterName string ApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, managedClusterName string, applicationName string) ApplicationId
NewApplicationID returns a new ApplicationId struct
func ParseApplicationID ¶
func ParseApplicationID(input string) (*ApplicationId, error)
ParseApplicationID parses 'input' into a ApplicationId
func ParseApplicationIDInsensitively ¶
func ParseApplicationIDInsensitively(input string) (*ApplicationId, error)
ParseApplicationIDInsensitively parses 'input' case-insensitively into a ApplicationId note: this method should only be used for API response data and not user input
func (*ApplicationId) FromParseResult ¶
func (id *ApplicationId) FromParseResult(input resourceids.ParseResult) error
func (ApplicationId) ID ¶
func (id ApplicationId) ID() string
ID returns the formatted Application ID
func (ApplicationId) Segments ¶
func (id ApplicationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Application ID
func (ApplicationId) String ¶
func (id ApplicationId) String() string
String returns a human-readable description of this Application ID
type ApplicationResource ¶
type ApplicationResource struct { Id *string `json:"id,omitempty"` Identity *identity.SystemAndUserAssignedMap `json:"identity,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ApplicationResourceProperties `json:"properties,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationResourceOperationPredicate ¶
type ApplicationResourceOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (ApplicationResourceOperationPredicate) Matches ¶
func (p ApplicationResourceOperationPredicate) Matches(input ApplicationResource) bool
type ApplicationResourceProperties ¶
type ApplicationResourceProperties struct { ManagedIdentities *[]ApplicationUserAssignedIdentity `json:"managedIdentities,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` UpgradePolicy *ApplicationUpgradePolicy `json:"upgradePolicy,omitempty"` Version *string `json:"version,omitempty"` }
type ApplicationUpgradePolicy ¶
type ApplicationUpgradePolicy struct { ApplicationHealthPolicy *ApplicationHealthPolicy `json:"applicationHealthPolicy,omitempty"` ForceRestart *bool `json:"forceRestart,omitempty"` InstanceCloseDelayDuration *int64 `json:"instanceCloseDelayDuration,omitempty"` RecreateApplication *bool `json:"recreateApplication,omitempty"` RollingUpgradeMonitoringPolicy *RollingUpgradeMonitoringPolicy `json:"rollingUpgradeMonitoringPolicy,omitempty"` UpgradeMode *RollingUpgradeMode `json:"upgradeMode,omitempty"` UpgradeReplicaSetCheckTimeout *int64 `json:"upgradeReplicaSetCheckTimeout,omitempty"` }
type DeleteOperationResponse ¶
type FailureAction ¶
type FailureAction string
const ( FailureActionManual FailureAction = "Manual" FailureActionRollback FailureAction = "Rollback" )
func (*FailureAction) UnmarshalJSON ¶
func (s *FailureAction) UnmarshalJSON(bytes []byte) error
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ApplicationResource }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []ApplicationResource }
type ListCustomPager ¶ added in v0.20240628.1153531
func (*ListCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]ApplicationResource }
type ManagedClusterId ¶
type ManagedClusterId struct { SubscriptionId string ResourceGroupName string ManagedClusterName string }
ManagedClusterId is a struct representing the Resource ID for a Managed Cluster
func NewManagedClusterID ¶
func NewManagedClusterID(subscriptionId string, resourceGroupName string, managedClusterName 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) FromParseResult ¶
func (id *ManagedClusterId) FromParseResult(input resourceids.ParseResult) error
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 RollingUpgradeMode ¶
type RollingUpgradeMode string
const ( RollingUpgradeModeMonitored RollingUpgradeMode = "Monitored" RollingUpgradeModeUnmonitoredAuto RollingUpgradeMode = "UnmonitoredAuto" )
func (*RollingUpgradeMode) UnmarshalJSON ¶
func (s *RollingUpgradeMode) UnmarshalJSON(bytes []byte) error
type RollingUpgradeMonitoringPolicy ¶
type RollingUpgradeMonitoringPolicy struct { FailureAction FailureAction `json:"failureAction"` HealthCheckRetryTimeout string `json:"healthCheckRetryTimeout"` HealthCheckStableDuration string `json:"healthCheckStableDuration"` HealthCheckWaitDuration string `json:"healthCheckWaitDuration"` UpgradeDomainTimeout string `json:"upgradeDomainTimeout"` UpgradeTimeout string `json:"upgradeTimeout"` }
type RuntimeResumeApplicationUpgradeParameters ¶
type RuntimeResumeApplicationUpgradeParameters struct {
UpgradeDomainName *string `json:"upgradeDomainName,omitempty"`
}
type ServiceTypeHealthPolicy ¶
type ServiceTypeHealthPolicy struct { MaxPercentUnhealthyPartitionsPerService int64 `json:"maxPercentUnhealthyPartitionsPerService"` MaxPercentUnhealthyReplicasPerPartition int64 `json:"maxPercentUnhealthyReplicasPerPartition"` MaxPercentUnhealthyServices int64 `json:"maxPercentUnhealthyServices"` }
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 OData *odata.OData Model *ApplicationResource }
Source Files ¶
- client.go
- constants.go
- id_application.go
- id_managedcluster.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_readupgrade.go
- method_resumeupgrade.go
- method_startrollback.go
- method_update.go
- model_applicationhealthpolicy.go
- model_applicationresource.go
- model_applicationresourceproperties.go
- model_applicationupdateparameters.go
- model_applicationupgradepolicy.go
- model_applicationuserassignedidentity.go
- model_rollingupgrademonitoringpolicy.go
- model_runtimeresumeapplicationupgradeparameters.go
- model_servicetypehealthpolicy.go
- model_systemdata.go
- predicates.go
- version.go