Documentation ¶
Index ¶
- func PossibleValuesForCheckNameAvailabilityReason() []string
- func PossibleValuesForCreateMode() []string
- func PossibleValuesForHighAvailabilityMode() []string
- func PossibleValuesForMongoClusterStatus() []string
- func PossibleValuesForPreviewFeature() []string
- func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
- func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
- func PossibleValuesForPromoteMode() []string
- func PossibleValuesForPromoteOption() []string
- func PossibleValuesForProvisioningState() []string
- func PossibleValuesForPublicNetworkAccess() []string
- func PossibleValuesForReplicationRole() []string
- func PossibleValuesForReplicationState() []string
- func ValidateLocationID(input interface{}, key string) (warnings []string, errors []error)
- func ValidateMongoClusterID(input interface{}, key string) (warnings []string, errors []error)
- type AdministratorProperties
- type BackupProperties
- type CheckNameAvailabilityOperationResponse
- type CheckNameAvailabilityReason
- type CheckNameAvailabilityRequest
- type CheckNameAvailabilityResponse
- type ComputeProperties
- type ConnectionString
- type CreateMode
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type HighAvailabilityMode
- type HighAvailabilityProperties
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListCompleteResult
- type ListConnectionStringsOperationResponse
- type ListConnectionStringsResult
- type ListCustomPager
- type ListOperationResponse
- type LocationId
- type MongoCluster
- type MongoClusterId
- type MongoClusterOperationPredicate
- type MongoClusterProperties
- type MongoClusterReplicaParameters
- type MongoClusterRestoreParameters
- type MongoClusterStatus
- type MongoClusterUpdate
- type MongoClusterUpdateProperties
- type MongoClustersClient
- func (c MongoClustersClient) CheckNameAvailability(ctx context.Context, id LocationId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
- func (c MongoClustersClient) CreateOrUpdate(ctx context.Context, id MongoClusterId, input MongoCluster) (result CreateOrUpdateOperationResponse, err error)
- func (c MongoClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id MongoClusterId, input MongoCluster) error
- func (c MongoClustersClient) Delete(ctx context.Context, id MongoClusterId) (result DeleteOperationResponse, err error)
- func (c MongoClustersClient) DeleteThenPoll(ctx context.Context, id MongoClusterId) error
- func (c MongoClustersClient) Get(ctx context.Context, id MongoClusterId) (result GetOperationResponse, err error)
- func (c MongoClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
- func (c MongoClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c MongoClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c MongoClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c MongoClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
- func (c MongoClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListCompleteResult, err error)
- func (c MongoClustersClient) ListConnectionStrings(ctx context.Context, id MongoClusterId) (result ListConnectionStringsOperationResponse, err error)
- func (c MongoClustersClient) Promote(ctx context.Context, id MongoClusterId, input PromoteReplicaRequest) (result PromoteOperationResponse, err error)
- func (c MongoClustersClient) PromoteThenPoll(ctx context.Context, id MongoClusterId, input PromoteReplicaRequest) error
- func (c MongoClustersClient) Update(ctx context.Context, id MongoClusterId, input MongoClusterUpdate) (result UpdateOperationResponse, err error)
- func (c MongoClustersClient) UpdateThenPoll(ctx context.Context, id MongoClusterId, input MongoClusterUpdate) error
- type PreviewFeature
- type PrivateEndpoint
- type PrivateEndpointConnection
- type PrivateEndpointConnectionProperties
- type PrivateEndpointConnectionProvisioningState
- type PrivateEndpointServiceConnectionStatus
- type PrivateLinkServiceConnectionState
- type PromoteMode
- type PromoteOperationResponse
- type PromoteOption
- type PromoteReplicaRequest
- type ProvisioningState
- type PublicNetworkAccess
- type ReplicationProperties
- type ReplicationRole
- type ReplicationState
- type ShardingProperties
- type StorageProperties
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForCheckNameAvailabilityReason ¶
func PossibleValuesForCheckNameAvailabilityReason() []string
func PossibleValuesForCreateMode ¶
func PossibleValuesForCreateMode() []string
func PossibleValuesForHighAvailabilityMode ¶
func PossibleValuesForHighAvailabilityMode() []string
func PossibleValuesForMongoClusterStatus ¶
func PossibleValuesForMongoClusterStatus() []string
func PossibleValuesForPreviewFeature ¶
func PossibleValuesForPreviewFeature() []string
func PossibleValuesForPrivateEndpointConnectionProvisioningState ¶
func PossibleValuesForPrivateEndpointConnectionProvisioningState() []string
func PossibleValuesForPrivateEndpointServiceConnectionStatus ¶
func PossibleValuesForPrivateEndpointServiceConnectionStatus() []string
func PossibleValuesForPromoteMode ¶
func PossibleValuesForPromoteMode() []string
func PossibleValuesForPromoteOption ¶
func PossibleValuesForPromoteOption() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func PossibleValuesForPublicNetworkAccess ¶
func PossibleValuesForPublicNetworkAccess() []string
func PossibleValuesForReplicationRole ¶
func PossibleValuesForReplicationRole() []string
func PossibleValuesForReplicationState ¶
func PossibleValuesForReplicationState() []string
func ValidateLocationID ¶
ValidateLocationID checks that 'input' can be parsed as a Location ID
func ValidateMongoClusterID ¶
ValidateMongoClusterID checks that 'input' can be parsed as a Mongo Cluster ID
Types ¶
type AdministratorProperties ¶
type BackupProperties ¶
type BackupProperties struct {
EarliestRestoreTime *string `json:"earliestRestoreTime,omitempty"`
}
type CheckNameAvailabilityOperationResponse ¶
type CheckNameAvailabilityOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *CheckNameAvailabilityResponse }
type CheckNameAvailabilityReason ¶
type CheckNameAvailabilityReason string
const ( CheckNameAvailabilityReasonAlreadyExists CheckNameAvailabilityReason = "AlreadyExists" CheckNameAvailabilityReasonInvalid CheckNameAvailabilityReason = "Invalid" )
func (*CheckNameAvailabilityReason) UnmarshalJSON ¶
func (s *CheckNameAvailabilityReason) UnmarshalJSON(bytes []byte) error
type CheckNameAvailabilityResponse ¶
type CheckNameAvailabilityResponse struct { Message *string `json:"message,omitempty"` NameAvailable *bool `json:"nameAvailable,omitempty"` Reason *CheckNameAvailabilityReason `json:"reason,omitempty"` }
type ComputeProperties ¶
type ComputeProperties struct {
Tier *string `json:"tier,omitempty"`
}
type ConnectionString ¶
type CreateMode ¶
type CreateMode string
const ( CreateModeDefault CreateMode = "Default" CreateModeGeoReplica CreateMode = "GeoReplica" CreateModePointInTimeRestore CreateMode = "PointInTimeRestore" CreateModeReplica CreateMode = "Replica" )
func (*CreateMode) UnmarshalJSON ¶
func (s *CreateMode) UnmarshalJSON(bytes []byte) error
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *MongoCluster }
type HighAvailabilityMode ¶
type HighAvailabilityMode string
const ( HighAvailabilityModeDisabled HighAvailabilityMode = "Disabled" HighAvailabilityModeSameZone HighAvailabilityMode = "SameZone" HighAvailabilityModeZoneRedundantPreferred HighAvailabilityMode = "ZoneRedundantPreferred" )
func (*HighAvailabilityMode) UnmarshalJSON ¶
func (s *HighAvailabilityMode) UnmarshalJSON(bytes []byte) error
type HighAvailabilityProperties ¶
type HighAvailabilityProperties struct {
TargetMode *HighAvailabilityMode `json:"targetMode,omitempty"`
}
type ListByResourceGroupCompleteResult ¶
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []MongoCluster }
type ListByResourceGroupCustomPager ¶
func (*ListByResourceGroupCustomPager) NextPageLink ¶
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MongoCluster }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []MongoCluster }
type ListConnectionStringsOperationResponse ¶
type ListConnectionStringsOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *ListConnectionStringsResult }
type ListConnectionStringsResult ¶
type ListConnectionStringsResult struct {
ConnectionStrings *[]ConnectionString `json:"connectionStrings,omitempty"`
}
type ListCustomPager ¶
func (*ListCustomPager) NextPageLink ¶
func (p *ListCustomPager) NextPageLink() *odata.Link
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]MongoCluster }
type LocationId ¶
LocationId is a struct representing the Resource ID for a Location
func NewLocationID ¶
func NewLocationID(subscriptionId string, locationName string) LocationId
NewLocationID returns a new LocationId struct
func ParseLocationID ¶
func ParseLocationID(input string) (*LocationId, error)
ParseLocationID parses 'input' into a LocationId
func ParseLocationIDInsensitively ¶
func ParseLocationIDInsensitively(input string) (*LocationId, error)
ParseLocationIDInsensitively parses 'input' case-insensitively into a LocationId note: this method should only be used for API response data and not user input
func (*LocationId) FromParseResult ¶
func (id *LocationId) FromParseResult(input resourceids.ParseResult) error
func (LocationId) Segments ¶
func (id LocationId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Location ID
func (LocationId) String ¶
func (id LocationId) String() string
String returns a human-readable description of this Location ID
type MongoCluster ¶
type MongoCluster struct { Id *string `json:"id,omitempty"` Location string `json:"location"` Name *string `json:"name,omitempty"` Properties *MongoClusterProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` }
type MongoClusterId ¶
type MongoClusterId struct { SubscriptionId string ResourceGroupName string MongoClusterName string }
MongoClusterId is a struct representing the Resource ID for a Mongo Cluster
func NewMongoClusterID ¶
func NewMongoClusterID(subscriptionId string, resourceGroupName string, mongoClusterName string) MongoClusterId
NewMongoClusterID returns a new MongoClusterId struct
func ParseMongoClusterID ¶
func ParseMongoClusterID(input string) (*MongoClusterId, error)
ParseMongoClusterID parses 'input' into a MongoClusterId
func ParseMongoClusterIDInsensitively ¶
func ParseMongoClusterIDInsensitively(input string) (*MongoClusterId, error)
ParseMongoClusterIDInsensitively parses 'input' case-insensitively into a MongoClusterId note: this method should only be used for API response data and not user input
func (*MongoClusterId) FromParseResult ¶
func (id *MongoClusterId) FromParseResult(input resourceids.ParseResult) error
func (MongoClusterId) ID ¶
func (id MongoClusterId) ID() string
ID returns the formatted Mongo Cluster ID
func (MongoClusterId) Segments ¶
func (id MongoClusterId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Mongo Cluster ID
func (MongoClusterId) String ¶
func (id MongoClusterId) String() string
String returns a human-readable description of this Mongo Cluster ID
type MongoClusterOperationPredicate ¶
type MongoClusterOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (MongoClusterOperationPredicate) Matches ¶
func (p MongoClusterOperationPredicate) Matches(input MongoCluster) bool
type MongoClusterProperties ¶
type MongoClusterProperties struct { Administrator *AdministratorProperties `json:"administrator,omitempty"` Backup *BackupProperties `json:"backup,omitempty"` ClusterStatus *MongoClusterStatus `json:"clusterStatus,omitempty"` Compute *ComputeProperties `json:"compute,omitempty"` ConnectionString *string `json:"connectionString,omitempty"` CreateMode *CreateMode `json:"createMode,omitempty"` HighAvailability *HighAvailabilityProperties `json:"highAvailability,omitempty"` InfrastructureVersion *string `json:"infrastructureVersion,omitempty"` PreviewFeatures *[]PreviewFeature `json:"previewFeatures,omitempty"` PrivateEndpointConnections *[]PrivateEndpointConnection `json:"privateEndpointConnections,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` Replica *ReplicationProperties `json:"replica,omitempty"` ReplicaParameters *MongoClusterReplicaParameters `json:"replicaParameters,omitempty"` RestoreParameters *MongoClusterRestoreParameters `json:"restoreParameters,omitempty"` ServerVersion *string `json:"serverVersion,omitempty"` Sharding *ShardingProperties `json:"sharding,omitempty"` Storage *StorageProperties `json:"storage,omitempty"` }
type MongoClusterRestoreParameters ¶
type MongoClusterRestoreParameters struct { PointInTimeUTC *string `json:"pointInTimeUTC,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
func (*MongoClusterRestoreParameters) GetPointInTimeUTCAsTime ¶
func (o *MongoClusterRestoreParameters) GetPointInTimeUTCAsTime() (*time.Time, error)
func (*MongoClusterRestoreParameters) SetPointInTimeUTCAsTime ¶
func (o *MongoClusterRestoreParameters) SetPointInTimeUTCAsTime(input time.Time)
type MongoClusterStatus ¶
type MongoClusterStatus string
const ( MongoClusterStatusDropping MongoClusterStatus = "Dropping" MongoClusterStatusProvisioning MongoClusterStatus = "Provisioning" MongoClusterStatusReady MongoClusterStatus = "Ready" MongoClusterStatusStarting MongoClusterStatus = "Starting" MongoClusterStatusStopped MongoClusterStatus = "Stopped" MongoClusterStatusStopping MongoClusterStatus = "Stopping" MongoClusterStatusUpdating MongoClusterStatus = "Updating" )
func (*MongoClusterStatus) UnmarshalJSON ¶
func (s *MongoClusterStatus) UnmarshalJSON(bytes []byte) error
type MongoClusterUpdate ¶
type MongoClusterUpdate struct { Properties *MongoClusterUpdateProperties `json:"properties,omitempty"` Tags *map[string]string `json:"tags,omitempty"` }
type MongoClusterUpdateProperties ¶
type MongoClusterUpdateProperties struct { Administrator *AdministratorProperties `json:"administrator,omitempty"` Backup *BackupProperties `json:"backup,omitempty"` Compute *ComputeProperties `json:"compute,omitempty"` HighAvailability *HighAvailabilityProperties `json:"highAvailability,omitempty"` PreviewFeatures *[]PreviewFeature `json:"previewFeatures,omitempty"` PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` ServerVersion *string `json:"serverVersion,omitempty"` Sharding *ShardingProperties `json:"sharding,omitempty"` Storage *StorageProperties `json:"storage,omitempty"` }
type MongoClustersClient ¶
type MongoClustersClient struct {
Client *resourcemanager.Client
}
func NewMongoClustersClientWithBaseURI ¶
func NewMongoClustersClientWithBaseURI(sdkApi sdkEnv.Api) (*MongoClustersClient, error)
func (MongoClustersClient) CheckNameAvailability ¶
func (c MongoClustersClient) CheckNameAvailability(ctx context.Context, id LocationId, input CheckNameAvailabilityRequest) (result CheckNameAvailabilityOperationResponse, err error)
CheckNameAvailability ...
func (MongoClustersClient) CreateOrUpdate ¶
func (c MongoClustersClient) CreateOrUpdate(ctx context.Context, id MongoClusterId, input MongoCluster) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (MongoClustersClient) CreateOrUpdateThenPoll ¶
func (c MongoClustersClient) CreateOrUpdateThenPoll(ctx context.Context, id MongoClusterId, input MongoCluster) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (MongoClustersClient) Delete ¶
func (c MongoClustersClient) Delete(ctx context.Context, id MongoClusterId) (result DeleteOperationResponse, err error)
Delete ...
func (MongoClustersClient) DeleteThenPoll ¶
func (c MongoClustersClient) DeleteThenPoll(ctx context.Context, id MongoClusterId) error
DeleteThenPoll performs Delete then polls until it's completed
func (MongoClustersClient) Get ¶
func (c MongoClustersClient) Get(ctx context.Context, id MongoClusterId) (result GetOperationResponse, err error)
Get ...
func (MongoClustersClient) List ¶
func (c MongoClustersClient) List(ctx context.Context, id commonids.SubscriptionId) (result ListOperationResponse, err error)
List ...
func (MongoClustersClient) ListByResourceGroup ¶
func (c MongoClustersClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (MongoClustersClient) ListByResourceGroupComplete ¶
func (c MongoClustersClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (MongoClustersClient) ListByResourceGroupCompleteMatchingPredicate ¶
func (c MongoClustersClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate MongoClusterOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MongoClustersClient) ListComplete ¶
func (c MongoClustersClient) ListComplete(ctx context.Context, id commonids.SubscriptionId) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (MongoClustersClient) ListCompleteMatchingPredicate ¶
func (c MongoClustersClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate MongoClusterOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MongoClustersClient) ListConnectionStrings ¶
func (c MongoClustersClient) ListConnectionStrings(ctx context.Context, id MongoClusterId) (result ListConnectionStringsOperationResponse, err error)
ListConnectionStrings ...
func (MongoClustersClient) Promote ¶
func (c MongoClustersClient) Promote(ctx context.Context, id MongoClusterId, input PromoteReplicaRequest) (result PromoteOperationResponse, err error)
Promote ...
func (MongoClustersClient) PromoteThenPoll ¶
func (c MongoClustersClient) PromoteThenPoll(ctx context.Context, id MongoClusterId, input PromoteReplicaRequest) error
PromoteThenPoll performs Promote then polls until it's completed
func (MongoClustersClient) Update ¶
func (c MongoClustersClient) Update(ctx context.Context, id MongoClusterId, input MongoClusterUpdate) (result UpdateOperationResponse, err error)
Update ...
func (MongoClustersClient) UpdateThenPoll ¶
func (c MongoClustersClient) UpdateThenPoll(ctx context.Context, id MongoClusterId, input MongoClusterUpdate) error
UpdateThenPoll performs Update then polls until it's completed
type PreviewFeature ¶
type PreviewFeature string
const (
PreviewFeatureGeoReplicas PreviewFeature = "GeoReplicas"
)
func (*PreviewFeature) UnmarshalJSON ¶
func (s *PreviewFeature) UnmarshalJSON(bytes []byte) error
type PrivateEndpoint ¶
type PrivateEndpoint struct {
Id *string `json:"id,omitempty"`
}
type PrivateEndpointConnection ¶
type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type PrivateEndpointConnectionProperties ¶
type PrivateEndpointConnectionProperties struct { GroupIds *[]string `json:"groupIds,omitempty"` PrivateEndpoint *PrivateEndpoint `json:"privateEndpoint,omitempty"` PrivateLinkServiceConnectionState PrivateLinkServiceConnectionState `json:"privateLinkServiceConnectionState"` ProvisioningState *PrivateEndpointConnectionProvisioningState `json:"provisioningState,omitempty"` }
type PrivateEndpointConnectionProvisioningState ¶
type PrivateEndpointConnectionProvisioningState string
const ( PrivateEndpointConnectionProvisioningStateCreating PrivateEndpointConnectionProvisioningState = "Creating" PrivateEndpointConnectionProvisioningStateDeleting PrivateEndpointConnectionProvisioningState = "Deleting" PrivateEndpointConnectionProvisioningStateFailed PrivateEndpointConnectionProvisioningState = "Failed" PrivateEndpointConnectionProvisioningStateSucceeded PrivateEndpointConnectionProvisioningState = "Succeeded" )
func (*PrivateEndpointConnectionProvisioningState) UnmarshalJSON ¶
func (s *PrivateEndpointConnectionProvisioningState) UnmarshalJSON(bytes []byte) error
type PrivateEndpointServiceConnectionStatus ¶
type PrivateEndpointServiceConnectionStatus string
const ( PrivateEndpointServiceConnectionStatusApproved PrivateEndpointServiceConnectionStatus = "Approved" PrivateEndpointServiceConnectionStatusPending PrivateEndpointServiceConnectionStatus = "Pending" PrivateEndpointServiceConnectionStatusRejected PrivateEndpointServiceConnectionStatus = "Rejected" )
func (*PrivateEndpointServiceConnectionStatus) UnmarshalJSON ¶
func (s *PrivateEndpointServiceConnectionStatus) UnmarshalJSON(bytes []byte) error
type PrivateLinkServiceConnectionState ¶
type PrivateLinkServiceConnectionState struct { ActionsRequired *string `json:"actionsRequired,omitempty"` Description *string `json:"description,omitempty"` Status *PrivateEndpointServiceConnectionStatus `json:"status,omitempty"` }
type PromoteMode ¶
type PromoteMode string
const (
PromoteModeSwitchover PromoteMode = "Switchover"
)
func (*PromoteMode) UnmarshalJSON ¶
func (s *PromoteMode) UnmarshalJSON(bytes []byte) error
type PromoteOption ¶
type PromoteOption string
const (
PromoteOptionForced PromoteOption = "Forced"
)
func (*PromoteOption) UnmarshalJSON ¶
func (s *PromoteOption) UnmarshalJSON(bytes []byte) error
type PromoteReplicaRequest ¶
type PromoteReplicaRequest struct { Mode *PromoteMode `json:"mode,omitempty"` PromoteOption PromoteOption `json:"promoteOption"` }
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateDropping ProvisioningState = "Dropping" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateInProgress ProvisioningState = "InProgress" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type PublicNetworkAccess ¶
type PublicNetworkAccess string
const ( PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled" PublicNetworkAccessEnabled PublicNetworkAccess = "Enabled" )
func (*PublicNetworkAccess) UnmarshalJSON ¶
func (s *PublicNetworkAccess) UnmarshalJSON(bytes []byte) error
type ReplicationProperties ¶
type ReplicationProperties struct { ReplicationState *ReplicationState `json:"replicationState,omitempty"` Role *ReplicationRole `json:"role,omitempty"` SourceResourceId *string `json:"sourceResourceId,omitempty"` }
type ReplicationRole ¶
type ReplicationRole string
const ( ReplicationRoleAsyncReplica ReplicationRole = "AsyncReplica" ReplicationRoleGeoAsyncReplica ReplicationRole = "GeoAsyncReplica" ReplicationRolePrimary ReplicationRole = "Primary" )
func (*ReplicationRole) UnmarshalJSON ¶
func (s *ReplicationRole) UnmarshalJSON(bytes []byte) error
type ReplicationState ¶
type ReplicationState string
const ( ReplicationStateActive ReplicationState = "Active" ReplicationStateBroken ReplicationState = "Broken" ReplicationStateCatchup ReplicationState = "Catchup" ReplicationStateProvisioning ReplicationState = "Provisioning" ReplicationStateReconfiguring ReplicationState = "Reconfiguring" ReplicationStateUpdating ReplicationState = "Updating" )
func (*ReplicationState) UnmarshalJSON ¶
func (s *ReplicationState) UnmarshalJSON(bytes []byte) error
type ShardingProperties ¶
type ShardingProperties struct {
ShardCount *int64 `json:"shardCount,omitempty"`
}
type StorageProperties ¶
type StorageProperties struct {
SizeGb *int64 `json:"sizeGb,omitempty"`
}
type UpdateOperationResponse ¶
Source Files ¶
- client.go
- constants.go
- id_location.go
- id_mongocluster.go
- method_checknameavailability.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- method_listbyresourcegroup.go
- method_listconnectionstrings.go
- method_promote.go
- method_update.go
- model_administratorproperties.go
- model_backupproperties.go
- model_checknameavailabilityrequest.go
- model_checknameavailabilityresponse.go
- model_computeproperties.go
- model_connectionstring.go
- model_highavailabilityproperties.go
- model_listconnectionstringsresult.go
- model_mongocluster.go
- model_mongoclusterproperties.go
- model_mongoclusterreplicaparameters.go
- model_mongoclusterrestoreparameters.go
- model_mongoclusterupdate.go
- model_mongoclusterupdateproperties.go
- model_privateendpoint.go
- model_privateendpointconnection.go
- model_privateendpointconnectionproperties.go
- model_privatelinkserviceconnectionstate.go
- model_promotereplicarequest.go
- model_replicationproperties.go
- model_shardingproperties.go
- model_storageproperties.go
- predicates.go
- version.go