Documentation ¶
Index ¶
- func PossibleValuesForArmUpgradeFailureAction() []string
- func PossibleValuesForRollingUpgradeMode() []string
- func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateClusterID(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 ClusterId) (resp ListOperationResponse, err error)
- func (c ApplicationClient) ListComplete(ctx context.Context, id ClusterId) (ListCompleteResult, error)
- func (c ApplicationClient) ListCompleteMatchingPredicate(ctx context.Context, id ClusterId, ...) (resp ListCompleteResult, err error)
- func (c ApplicationClient) Update(ctx context.Context, id ApplicationId, input ApplicationResourceUpdate) (result UpdateOperationResponse, err error)
- func (c ApplicationClient) UpdateThenPoll(ctx context.Context, id ApplicationId, input ApplicationResourceUpdate) error
- type ApplicationId
- type ApplicationMetricDescription
- type ApplicationResource
- type ApplicationResourceOperationPredicate
- type ApplicationResourceProperties
- type ApplicationResourceUpdate
- type ApplicationResourceUpdateProperties
- type ApplicationUpgradePolicy
- type ApplicationUserAssignedIdentity
- type ArmApplicationHealthPolicy
- type ArmRollingUpgradeMonitoringPolicy
- type ArmServiceTypeHealthPolicy
- type ArmUpgradeFailureAction
- type ClusterId
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListCompleteResult
- type ListOperationResponse
- type RollingUpgradeMode
- type SystemData
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForArmUpgradeFailureAction ¶
func PossibleValuesForArmUpgradeFailureAction() []string
func PossibleValuesForRollingUpgradeMode ¶
func PossibleValuesForRollingUpgradeMode() []string
func ValidateApplicationID ¶
ValidateApplicationID checks that 'input' can be parsed as a Application ID
func ValidateClusterID ¶
ValidateClusterID checks that 'input' can be parsed as a Cluster ID
Types ¶
type ApplicationClient ¶
func NewApplicationClientWithBaseURI ¶
func NewApplicationClientWithBaseURI(endpoint string) ApplicationClient
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 ClusterId) (resp ListOperationResponse, err error)
List ...
func (ApplicationClient) ListComplete ¶
func (c ApplicationClient) ListComplete(ctx context.Context, id ClusterId) (ListCompleteResult, error)
ListComplete retrieves all of the results into a single object
func (ApplicationClient) ListCompleteMatchingPredicate ¶
func (c ApplicationClient) ListCompleteMatchingPredicate(ctx context.Context, id ClusterId, predicate ApplicationResourceOperationPredicate) (resp ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate
func (ApplicationClient) Update ¶
func (c ApplicationClient) Update(ctx context.Context, id ApplicationId, input ApplicationResourceUpdate) (result UpdateOperationResponse, err error)
Update ...
func (ApplicationClient) UpdateThenPoll ¶
func (c ApplicationClient) UpdateThenPoll(ctx context.Context, id ApplicationId, input ApplicationResourceUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type ApplicationId ¶
type ApplicationId struct { SubscriptionId string ResourceGroupName string ClusterName string ApplicationName string }
ApplicationId is a struct representing the Resource ID for a Application
func NewApplicationID ¶
func NewApplicationID(subscriptionId string, resourceGroupName string, clusterName 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 { Etag *string `json:"etag,omitempty"` 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 { Etag *string 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"` MaximumNodes *int64 `json:"maximumNodes,omitempty"` Metrics *[]ApplicationMetricDescription `json:"metrics,omitempty"` MinimumNodes *int64 `json:"minimumNodes,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` RemoveApplicationCapacity *bool `json:"removeApplicationCapacity,omitempty"` TypeName *string `json:"typeName,omitempty"` TypeVersion *string `json:"typeVersion,omitempty"` UpgradePolicy *ApplicationUpgradePolicy `json:"upgradePolicy,omitempty"` }
type ApplicationResourceUpdate ¶
type ApplicationResourceUpdate struct { Etag *string `json:"etag,omitempty"` Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *ApplicationResourceUpdateProperties `json:"properties,omitempty"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type ApplicationResourceUpdateProperties ¶
type ApplicationResourceUpdateProperties struct { ManagedIdentities *[]ApplicationUserAssignedIdentity `json:"managedIdentities,omitempty"` MaximumNodes *int64 `json:"maximumNodes,omitempty"` Metrics *[]ApplicationMetricDescription `json:"metrics,omitempty"` MinimumNodes *int64 `json:"minimumNodes,omitempty"` Parameters *map[string]string `json:"parameters,omitempty"` RemoveApplicationCapacity *bool `json:"removeApplicationCapacity,omitempty"` TypeVersion *string `json:"typeVersion,omitempty"` UpgradePolicy *ApplicationUpgradePolicy `json:"upgradePolicy,omitempty"` }
type ApplicationUpgradePolicy ¶
type ApplicationUpgradePolicy struct { ApplicationHealthPolicy *ArmApplicationHealthPolicy `json:"applicationHealthPolicy,omitempty"` ForceRestart *bool `json:"forceRestart,omitempty"` RecreateApplication *bool `json:"recreateApplication,omitempty"` RollingUpgradeMonitoringPolicy *ArmRollingUpgradeMonitoringPolicy `json:"rollingUpgradeMonitoringPolicy,omitempty"` UpgradeMode *RollingUpgradeMode `json:"upgradeMode,omitempty"` UpgradeReplicaSetCheckTimeout *string `json:"upgradeReplicaSetCheckTimeout,omitempty"` }
type ArmApplicationHealthPolicy ¶
type ArmApplicationHealthPolicy struct { ConsiderWarningAsError *bool `json:"considerWarningAsError,omitempty"` DefaultServiceTypeHealthPolicy *ArmServiceTypeHealthPolicy `json:"defaultServiceTypeHealthPolicy,omitempty"` MaxPercentUnhealthyDeployedApplications *int64 `json:"maxPercentUnhealthyDeployedApplications,omitempty"` ServiceTypeHealthPolicyMap *map[string]ArmServiceTypeHealthPolicy `json:"serviceTypeHealthPolicyMap,omitempty"` }
type ArmRollingUpgradeMonitoringPolicy ¶
type ArmRollingUpgradeMonitoringPolicy struct { FailureAction *ArmUpgradeFailureAction `json:"failureAction,omitempty"` HealthCheckRetryTimeout *string `json:"healthCheckRetryTimeout,omitempty"` HealthCheckStableDuration *string `json:"healthCheckStableDuration,omitempty"` HealthCheckWaitDuration *string `json:"healthCheckWaitDuration,omitempty"` UpgradeDomainTimeout *string `json:"upgradeDomainTimeout,omitempty"` UpgradeTimeout *string `json:"upgradeTimeout,omitempty"` }
type ArmServiceTypeHealthPolicy ¶
type ArmServiceTypeHealthPolicy struct { MaxPercentUnhealthyPartitionsPerService *int64 `json:"maxPercentUnhealthyPartitionsPerService,omitempty"` MaxPercentUnhealthyReplicasPerPartition *int64 `json:"maxPercentUnhealthyReplicasPerPartition,omitempty"` MaxPercentUnhealthyServices *int64 `json:"maxPercentUnhealthyServices,omitempty"` }
type ArmUpgradeFailureAction ¶
type ArmUpgradeFailureAction string
const ( ArmUpgradeFailureActionManual ArmUpgradeFailureAction = "Manual" ArmUpgradeFailureActionRollback ArmUpgradeFailureAction = "Rollback" )
type ClusterId ¶
ClusterId is a struct representing the Resource ID for a Cluster
func NewClusterID ¶
NewClusterID returns a new ClusterId struct
func ParseClusterID ¶
ParseClusterID parses 'input' into a ClusterId
func ParseClusterIDInsensitively ¶
ParseClusterIDInsensitively parses 'input' case-insensitively into a ClusterId note: this method should only be used for API response data and not user input
func (*ClusterId) FromParseResult ¶
func (id *ClusterId) FromParseResult(input resourceids.ParseResult) error
func (ClusterId) Segments ¶
func (id ClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Cluster ID
type CreateOrUpdateOperationResponse ¶
type CreateOrUpdateOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response Model *ApplicationResource }
type DeleteOperationResponse ¶
type DeleteOperationResponse struct { Poller polling.LongRunningPoller HttpResponse *http.Response }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *ApplicationResource }
type ListCompleteResult ¶
type ListCompleteResult struct {
Items []ApplicationResource
}
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response Model *[]ApplicationResource // contains filtered or unexported fields }
func (ListOperationResponse) HasMore ¶
func (r ListOperationResponse) HasMore() bool
func (ListOperationResponse) LoadMore ¶
func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)
type RollingUpgradeMode ¶
type RollingUpgradeMode string
const ( RollingUpgradeModeInvalid RollingUpgradeMode = "Invalid" RollingUpgradeModeMonitored RollingUpgradeMode = "Monitored" RollingUpgradeModeUnmonitoredAuto RollingUpgradeMode = "UnmonitoredAuto" RollingUpgradeModeUnmonitoredManual RollingUpgradeMode = "UnmonitoredManual" )
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 { Poller polling.LongRunningPoller HttpResponse *http.Response Model *ApplicationResource }
Source Files ¶
- client.go
- constants.go
- id_application.go
- id_cluster.go
- method_createorupdate_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_list_autorest.go
- method_update_autorest.go
- model_applicationmetricdescription.go
- model_applicationresource.go
- model_applicationresourceproperties.go
- model_applicationresourceupdate.go
- model_applicationresourceupdateproperties.go
- model_applicationupgradepolicy.go
- model_applicationuserassignedidentity.go
- model_armapplicationhealthpolicy.go
- model_armrollingupgrademonitoringpolicy.go
- model_armservicetypehealthpolicy.go
- model_systemdata.go
- predicates.go
- version.go