Documentation ¶
Index ¶
- func PossibleValuesForMoveCost() []string
- func PossibleValuesForPartitionScheme() []string
- func PossibleValuesForServiceCorrelationScheme() []string
- func PossibleValuesForServiceKind() []string
- func PossibleValuesForServiceLoadMetricWeight() []string
- func PossibleValuesForServicePackageActivationMode() []string
- func PossibleValuesForServicePlacementPolicyType() []string
- func PossibleValuesForServiceScalingMechanismKind() []string
- func PossibleValuesForServiceScalingTriggerKind() []string
- func ValidateServiceID(input interface{}, key string) (warnings []string, errors []error)
- type AddRemoveIncrementalNamedPartitionScalingMechanism
- type AveragePartitionLoadScalingTrigger
- type AverageServiceLoadScalingTrigger
- type BasePartitionImpl
- type BaseScalingMechanismImpl
- type BaseScalingTriggerImpl
- type BaseServicePlacementPolicyImpl
- type BaseServiceResourcePropertiesImpl
- type MoveCost
- type NamedPartitionScheme
- type Partition
- type PartitionInstanceCountScaleMechanism
- type PartitionScheme
- type RawPartitionImpl
- type RawScalingMechanismImpl
- type RawScalingTriggerImpl
- type RawServicePlacementPolicyImpl
- type RawServiceResourcePropertiesImpl
- type ScalingMechanism
- type ScalingPolicy
- type ScalingTrigger
- type ServiceCorrelation
- type ServiceCorrelationScheme
- type ServiceId
- type ServiceKind
- type ServiceLoadMetric
- type ServiceLoadMetricWeight
- type ServicePackageActivationMode
- type ServicePlacementInvalidDomainPolicy
- type ServicePlacementNonPartiallyPlaceServicePolicy
- type ServicePlacementPolicy
- type ServicePlacementPolicyType
- type ServicePlacementPreferPrimaryDomainPolicy
- type ServicePlacementRequireDomainDistributionPolicy
- type ServicePlacementRequiredDomainPolicy
- type ServiceResource
- type ServiceResourceProperties
- type ServiceScalingMechanismKind
- type ServiceScalingTriggerKind
- type ServiceUpdateParameters
- type ServicesClient
- type SingletonPartitionScheme
- type StatefulServiceProperties
- type StatelessServiceProperties
- type SystemData
- type UniformInt64RangePartitionScheme
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMoveCost ¶
func PossibleValuesForMoveCost() []string
func PossibleValuesForPartitionScheme ¶
func PossibleValuesForPartitionScheme() []string
func PossibleValuesForServiceCorrelationScheme ¶
func PossibleValuesForServiceCorrelationScheme() []string
func PossibleValuesForServiceKind ¶
func PossibleValuesForServiceKind() []string
func PossibleValuesForServiceLoadMetricWeight ¶
func PossibleValuesForServiceLoadMetricWeight() []string
func PossibleValuesForServicePackageActivationMode ¶
func PossibleValuesForServicePackageActivationMode() []string
func PossibleValuesForServicePlacementPolicyType ¶
func PossibleValuesForServicePlacementPolicyType() []string
func PossibleValuesForServiceScalingMechanismKind ¶
func PossibleValuesForServiceScalingMechanismKind() []string
func PossibleValuesForServiceScalingTriggerKind ¶
func PossibleValuesForServiceScalingTriggerKind() []string
func ValidateServiceID ¶
ValidateServiceID checks that 'input' can be parsed as a Service ID
Types ¶
type AddRemoveIncrementalNamedPartitionScalingMechanism ¶
type AddRemoveIncrementalNamedPartitionScalingMechanism struct { MaxPartitionCount int64 `json:"maxPartitionCount"` MinPartitionCount int64 `json:"minPartitionCount"` ScaleIncrement int64 `json:"scaleIncrement"` Kind ServiceScalingMechanismKind `json:"kind"` }
func (AddRemoveIncrementalNamedPartitionScalingMechanism) MarshalJSON ¶
func (s AddRemoveIncrementalNamedPartitionScalingMechanism) MarshalJSON() ([]byte, error)
func (AddRemoveIncrementalNamedPartitionScalingMechanism) ScalingMechanism ¶ added in v0.20240920.1135249
func (s AddRemoveIncrementalNamedPartitionScalingMechanism) ScalingMechanism() BaseScalingMechanismImpl
type AveragePartitionLoadScalingTrigger ¶
type AveragePartitionLoadScalingTrigger struct { LowerLoadThreshold float64 `json:"lowerLoadThreshold"` MetricName string `json:"metricName"` ScaleInterval string `json:"scaleInterval"` UpperLoadThreshold float64 `json:"upperLoadThreshold"` Kind ServiceScalingTriggerKind `json:"kind"` }
func (AveragePartitionLoadScalingTrigger) MarshalJSON ¶
func (s AveragePartitionLoadScalingTrigger) MarshalJSON() ([]byte, error)
func (AveragePartitionLoadScalingTrigger) ScalingTrigger ¶ added in v0.20240920.1135249
func (s AveragePartitionLoadScalingTrigger) ScalingTrigger() BaseScalingTriggerImpl
type AverageServiceLoadScalingTrigger ¶
type AverageServiceLoadScalingTrigger struct { LowerLoadThreshold float64 `json:"lowerLoadThreshold"` MetricName string `json:"metricName"` ScaleInterval string `json:"scaleInterval"` UpperLoadThreshold float64 `json:"upperLoadThreshold"` UseOnlyPrimaryLoad bool `json:"useOnlyPrimaryLoad"` Kind ServiceScalingTriggerKind `json:"kind"` }
func (AverageServiceLoadScalingTrigger) MarshalJSON ¶
func (s AverageServiceLoadScalingTrigger) MarshalJSON() ([]byte, error)
func (AverageServiceLoadScalingTrigger) ScalingTrigger ¶ added in v0.20240920.1135249
func (s AverageServiceLoadScalingTrigger) ScalingTrigger() BaseScalingTriggerImpl
type BasePartitionImpl ¶ added in v0.20240920.1135249
type BasePartitionImpl struct {
PartitionScheme PartitionScheme `json:"partitionScheme"`
}
func (BasePartitionImpl) Partition ¶ added in v0.20240920.1135249
func (s BasePartitionImpl) Partition() BasePartitionImpl
type BaseScalingMechanismImpl ¶ added in v0.20240920.1135249
type BaseScalingMechanismImpl struct {
Kind ServiceScalingMechanismKind `json:"kind"`
}
func (BaseScalingMechanismImpl) ScalingMechanism ¶ added in v0.20240920.1135249
func (s BaseScalingMechanismImpl) ScalingMechanism() BaseScalingMechanismImpl
type BaseScalingTriggerImpl ¶ added in v0.20240920.1135249
type BaseScalingTriggerImpl struct {
Kind ServiceScalingTriggerKind `json:"kind"`
}
func (BaseScalingTriggerImpl) ScalingTrigger ¶ added in v0.20240920.1135249
func (s BaseScalingTriggerImpl) ScalingTrigger() BaseScalingTriggerImpl
type BaseServicePlacementPolicyImpl ¶ added in v0.20240920.1135249
type BaseServicePlacementPolicyImpl struct {
Type ServicePlacementPolicyType `json:"type"`
}
func (BaseServicePlacementPolicyImpl) ServicePlacementPolicy ¶ added in v0.20240920.1135249
func (s BaseServicePlacementPolicyImpl) ServicePlacementPolicy() BaseServicePlacementPolicyImpl
type BaseServiceResourcePropertiesImpl ¶ added in v0.20240920.1135249
type BaseServiceResourcePropertiesImpl struct { CorrelationScheme *[]ServiceCorrelation `json:"correlationScheme,omitempty"` DefaultMoveCost *MoveCost `json:"defaultMoveCost,omitempty"` PartitionDescription Partition `json:"partitionDescription"` PlacementConstraints *string `json:"placementConstraints,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ScalingPolicies *[]ScalingPolicy `json:"scalingPolicies,omitempty"` ServiceKind ServiceKind `json:"serviceKind"` ServiceLoadMetrics *[]ServiceLoadMetric `json:"serviceLoadMetrics,omitempty"` ServicePackageActivationMode *ServicePackageActivationMode `json:"servicePackageActivationMode,omitempty"` ServicePlacementPolicies *[]ServicePlacementPolicy `json:"servicePlacementPolicies,omitempty"` ServiceTypeName string `json:"serviceTypeName"` }
func (BaseServiceResourcePropertiesImpl) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s BaseServiceResourcePropertiesImpl) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*BaseServiceResourcePropertiesImpl) UnmarshalJSON ¶ added in v0.20240920.1135249
func (s *BaseServiceResourcePropertiesImpl) UnmarshalJSON(bytes []byte) error
type NamedPartitionScheme ¶
type NamedPartitionScheme struct { Names []string `json:"names"` PartitionScheme PartitionScheme `json:"partitionScheme"` }
func (NamedPartitionScheme) MarshalJSON ¶
func (s NamedPartitionScheme) MarshalJSON() ([]byte, error)
func (NamedPartitionScheme) Partition ¶ added in v0.20240920.1135249
func (s NamedPartitionScheme) Partition() BasePartitionImpl
type Partition ¶
type Partition interface {
Partition() BasePartitionImpl
}
func UnmarshalPartitionImplementation ¶ added in v0.20240920.1135249
type PartitionInstanceCountScaleMechanism ¶
type PartitionInstanceCountScaleMechanism struct { MaxInstanceCount int64 `json:"maxInstanceCount"` MinInstanceCount int64 `json:"minInstanceCount"` ScaleIncrement int64 `json:"scaleIncrement"` Kind ServiceScalingMechanismKind `json:"kind"` }
func (PartitionInstanceCountScaleMechanism) MarshalJSON ¶
func (s PartitionInstanceCountScaleMechanism) MarshalJSON() ([]byte, error)
func (PartitionInstanceCountScaleMechanism) ScalingMechanism ¶ added in v0.20240920.1135249
func (s PartitionInstanceCountScaleMechanism) ScalingMechanism() BaseScalingMechanismImpl
type PartitionScheme ¶
type PartitionScheme string
const ( PartitionSchemeNamed PartitionScheme = "Named" PartitionSchemeSingleton PartitionScheme = "Singleton" PartitionSchemeUniformIntSixFourRange PartitionScheme = "UniformInt64Range" )
func (*PartitionScheme) UnmarshalJSON ¶ added in v0.20240126.1105227
func (s *PartitionScheme) UnmarshalJSON(bytes []byte) error
type RawPartitionImpl ¶
type RawPartitionImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawPartitionImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawPartitionImpl) Partition ¶ added in v0.20240920.1135249
func (s RawPartitionImpl) Partition() BasePartitionImpl
type RawScalingMechanismImpl ¶
type RawScalingMechanismImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawScalingMechanismImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawScalingMechanismImpl) ScalingMechanism ¶ added in v0.20240920.1135249
func (s RawScalingMechanismImpl) ScalingMechanism() BaseScalingMechanismImpl
type RawScalingTriggerImpl ¶
type RawScalingTriggerImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawScalingTriggerImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawScalingTriggerImpl) ScalingTrigger ¶ added in v0.20240920.1135249
func (s RawScalingTriggerImpl) ScalingTrigger() BaseScalingTriggerImpl
type RawServicePlacementPolicyImpl ¶
type RawServicePlacementPolicyImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawServicePlacementPolicyImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawServicePlacementPolicyImpl) ServicePlacementPolicy ¶ added in v0.20240920.1135249
func (s RawServicePlacementPolicyImpl) ServicePlacementPolicy() BaseServicePlacementPolicyImpl
type RawServiceResourcePropertiesImpl ¶
type RawServiceResourcePropertiesImpl struct { Type string Values map[string]interface{} // contains filtered or unexported fields }
RawServiceResourcePropertiesImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
func (RawServiceResourcePropertiesImpl) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s RawServiceResourcePropertiesImpl) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
type ScalingMechanism ¶
type ScalingMechanism interface {
ScalingMechanism() BaseScalingMechanismImpl
}
func UnmarshalScalingMechanismImplementation ¶ added in v0.20240920.1135249
func UnmarshalScalingMechanismImplementation(input []byte) (ScalingMechanism, error)
type ScalingPolicy ¶
type ScalingPolicy struct { ScalingMechanism ScalingMechanism `json:"scalingMechanism"` ScalingTrigger ScalingTrigger `json:"scalingTrigger"` }
func (*ScalingPolicy) UnmarshalJSON ¶
func (s *ScalingPolicy) UnmarshalJSON(bytes []byte) error
type ScalingTrigger ¶
type ScalingTrigger interface {
ScalingTrigger() BaseScalingTriggerImpl
}
func UnmarshalScalingTriggerImplementation ¶ added in v0.20240920.1135249
func UnmarshalScalingTriggerImplementation(input []byte) (ScalingTrigger, error)
type ServiceCorrelation ¶
type ServiceCorrelation struct { Scheme ServiceCorrelationScheme `json:"scheme"` ServiceName string `json:"serviceName"` }
type ServiceCorrelationScheme ¶
type ServiceCorrelationScheme string
const ( ServiceCorrelationSchemeAlignedAffinity ServiceCorrelationScheme = "AlignedAffinity" ServiceCorrelationSchemeNonAlignedAffinity ServiceCorrelationScheme = "NonAlignedAffinity" )
func (*ServiceCorrelationScheme) UnmarshalJSON ¶ added in v0.20240126.1105227
func (s *ServiceCorrelationScheme) UnmarshalJSON(bytes []byte) error
type ServiceId ¶
type ServiceId struct { SubscriptionId string ResourceGroupName string ManagedClusterName string ApplicationName string ServiceName string }
ServiceId is a struct representing the Resource ID for a Service
func NewServiceID ¶
func NewServiceID(subscriptionId string, resourceGroupName string, managedClusterName string, applicationName string, serviceName string) ServiceId
NewServiceID returns a new ServiceId struct
func ParseServiceID ¶
ParseServiceID parses 'input' into a ServiceId
func ParseServiceIDInsensitively ¶
ParseServiceIDInsensitively parses 'input' case-insensitively into a ServiceId note: this method should only be used for API response data and not user input
func (*ServiceId) FromParseResult ¶
func (id *ServiceId) FromParseResult(input resourceids.ParseResult) error
func (ServiceId) Segments ¶
func (id ServiceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Service ID
type ServiceKind ¶
type ServiceKind string
const ( ServiceKindStateful ServiceKind = "Stateful" ServiceKindStateless ServiceKind = "Stateless" )
func (*ServiceKind) UnmarshalJSON ¶ added in v0.20240126.1105227
func (s *ServiceKind) UnmarshalJSON(bytes []byte) error
type ServiceLoadMetric ¶
type ServiceLoadMetric struct { DefaultLoad *int64 `json:"defaultLoad,omitempty"` Name string `json:"name"` PrimaryDefaultLoad *int64 `json:"primaryDefaultLoad,omitempty"` SecondaryDefaultLoad *int64 `json:"secondaryDefaultLoad,omitempty"` Weight *ServiceLoadMetricWeight `json:"weight,omitempty"` }
type ServiceLoadMetricWeight ¶
type ServiceLoadMetricWeight string
const ( ServiceLoadMetricWeightHigh ServiceLoadMetricWeight = "High" ServiceLoadMetricWeightLow ServiceLoadMetricWeight = "Low" ServiceLoadMetricWeightMedium ServiceLoadMetricWeight = "Medium" ServiceLoadMetricWeightZero ServiceLoadMetricWeight = "Zero" )
func (*ServiceLoadMetricWeight) UnmarshalJSON ¶ added in v0.20240126.1105227
func (s *ServiceLoadMetricWeight) UnmarshalJSON(bytes []byte) error
type ServicePackageActivationMode ¶
type ServicePackageActivationMode string
const ( ServicePackageActivationModeExclusiveProcess ServicePackageActivationMode = "ExclusiveProcess" )
func (*ServicePackageActivationMode) UnmarshalJSON ¶ added in v0.20240126.1105227
func (s *ServicePackageActivationMode) UnmarshalJSON(bytes []byte) error
type ServicePlacementInvalidDomainPolicy ¶
type ServicePlacementInvalidDomainPolicy struct { DomainName string `json:"domainName"` Type ServicePlacementPolicyType `json:"type"` }
func (ServicePlacementInvalidDomainPolicy) MarshalJSON ¶
func (s ServicePlacementInvalidDomainPolicy) MarshalJSON() ([]byte, error)
func (ServicePlacementInvalidDomainPolicy) ServicePlacementPolicy ¶ added in v0.20240920.1135249
func (s ServicePlacementInvalidDomainPolicy) ServicePlacementPolicy() BaseServicePlacementPolicyImpl
type ServicePlacementNonPartiallyPlaceServicePolicy ¶
type ServicePlacementNonPartiallyPlaceServicePolicy struct {
Type ServicePlacementPolicyType `json:"type"`
}
func (ServicePlacementNonPartiallyPlaceServicePolicy) MarshalJSON ¶
func (s ServicePlacementNonPartiallyPlaceServicePolicy) MarshalJSON() ([]byte, error)
func (ServicePlacementNonPartiallyPlaceServicePolicy) ServicePlacementPolicy ¶ added in v0.20240920.1135249
func (s ServicePlacementNonPartiallyPlaceServicePolicy) ServicePlacementPolicy() BaseServicePlacementPolicyImpl
type ServicePlacementPolicy ¶
type ServicePlacementPolicy interface {
ServicePlacementPolicy() BaseServicePlacementPolicyImpl
}
func UnmarshalServicePlacementPolicyImplementation ¶ added in v0.20240920.1135249
func UnmarshalServicePlacementPolicyImplementation(input []byte) (ServicePlacementPolicy, error)
type ServicePlacementPolicyType ¶
type ServicePlacementPolicyType string
const ( ServicePlacementPolicyTypeInvalidDomain ServicePlacementPolicyType = "InvalidDomain" ServicePlacementPolicyTypeNonPartiallyPlaceService ServicePlacementPolicyType = "NonPartiallyPlaceService" ServicePlacementPolicyTypePreferredPrimaryDomain ServicePlacementPolicyType = "PreferredPrimaryDomain" ServicePlacementPolicyTypeRequiredDomain ServicePlacementPolicyType = "RequiredDomain" ServicePlacementPolicyTypeRequiredDomainDistribution ServicePlacementPolicyType = "RequiredDomainDistribution" )
func (*ServicePlacementPolicyType) UnmarshalJSON ¶ added in v0.20240126.1105227
func (s *ServicePlacementPolicyType) UnmarshalJSON(bytes []byte) error
type ServicePlacementPreferPrimaryDomainPolicy ¶
type ServicePlacementPreferPrimaryDomainPolicy struct { DomainName string `json:"domainName"` Type ServicePlacementPolicyType `json:"type"` }
func (ServicePlacementPreferPrimaryDomainPolicy) MarshalJSON ¶
func (s ServicePlacementPreferPrimaryDomainPolicy) MarshalJSON() ([]byte, error)
func (ServicePlacementPreferPrimaryDomainPolicy) ServicePlacementPolicy ¶ added in v0.20240920.1135249
func (s ServicePlacementPreferPrimaryDomainPolicy) ServicePlacementPolicy() BaseServicePlacementPolicyImpl
type ServicePlacementRequireDomainDistributionPolicy ¶
type ServicePlacementRequireDomainDistributionPolicy struct { DomainName string `json:"domainName"` Type ServicePlacementPolicyType `json:"type"` }
func (ServicePlacementRequireDomainDistributionPolicy) MarshalJSON ¶
func (s ServicePlacementRequireDomainDistributionPolicy) MarshalJSON() ([]byte, error)
func (ServicePlacementRequireDomainDistributionPolicy) ServicePlacementPolicy ¶ added in v0.20240920.1135249
func (s ServicePlacementRequireDomainDistributionPolicy) ServicePlacementPolicy() BaseServicePlacementPolicyImpl
type ServicePlacementRequiredDomainPolicy ¶
type ServicePlacementRequiredDomainPolicy struct { DomainName string `json:"domainName"` Type ServicePlacementPolicyType `json:"type"` }
func (ServicePlacementRequiredDomainPolicy) MarshalJSON ¶
func (s ServicePlacementRequiredDomainPolicy) MarshalJSON() ([]byte, error)
func (ServicePlacementRequiredDomainPolicy) ServicePlacementPolicy ¶ added in v0.20240920.1135249
func (s ServicePlacementRequiredDomainPolicy) ServicePlacementPolicy() BaseServicePlacementPolicyImpl
type ServiceResource ¶
type ServiceResource struct { Id *string `json:"id,omitempty"` Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties ServiceResourceProperties `json:"properties"` SystemData *SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
func (*ServiceResource) UnmarshalJSON ¶
func (s *ServiceResource) UnmarshalJSON(bytes []byte) error
type ServiceResourceProperties ¶
type ServiceResourceProperties interface {
ServiceResourceProperties() BaseServiceResourcePropertiesImpl
}
func UnmarshalServiceResourcePropertiesImplementation ¶ added in v0.20240920.1135249
func UnmarshalServiceResourcePropertiesImplementation(input []byte) (ServiceResourceProperties, error)
type ServiceScalingMechanismKind ¶
type ServiceScalingMechanismKind string
const ( ServiceScalingMechanismKindAddRemoveIncrementalNamedPartition ServiceScalingMechanismKind = "AddRemoveIncrementalNamedPartition" ServiceScalingMechanismKindScalePartitionInstanceCount ServiceScalingMechanismKind = "ScalePartitionInstanceCount" )
func (*ServiceScalingMechanismKind) UnmarshalJSON ¶ added in v0.20240126.1105227
func (s *ServiceScalingMechanismKind) UnmarshalJSON(bytes []byte) error
type ServiceScalingTriggerKind ¶
type ServiceScalingTriggerKind string
const ( ServiceScalingTriggerKindAveragePartitionLoadTrigger ServiceScalingTriggerKind = "AveragePartitionLoadTrigger" ServiceScalingTriggerKindAverageServiceLoadTrigger ServiceScalingTriggerKind = "AverageServiceLoadTrigger" )
func (*ServiceScalingTriggerKind) UnmarshalJSON ¶ added in v0.20240126.1105227
func (s *ServiceScalingTriggerKind) UnmarshalJSON(bytes []byte) error
type ServiceUpdateParameters ¶
type ServicesClient ¶
type ServicesClient struct {
Client *resourcemanager.Client
}
func NewServicesClientWithBaseURI ¶
func NewServicesClientWithBaseURI(sdkApi sdkEnv.Api) (*ServicesClient, error)
func (ServicesClient) Update ¶
func (c ServicesClient) Update(ctx context.Context, id ServiceId, input ServiceUpdateParameters) (result UpdateOperationResponse, err error)
Update ...
type SingletonPartitionScheme ¶
type SingletonPartitionScheme struct {
PartitionScheme PartitionScheme `json:"partitionScheme"`
}
func (SingletonPartitionScheme) MarshalJSON ¶
func (s SingletonPartitionScheme) MarshalJSON() ([]byte, error)
func (SingletonPartitionScheme) Partition ¶ added in v0.20240920.1135249
func (s SingletonPartitionScheme) Partition() BasePartitionImpl
type StatefulServiceProperties ¶
type StatefulServiceProperties struct { HasPersistedState *bool `json:"hasPersistedState,omitempty"` MinReplicaSetSize *int64 `json:"minReplicaSetSize,omitempty"` QuorumLossWaitDuration *string `json:"quorumLossWaitDuration,omitempty"` ReplicaRestartWaitDuration *string `json:"replicaRestartWaitDuration,omitempty"` ServicePlacementTimeLimit *string `json:"servicePlacementTimeLimit,omitempty"` StandByReplicaKeepDuration *string `json:"standByReplicaKeepDuration,omitempty"` TargetReplicaSetSize *int64 `json:"targetReplicaSetSize,omitempty"` CorrelationScheme *[]ServiceCorrelation `json:"correlationScheme,omitempty"` DefaultMoveCost *MoveCost `json:"defaultMoveCost,omitempty"` PartitionDescription Partition `json:"partitionDescription"` PlacementConstraints *string `json:"placementConstraints,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ScalingPolicies *[]ScalingPolicy `json:"scalingPolicies,omitempty"` ServiceKind ServiceKind `json:"serviceKind"` ServiceLoadMetrics *[]ServiceLoadMetric `json:"serviceLoadMetrics,omitempty"` ServicePackageActivationMode *ServicePackageActivationMode `json:"servicePackageActivationMode,omitempty"` ServicePlacementPolicies *[]ServicePlacementPolicy `json:"servicePlacementPolicies,omitempty"` ServiceTypeName string `json:"serviceTypeName"` }
func (StatefulServiceProperties) MarshalJSON ¶
func (s StatefulServiceProperties) MarshalJSON() ([]byte, error)
func (StatefulServiceProperties) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s StatefulServiceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*StatefulServiceProperties) UnmarshalJSON ¶
func (s *StatefulServiceProperties) UnmarshalJSON(bytes []byte) error
type StatelessServiceProperties ¶
type StatelessServiceProperties struct { InstanceCount int64 `json:"instanceCount"` MinInstanceCount *int64 `json:"minInstanceCount,omitempty"` MinInstancePercentage *int64 `json:"minInstancePercentage,omitempty"` CorrelationScheme *[]ServiceCorrelation `json:"correlationScheme,omitempty"` DefaultMoveCost *MoveCost `json:"defaultMoveCost,omitempty"` PartitionDescription Partition `json:"partitionDescription"` PlacementConstraints *string `json:"placementConstraints,omitempty"` ProvisioningState *string `json:"provisioningState,omitempty"` ScalingPolicies *[]ScalingPolicy `json:"scalingPolicies,omitempty"` ServiceKind ServiceKind `json:"serviceKind"` ServiceLoadMetrics *[]ServiceLoadMetric `json:"serviceLoadMetrics,omitempty"` ServicePackageActivationMode *ServicePackageActivationMode `json:"servicePackageActivationMode,omitempty"` ServicePlacementPolicies *[]ServicePlacementPolicy `json:"servicePlacementPolicies,omitempty"` ServiceTypeName string `json:"serviceTypeName"` }
func (StatelessServiceProperties) MarshalJSON ¶
func (s StatelessServiceProperties) MarshalJSON() ([]byte, error)
func (StatelessServiceProperties) ServiceResourceProperties ¶ added in v0.20240920.1135249
func (s StatelessServiceProperties) ServiceResourceProperties() BaseServiceResourcePropertiesImpl
func (*StatelessServiceProperties) UnmarshalJSON ¶
func (s *StatelessServiceProperties) UnmarshalJSON(bytes []byte) error
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 UniformInt64RangePartitionScheme ¶
type UniformInt64RangePartitionScheme struct { Count int64 `json:"count"` HighKey int64 `json:"highKey"` LowKey int64 `json:"lowKey"` PartitionScheme PartitionScheme `json:"partitionScheme"` }
func (UniformInt64RangePartitionScheme) MarshalJSON ¶
func (s UniformInt64RangePartitionScheme) MarshalJSON() ([]byte, error)
func (UniformInt64RangePartitionScheme) Partition ¶ added in v0.20240920.1135249
func (s UniformInt64RangePartitionScheme) Partition() BasePartitionImpl
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ServiceResource }
Source Files ¶
- client.go
- constants.go
- id_service.go
- method_update.go
- model_addremoveincrementalnamedpartitionscalingmechanism.go
- model_averagepartitionloadscalingtrigger.go
- model_averageserviceloadscalingtrigger.go
- model_namedpartitionscheme.go
- model_partition.go
- model_partitioninstancecountscalemechanism.go
- model_scalingmechanism.go
- model_scalingpolicy.go
- model_scalingtrigger.go
- model_servicecorrelation.go
- model_serviceloadmetric.go
- model_serviceplacementinvaliddomainpolicy.go
- model_serviceplacementnonpartiallyplaceservicepolicy.go
- model_serviceplacementpolicy.go
- model_serviceplacementpreferprimarydomainpolicy.go
- model_serviceplacementrequireddomainpolicy.go
- model_serviceplacementrequiredomaindistributionpolicy.go
- model_serviceresource.go
- model_serviceresourceproperties.go
- model_serviceupdateparameters.go
- model_singletonpartitionscheme.go
- model_statefulserviceproperties.go
- model_statelessserviceproperties.go
- model_systemdata.go
- model_uniformint64rangepartitionscheme.go
- version.go