Versions in this module Expand all Collapse all v0 v0.20241126.2320 Nov 26, 2024 v0.20241126.1723 Nov 26, 2024 Changes in this version + func PossibleValuesForArmServicePackageActivationMode() []string + func PossibleValuesForMoveCost() []string + func PossibleValuesForPartitionScheme() []string + func PossibleValuesForServiceCorrelationScheme() []string + func PossibleValuesForServiceKind() []string + func PossibleValuesForServiceLoadMetricWeight() []string + func PossibleValuesForServicePlacementPolicyType() []string + func ValidateApplicationID(input interface{}, key string) (warnings []string, errors []error) + func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error) + type ApplicationId struct + ApplicationName string + ClusterName string + ResourceGroupName string + SubscriptionId string + func NewApplicationID(subscriptionId string, resourceGroupName string, clusterName string, ...) ApplicationId + func ParseApplicationID(input string) (*ApplicationId, error) + func ParseApplicationIDInsensitively(input string) (*ApplicationId, error) + func (id *ApplicationId) FromParseResult(input resourceids.ParseResult) error + func (id ApplicationId) ID() string + func (id ApplicationId) Segments() []resourceids.Segment + func (id ApplicationId) String() string + type ArmServicePackageActivationMode string + const ArmServicePackageActivationModeExclusiveProcess + const ArmServicePackageActivationModeSharedProcess + func (s *ArmServicePackageActivationMode) UnmarshalJSON(bytes []byte) error + type BasePartitionSchemeDescriptionImpl struct + PartitionScheme PartitionScheme + func (s BasePartitionSchemeDescriptionImpl) PartitionSchemeDescription() BasePartitionSchemeDescriptionImpl + type BaseServiceResourcePropertiesImpl struct + CorrelationScheme *[]ServiceCorrelationDescription + DefaultMoveCost *MoveCost + PartitionDescription PartitionSchemeDescription + PlacementConstraints *string + ProvisioningState *string + ServiceDnsName *string + ServiceKind ServiceKind + ServiceLoadMetrics *[]ServiceLoadMetricDescription + ServicePackageActivationMode *ArmServicePackageActivationMode + ServicePlacementPolicies *[]ServicePlacementPolicyDescription + ServiceTypeName *string + func (s *BaseServiceResourcePropertiesImpl) UnmarshalJSON(bytes []byte) error + func (s BaseServiceResourcePropertiesImpl) ServiceResourceProperties() BaseServiceResourcePropertiesImpl + type BaseServiceResourceUpdatePropertiesImpl struct + CorrelationScheme *[]ServiceCorrelationDescription + DefaultMoveCost *MoveCost + PlacementConstraints *string + ServiceKind ServiceKind + ServiceLoadMetrics *[]ServiceLoadMetricDescription + ServicePlacementPolicies *[]ServicePlacementPolicyDescription + func (s BaseServiceResourceUpdatePropertiesImpl) ServiceResourceUpdateProperties() BaseServiceResourceUpdatePropertiesImpl + type CreateOrUpdateOperationResponse struct + HttpResponse *http.Response + Model *ServiceResource + OData *odata.OData + Poller pollers.Poller + type DeleteOperationResponse struct + HttpResponse *http.Response + OData *odata.OData + Poller pollers.Poller + type GetOperationResponse struct + HttpResponse *http.Response + Model *ServiceResource + OData *odata.OData + type ListCompleteResult struct + Items []ServiceResource + LatestHttpResponse *http.Response + type ListCustomPager struct + NextLink *odata.Link + func (p *ListCustomPager) NextPageLink() *odata.Link + type ListOperationResponse struct + HttpResponse *http.Response + Model *[]ServiceResource + OData *odata.OData + type MoveCost string + const MoveCostHigh + const MoveCostLow + const MoveCostMedium + const MoveCostZero + func (s *MoveCost) UnmarshalJSON(bytes []byte) error + type NamedPartitionSchemeDescription struct + Count int64 + Names []string + PartitionScheme PartitionScheme + func (s NamedPartitionSchemeDescription) MarshalJSON() ([]byte, error) + func (s NamedPartitionSchemeDescription) PartitionSchemeDescription() BasePartitionSchemeDescriptionImpl + type PartitionScheme string + const PartitionSchemeInvalid + const PartitionSchemeNamed + const PartitionSchemeSingleton + const PartitionSchemeUniformIntSixFourRange + func (s *PartitionScheme) UnmarshalJSON(bytes []byte) error + type PartitionSchemeDescription interface + PartitionSchemeDescription func() BasePartitionSchemeDescriptionImpl + func UnmarshalPartitionSchemeDescriptionImplementation(input []byte) (PartitionSchemeDescription, error) + type RawPartitionSchemeDescriptionImpl struct + Type string + Values map[string]interface{} + func (s RawPartitionSchemeDescriptionImpl) PartitionSchemeDescription() BasePartitionSchemeDescriptionImpl + type RawServiceResourcePropertiesImpl struct + Type string + Values map[string]interface{} + func (s RawServiceResourcePropertiesImpl) ServiceResourceProperties() BaseServiceResourcePropertiesImpl + type RawServiceResourceUpdatePropertiesImpl struct + Type string + Values map[string]interface{} + func (s RawServiceResourceUpdatePropertiesImpl) ServiceResourceUpdateProperties() BaseServiceResourceUpdatePropertiesImpl + type ServiceClient struct + Client *resourcemanager.Client + func NewServiceClientWithBaseURI(sdkApi sdkEnv.Api) (*ServiceClient, error) + func (c ServiceClient) CreateOrUpdate(ctx context.Context, id ServiceId, input ServiceResource) (result CreateOrUpdateOperationResponse, err error) + func (c ServiceClient) CreateOrUpdateThenPoll(ctx context.Context, id ServiceId, input ServiceResource) error + func (c ServiceClient) Delete(ctx context.Context, id ServiceId) (result DeleteOperationResponse, err error) + func (c ServiceClient) DeleteThenPoll(ctx context.Context, id ServiceId) error + func (c ServiceClient) Get(ctx context.Context, id ServiceId) (result GetOperationResponse, err error) + func (c ServiceClient) List(ctx context.Context, id ApplicationId) (result ListOperationResponse, err error) + func (c ServiceClient) ListComplete(ctx context.Context, id ApplicationId) (ListCompleteResult, error) + func (c ServiceClient) ListCompleteMatchingPredicate(ctx context.Context, id ApplicationId, ...) (result ListCompleteResult, err error) + func (c ServiceClient) Update(ctx context.Context, id ServiceId, input ServiceResourceUpdate) (result UpdateOperationResponse, err error) + func (c ServiceClient) UpdateThenPoll(ctx context.Context, id ServiceId, input ServiceResourceUpdate) error + type ServiceCorrelationDescription struct + Scheme ServiceCorrelationScheme + ServiceName string + type ServiceCorrelationScheme string + const ServiceCorrelationSchemeAffinity + const ServiceCorrelationSchemeAlignedAffinity + const ServiceCorrelationSchemeInvalid + const ServiceCorrelationSchemeNonAlignedAffinity + func (s *ServiceCorrelationScheme) UnmarshalJSON(bytes []byte) error + type ServiceId struct + ApplicationName string + ClusterName string + ResourceGroupName string + ServiceName string + SubscriptionId string + func NewServiceID(subscriptionId string, resourceGroupName string, clusterName string, ...) ServiceId + func ParseServiceID(input string) (*ServiceId, error) + func ParseServiceIDInsensitively(input string) (*ServiceId, error) + func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error + func (id ServiceId) ID() string + func (id ServiceId) Segments() []resourceids.Segment + func (id ServiceId) String() string + type ServiceKind string + const ServiceKindInvalid + const ServiceKindStateful + const ServiceKindStateless + func (s *ServiceKind) UnmarshalJSON(bytes []byte) error + type ServiceLoadMetricDescription struct + DefaultLoad *int64 + Name string + PrimaryDefaultLoad *int64 + SecondaryDefaultLoad *int64 + Weight *ServiceLoadMetricWeight + type ServiceLoadMetricWeight string + const ServiceLoadMetricWeightHigh + const ServiceLoadMetricWeightLow + const ServiceLoadMetricWeightMedium + const ServiceLoadMetricWeightZero + func (s *ServiceLoadMetricWeight) UnmarshalJSON(bytes []byte) error + type ServicePlacementPolicyDescription struct + Type ServicePlacementPolicyType + type ServicePlacementPolicyType string + const ServicePlacementPolicyTypeInvalid + const ServicePlacementPolicyTypeInvalidDomain + const ServicePlacementPolicyTypeNonPartiallyPlaceService + const ServicePlacementPolicyTypePreferredPrimaryDomain + const ServicePlacementPolicyTypeRequiredDomain + const ServicePlacementPolicyTypeRequiredDomainDistribution + func (s *ServicePlacementPolicyType) UnmarshalJSON(bytes []byte) error + type ServiceResource struct + Etag *string + Id *string + Location *string + Name *string + Properties ServiceResourceProperties + SystemData *SystemData + Tags *map[string]string + Type *string + func (s *ServiceResource) UnmarshalJSON(bytes []byte) error + type ServiceResourceOperationPredicate struct + Etag *string + Id *string + Location *string + Name *string + Type *string + func (p ServiceResourceOperationPredicate) Matches(input ServiceResource) bool + type ServiceResourceProperties interface + ServiceResourceProperties func() BaseServiceResourcePropertiesImpl + func UnmarshalServiceResourcePropertiesImplementation(input []byte) (ServiceResourceProperties, error) + type ServiceResourceUpdate struct + Etag *string + Id *string + Location *string + Name *string + Properties ServiceResourceUpdateProperties + SystemData *SystemData + Tags *map[string]string + Type *string + func (s *ServiceResourceUpdate) UnmarshalJSON(bytes []byte) error + type ServiceResourceUpdateProperties interface + ServiceResourceUpdateProperties func() BaseServiceResourceUpdatePropertiesImpl + func UnmarshalServiceResourceUpdatePropertiesImplementation(input []byte) (ServiceResourceUpdateProperties, error) + type SingletonPartitionSchemeDescription struct + PartitionScheme PartitionScheme + func (s SingletonPartitionSchemeDescription) MarshalJSON() ([]byte, error) + func (s SingletonPartitionSchemeDescription) PartitionSchemeDescription() BasePartitionSchemeDescriptionImpl + type StatefulServiceProperties struct + CorrelationScheme *[]ServiceCorrelationDescription + DefaultMoveCost *MoveCost + HasPersistedState *bool + MinReplicaSetSize *int64 + PartitionDescription PartitionSchemeDescription + PlacementConstraints *string + ProvisioningState *string + QuorumLossWaitDuration *string + ReplicaRestartWaitDuration *string + ServiceDnsName *string + ServiceKind ServiceKind + ServiceLoadMetrics *[]ServiceLoadMetricDescription + ServicePackageActivationMode *ArmServicePackageActivationMode + ServicePlacementPolicies *[]ServicePlacementPolicyDescription + ServiceTypeName *string + StandByReplicaKeepDuration *string + TargetReplicaSetSize *int64 + func (s *StatefulServiceProperties) UnmarshalJSON(bytes []byte) error + func (s StatefulServiceProperties) MarshalJSON() ([]byte, error) + func (s StatefulServiceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl + type StatefulServiceUpdateProperties struct + CorrelationScheme *[]ServiceCorrelationDescription + DefaultMoveCost *MoveCost + MinReplicaSetSize *int64 + PlacementConstraints *string + QuorumLossWaitDuration *string + ReplicaRestartWaitDuration *string + ServiceKind ServiceKind + ServiceLoadMetrics *[]ServiceLoadMetricDescription + ServicePlacementPolicies *[]ServicePlacementPolicyDescription + StandByReplicaKeepDuration *string + TargetReplicaSetSize *int64 + func (s StatefulServiceUpdateProperties) MarshalJSON() ([]byte, error) + func (s StatefulServiceUpdateProperties) ServiceResourceUpdateProperties() BaseServiceResourceUpdatePropertiesImpl + type StatelessServiceProperties struct + CorrelationScheme *[]ServiceCorrelationDescription + DefaultMoveCost *MoveCost + InstanceCloseDelayDuration *string + InstanceCount *int64 + PartitionDescription PartitionSchemeDescription + PlacementConstraints *string + ProvisioningState *string + ServiceDnsName *string + ServiceKind ServiceKind + ServiceLoadMetrics *[]ServiceLoadMetricDescription + ServicePackageActivationMode *ArmServicePackageActivationMode + ServicePlacementPolicies *[]ServicePlacementPolicyDescription + ServiceTypeName *string + func (s *StatelessServiceProperties) UnmarshalJSON(bytes []byte) error + func (s StatelessServiceProperties) MarshalJSON() ([]byte, error) + func (s StatelessServiceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl + type StatelessServiceUpdateProperties struct + CorrelationScheme *[]ServiceCorrelationDescription + DefaultMoveCost *MoveCost + InstanceCloseDelayDuration *string + InstanceCount *int64 + PlacementConstraints *string + ServiceKind ServiceKind + ServiceLoadMetrics *[]ServiceLoadMetricDescription + ServicePlacementPolicies *[]ServicePlacementPolicyDescription + func (s StatelessServiceUpdateProperties) MarshalJSON() ([]byte, error) + func (s StatelessServiceUpdateProperties) ServiceResourceUpdateProperties() BaseServiceResourceUpdatePropertiesImpl + type SystemData struct + CreatedAt *string + CreatedBy *string + CreatedByType *string + LastModifiedAt *string + LastModifiedBy *string + LastModifiedByType *string + func (o *SystemData) GetCreatedAtAsTime() (*time.Time, error) + func (o *SystemData) GetLastModifiedAtAsTime() (*time.Time, error) + func (o *SystemData) SetCreatedAtAsTime(input time.Time) + func (o *SystemData) SetLastModifiedAtAsTime(input time.Time) + type UniformInt64RangePartitionSchemeDescription struct + Count int64 + HighKey string + LowKey string + PartitionScheme PartitionScheme + func (s UniformInt64RangePartitionSchemeDescription) MarshalJSON() ([]byte, error) + func (s UniformInt64RangePartitionSchemeDescription) PartitionSchemeDescription() BasePartitionSchemeDescriptionImpl + type UpdateOperationResponse struct + HttpResponse *http.Response + Model *ServiceResource + OData *odata.OData + Poller pollers.Poller