armcosmos

package module
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 1, 2021 License: MIT Imports: 15 Imported by: 5

README

Azure Cosmos DB Module for Go

PkgGoDev

The armcosmos module provides operations for working with Azure Cosmos DB.

Source code

Getting started

Prerequisites

Install the package

This project uses Go modules for versioning and dependency management.

Install the Azure Cosmos DB module:

go get github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/cosmos/armcosmos

Authorization

When creating a client, you will need to provide a credential for authenticating with Azure Cosmos DB. The azidentity module provides facilities for various ways of authenticating with Azure including client/secret, certificate, managed identity, and more.

cred, err := azidentity.NewDefaultAzureCredential(nil)

For more information on authentication, please see the documentation for azidentity at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azidentity.

Clients

Azure Cosmos DB modules consist of one or more clients. A client groups a set of related APIs, providing access to its functionality within the specified subscription. Create one or more clients to access the APIs you require using your credential.

client := armcosmos.NewDatabaseClient(<subscription ID>, cred, nil)

You can use ClientOptions in package github.com/Azure/azure-sdk-for-go/sdk/azcore/arm to set endpoint to connect with public and sovereign clouds as well as Azure Stack. For more information, please see the documentation for azcore at pkg.go.dev/github.com/Azure/azure-sdk-for-go/sdk/azcore.

options = arm.ClientOptions{
    Host: arm.AzureChina,
}
client := armcosmos.NewDatabaseClient(<subscription ID>, cred, &options)

Provide Feedback

If you encounter bugs or have suggestions, please open an issue and assign the Cosmos DB label.

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIProperties

type APIProperties struct {
	// Describes the ServerVersion of an a MongoDB account.
	ServerVersion *ServerVersion `json:"serverVersion,omitempty"`
}

type APIType

type APIType string

APIType - Enum to indicate the API type of the restorable database account.

const (
	APITypeCassandra APIType = "Cassandra"
	APITypeGremlin   APIType = "Gremlin"
	APITypeGremlinV2 APIType = "GremlinV2"
	APITypeMongoDB   APIType = "MongoDB"
	APITypeSQL       APIType = "Sql"
	APITypeTable     APIType = "Table"
)

func PossibleAPITypeValues

func PossibleAPITypeValues() []APIType

PossibleAPITypeValues returns the possible values for the APIType const type.

func (APIType) ToPtr

func (c APIType) ToPtr() *APIType

ToPtr returns a *APIType pointing to the current value.

type ARMProxyResource

type ARMProxyResource struct {
	// READ-ONLY; The unique resource identifier of the database account.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the database account.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of Azure resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ARMProxyResource - The resource model definition for a ARM proxy resource. It will have everything other than required location and tags

func (ARMProxyResource) MarshalJSON

func (a ARMProxyResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ARMProxyResource.

type ARMResourceProperties

type ARMResourceProperties struct {
	// The location of the resource group to which the resource belongs.
	Location *string `json:"location,omitempty"`

	// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
	// A maximum of 15 tags can be provided for a
	// resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a
	// template type is set with "defaultExperience":
	// "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; The unique resource identifier of the ARM resource.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the ARM resource.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of Azure resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ARMResourceProperties - The core properties of ARM resources.

func (ARMResourceProperties) MarshalJSON

func (a ARMResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ARMResourceProperties.

type AnalyticalStorageConfiguration

type AnalyticalStorageConfiguration struct {
	// Describes the types of schema for analytical storage.
	SchemaType *AnalyticalStorageSchemaType `json:"schemaType,omitempty"`
}

AnalyticalStorageConfiguration - Analytical storage specific properties.

type AnalyticalStorageSchemaType

type AnalyticalStorageSchemaType string

AnalyticalStorageSchemaType - Describes the types of schema for analytical storage.

const (
	AnalyticalStorageSchemaTypeFullFidelity AnalyticalStorageSchemaType = "FullFidelity"
	AnalyticalStorageSchemaTypeWellDefined  AnalyticalStorageSchemaType = "WellDefined"
)

func PossibleAnalyticalStorageSchemaTypeValues

func PossibleAnalyticalStorageSchemaTypeValues() []AnalyticalStorageSchemaType

PossibleAnalyticalStorageSchemaTypeValues returns the possible values for the AnalyticalStorageSchemaType const type.

func (AnalyticalStorageSchemaType) ToPtr

ToPtr returns a *AnalyticalStorageSchemaType pointing to the current value.

type AuthenticationMethod

type AuthenticationMethod string

AuthenticationMethod - Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'.

const (
	AuthenticationMethodCassandra AuthenticationMethod = "Cassandra"
	AuthenticationMethodNone      AuthenticationMethod = "None"
)

func PossibleAuthenticationMethodValues

func PossibleAuthenticationMethodValues() []AuthenticationMethod

PossibleAuthenticationMethodValues returns the possible values for the AuthenticationMethod const type.

func (AuthenticationMethod) ToPtr

ToPtr returns a *AuthenticationMethod pointing to the current value.

type AutoUpgradePolicyResource

type AutoUpgradePolicyResource struct {
	// Represents throughput policy which service must adhere to for auto-upgrade
	ThroughputPolicy *ThroughputPolicyResource `json:"throughputPolicy,omitempty"`
}

AutoUpgradePolicyResource - Cosmos DB resource auto-upgrade policy

type AutoscaleSettings

type AutoscaleSettings struct {
	// Represents maximum throughput, the resource can scale up to.
	MaxThroughput *int32 `json:"maxThroughput,omitempty"`
}

type AutoscaleSettingsResource

type AutoscaleSettingsResource struct {
	// REQUIRED; Represents maximum throughput container can scale up to.
	MaxThroughput *int32 `json:"maxThroughput,omitempty"`

	// Cosmos DB resource auto-upgrade policy
	AutoUpgradePolicy *AutoUpgradePolicyResource `json:"autoUpgradePolicy,omitempty"`

	// READ-ONLY; Represents target maximum throughput container can scale up to once offer is no longer in pending state.
	TargetMaxThroughput *int32 `json:"targetMaxThroughput,omitempty" azure:"ro"`
}

AutoscaleSettingsResource - Cosmos DB provisioned throughput settings object

type BackupInformation

type BackupInformation struct {
	// READ-ONLY; Information about the status of continuous backups.
	ContinuousBackupInformation *ContinuousBackupInformation `json:"continuousBackupInformation,omitempty" azure:"ro"`
}

BackupInformation - Backup information of a resource.

type BackupPolicy

type BackupPolicy struct {
	// REQUIRED; Describes the mode of backups.
	Type *BackupPolicyType `json:"type,omitempty"`

	// The object representing the state of the migration between the backup policies.
	MigrationState *BackupPolicyMigrationState `json:"migrationState,omitempty"`
}

BackupPolicy - The object representing the policy for taking backups on an account.

func (*BackupPolicy) GetBackupPolicy

func (b *BackupPolicy) GetBackupPolicy() *BackupPolicy

GetBackupPolicy implements the BackupPolicyClassification interface for type BackupPolicy.

func (*BackupPolicy) UnmarshalJSON

func (b *BackupPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BackupPolicy.

type BackupPolicyClassification

type BackupPolicyClassification interface {
	// GetBackupPolicy returns the BackupPolicy content of the underlying type.
	GetBackupPolicy() *BackupPolicy
}

BackupPolicyClassification provides polymorphic access to related types. Call the interface's GetBackupPolicy() method to access the common type. Use a type switch to determine the concrete type. The possible types are: - *BackupPolicy, *ContinuousModeBackupPolicy, *PeriodicModeBackupPolicy

type BackupPolicyMigrationState

type BackupPolicyMigrationState struct {
	// Time at which the backup policy migration started (ISO-8601 format).
	StartTime *time.Time `json:"startTime,omitempty"`

	// Describes the status of migration between backup policy types.
	Status *BackupPolicyMigrationStatus `json:"status,omitempty"`

	// Describes the target backup policy type of the backup policy migration.
	TargetType *BackupPolicyType `json:"targetType,omitempty"`
}

BackupPolicyMigrationState - The object representing the state of the migration between the backup policies.

func (BackupPolicyMigrationState) MarshalJSON

func (b BackupPolicyMigrationState) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type BackupPolicyMigrationState.

func (*BackupPolicyMigrationState) UnmarshalJSON

func (b *BackupPolicyMigrationState) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type BackupPolicyMigrationState.

type BackupPolicyMigrationStatus

type BackupPolicyMigrationStatus string

BackupPolicyMigrationStatus - Describes the status of migration between backup policy types.

const (
	BackupPolicyMigrationStatusCompleted  BackupPolicyMigrationStatus = "Completed"
	BackupPolicyMigrationStatusFailed     BackupPolicyMigrationStatus = "Failed"
	BackupPolicyMigrationStatusInProgress BackupPolicyMigrationStatus = "InProgress"
	BackupPolicyMigrationStatusInvalid    BackupPolicyMigrationStatus = "Invalid"
)

func PossibleBackupPolicyMigrationStatusValues

func PossibleBackupPolicyMigrationStatusValues() []BackupPolicyMigrationStatus

PossibleBackupPolicyMigrationStatusValues returns the possible values for the BackupPolicyMigrationStatus const type.

func (BackupPolicyMigrationStatus) ToPtr

ToPtr returns a *BackupPolicyMigrationStatus pointing to the current value.

type BackupPolicyType

type BackupPolicyType string

BackupPolicyType - Describes the mode of backups.

const (
	BackupPolicyTypeContinuous BackupPolicyType = "Continuous"
	BackupPolicyTypePeriodic   BackupPolicyType = "Periodic"
)

func PossibleBackupPolicyTypeValues

func PossibleBackupPolicyTypeValues() []BackupPolicyType

PossibleBackupPolicyTypeValues returns the possible values for the BackupPolicyType const type.

func (BackupPolicyType) ToPtr

ToPtr returns a *BackupPolicyType pointing to the current value.

type BackupStorageRedundancy

type BackupStorageRedundancy string

BackupStorageRedundancy - Enum to indicate type of backup storage redundancy.

const (
	BackupStorageRedundancyGeo   BackupStorageRedundancy = "Geo"
	BackupStorageRedundancyLocal BackupStorageRedundancy = "Local"
	BackupStorageRedundancyZone  BackupStorageRedundancy = "Zone"
)

func PossibleBackupStorageRedundancyValues

func PossibleBackupStorageRedundancyValues() []BackupStorageRedundancy

PossibleBackupStorageRedundancyValues returns the possible values for the BackupStorageRedundancy const type.

func (BackupStorageRedundancy) ToPtr

ToPtr returns a *BackupStorageRedundancy pointing to the current value.

type Capability

type Capability struct {
	// Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin".
	Name *string `json:"name,omitempty"`
}

Capability - Cosmos DB capability object

type Capacity added in v0.2.0

type Capacity struct {
	// The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on
	// that account to be 2000. A totalThroughputLimit of
	// -1 indicates no limits on provisioning of throughput.
	TotalThroughputLimit *int32 `json:"totalThroughputLimit,omitempty"`
}

Capacity - The object that represents all properties related to capacity enforcement on an account.

type CassandraClusterPublicStatus added in v0.2.0

type CassandraClusterPublicStatus struct {
	// List relevant information about any connection errors to the Datacenters.
	ConnectionErrors []*ConnectionError `json:"connectionErrors,omitempty"`

	// List of the status of each datacenter in this cluster.
	DataCenters  []*CassandraClusterPublicStatusDataCentersItem `json:"dataCenters,omitempty"`
	ETag         *string                                        `json:"eTag,omitempty"`
	ReaperStatus *ManagedCassandraReaperStatus                  `json:"reaperStatus,omitempty"`
}

CassandraClusterPublicStatus - Properties of a managed Cassandra cluster public status.

func (CassandraClusterPublicStatus) MarshalJSON added in v0.2.0

func (c CassandraClusterPublicStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraClusterPublicStatus.

type CassandraClusterPublicStatusDataCentersItem added in v0.2.0

type CassandraClusterPublicStatusDataCentersItem struct {
	// The name of this Datacenter.
	Name  *string                                                                                              `json:"name,omitempty"`
	Nodes []*ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems `json:"nodes,omitempty"`

	// A list of all seed nodes in the cluster, managed and unmanaged.
	SeedNodes []*string `json:"seedNodes,omitempty"`
}

func (CassandraClusterPublicStatusDataCentersItem) MarshalJSON added in v0.2.0

MarshalJSON implements the json.Marshaller interface for type CassandraClusterPublicStatusDataCentersItem.

type CassandraClustersBeginCreateUpdateOptions

type CassandraClustersBeginCreateUpdateOptions struct {
}

CassandraClustersBeginCreateUpdateOptions contains the optional parameters for the CassandraClusters.BeginCreateUpdate method.

type CassandraClustersBeginDeallocateOptions added in v0.2.0

type CassandraClustersBeginDeallocateOptions struct {
}

CassandraClustersBeginDeallocateOptions contains the optional parameters for the CassandraClusters.BeginDeallocate method.

type CassandraClustersBeginDeleteOptions

type CassandraClustersBeginDeleteOptions struct {
}

CassandraClustersBeginDeleteOptions contains the optional parameters for the CassandraClusters.BeginDelete method.

type CassandraClustersBeginInvokeCommandOptions added in v0.2.0

type CassandraClustersBeginInvokeCommandOptions struct {
}

CassandraClustersBeginInvokeCommandOptions contains the optional parameters for the CassandraClusters.BeginInvokeCommand method.

type CassandraClustersBeginStartOptions added in v0.2.0

type CassandraClustersBeginStartOptions struct {
}

CassandraClustersBeginStartOptions contains the optional parameters for the CassandraClusters.BeginStart method.

type CassandraClustersBeginUpdateOptions

type CassandraClustersBeginUpdateOptions struct {
}

CassandraClustersBeginUpdateOptions contains the optional parameters for the CassandraClusters.BeginUpdate method.

type CassandraClustersClient

type CassandraClustersClient struct {
	// contains filtered or unexported fields
}

CassandraClustersClient contains the methods for the CassandraClusters group. Don't use this type directly, use NewCassandraClustersClient() instead.

func NewCassandraClustersClient

func NewCassandraClustersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CassandraClustersClient

NewCassandraClustersClient creates a new instance of CassandraClustersClient with the specified values.

func (*CassandraClustersClient) BeginCreateUpdate

BeginCreateUpdate - Create or update a managed Cassandra cluster. When updating, you must specify all writable properties. To update only some properties, use PATCH. If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) BeginDeallocate added in v0.2.0

func (client *CassandraClustersClient) BeginDeallocate(ctx context.Context, resourceGroupName string, clusterName string, options *CassandraClustersBeginDeallocateOptions) (CassandraClustersDeallocatePollerResponse, error)

BeginDeallocate - Deallocate the Managed Cassandra Cluster and Associated Data Centers. Deallocation will deallocate the host virtual machine of this cluster, and reserved the data disk. This won't do anything on an already deallocated cluster. Use Start to restart the cluster. If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) BeginDelete

func (client *CassandraClustersClient) BeginDelete(ctx context.Context, resourceGroupName string, clusterName string, options *CassandraClustersBeginDeleteOptions) (CassandraClustersDeletePollerResponse, error)

BeginDelete - Deletes a managed Cassandra cluster. If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) BeginInvokeCommand added in v0.2.0

BeginInvokeCommand - Invoke a command like nodetool for cassandra maintenance If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) BeginStart added in v0.2.0

func (client *CassandraClustersClient) BeginStart(ctx context.Context, resourceGroupName string, clusterName string, options *CassandraClustersBeginStartOptions) (CassandraClustersStartPollerResponse, error)

BeginStart - Start the Managed Cassandra Cluster and Associated Data Centers. Start will start the host virtual machine of this cluster with reserved data disk. This won't do anything on an already running cluster. Use Deallocate to deallocate the cluster. If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) BeginUpdate

BeginUpdate - Updates some of the properties of a managed Cassandra cluster. If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) Get

func (client *CassandraClustersClient) Get(ctx context.Context, resourceGroupName string, clusterName string, options *CassandraClustersGetOptions) (CassandraClustersGetResponse, error)

Get - Get the properties of a managed Cassandra cluster. If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) ListByResourceGroup

ListByResourceGroup - List all managed Cassandra clusters in this resource group. If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) ListBySubscription

ListBySubscription - List all managed Cassandra clusters in this subscription. If the operation fails it returns the *CloudError error type.

func (*CassandraClustersClient) Status added in v0.2.0

func (client *CassandraClustersClient) Status(ctx context.Context, resourceGroupName string, clusterName string, options *CassandraClustersStatusOptions) (CassandraClustersStatusResponse, error)

Status - Gets the CPU, memory, and disk usage statistics for each Cassandra node in a cluster. If the operation fails it returns the *CloudError error type.

type CassandraClustersCreateUpdatePoller

type CassandraClustersCreateUpdatePoller struct {
	// contains filtered or unexported fields
}

CassandraClustersCreateUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraClustersCreateUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraClustersCreateUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraClustersCreateUpdateResponse will be returned.

func (*CassandraClustersCreateUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraClustersCreateUpdatePoller) ResumeToken

func (p *CassandraClustersCreateUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraClustersCreateUpdatePollerResponse

type CassandraClustersCreateUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraClustersCreateUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersCreateUpdatePollerResponse contains the response from method CassandraClusters.CreateUpdate.

func (CassandraClustersCreateUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraClustersCreateUpdatePollerResponse) Resume

Resume rehydrates a CassandraClustersCreateUpdatePollerResponse from the provided client and resume token.

type CassandraClustersCreateUpdateResponse

type CassandraClustersCreateUpdateResponse struct {
	CassandraClustersCreateUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersCreateUpdateResponse contains the response from method CassandraClusters.CreateUpdate.

type CassandraClustersCreateUpdateResult

type CassandraClustersCreateUpdateResult struct {
	ClusterResource
}

CassandraClustersCreateUpdateResult contains the result from method CassandraClusters.CreateUpdate.

type CassandraClustersDeallocatePoller added in v0.2.0

type CassandraClustersDeallocatePoller struct {
	// contains filtered or unexported fields
}

CassandraClustersDeallocatePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraClustersDeallocatePoller) Done added in v0.2.0

Done returns true if the LRO has reached a terminal state.

func (*CassandraClustersDeallocatePoller) FinalResponse added in v0.2.0

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraClustersDeallocateResponse will be returned.

func (*CassandraClustersDeallocatePoller) Poll added in v0.2.0

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraClustersDeallocatePoller) ResumeToken added in v0.2.0

func (p *CassandraClustersDeallocatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraClustersDeallocatePollerResponse added in v0.2.0

type CassandraClustersDeallocatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraClustersDeallocatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersDeallocatePollerResponse contains the response from method CassandraClusters.Deallocate.

func (CassandraClustersDeallocatePollerResponse) PollUntilDone added in v0.2.0

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraClustersDeallocatePollerResponse) Resume added in v0.2.0

Resume rehydrates a CassandraClustersDeallocatePollerResponse from the provided client and resume token.

type CassandraClustersDeallocateResponse added in v0.2.0

type CassandraClustersDeallocateResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersDeallocateResponse contains the response from method CassandraClusters.Deallocate.

type CassandraClustersDeletePoller

type CassandraClustersDeletePoller struct {
	// contains filtered or unexported fields
}

CassandraClustersDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraClustersDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraClustersDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraClustersDeleteResponse will be returned.

func (*CassandraClustersDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraClustersDeletePoller) ResumeToken

func (p *CassandraClustersDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraClustersDeletePollerResponse

type CassandraClustersDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraClustersDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersDeletePollerResponse contains the response from method CassandraClusters.Delete.

func (CassandraClustersDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraClustersDeletePollerResponse) Resume

Resume rehydrates a CassandraClustersDeletePollerResponse from the provided client and resume token.

type CassandraClustersDeleteResponse

type CassandraClustersDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersDeleteResponse contains the response from method CassandraClusters.Delete.

type CassandraClustersGetOptions

type CassandraClustersGetOptions struct {
}

CassandraClustersGetOptions contains the optional parameters for the CassandraClusters.Get method.

type CassandraClustersGetResponse

type CassandraClustersGetResponse struct {
	CassandraClustersGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersGetResponse contains the response from method CassandraClusters.Get.

type CassandraClustersGetResult

type CassandraClustersGetResult struct {
	ClusterResource
}

CassandraClustersGetResult contains the result from method CassandraClusters.Get.

type CassandraClustersInvokeCommandPoller added in v0.2.0

type CassandraClustersInvokeCommandPoller struct {
	// contains filtered or unexported fields
}

CassandraClustersInvokeCommandPoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraClustersInvokeCommandPoller) Done added in v0.2.0

Done returns true if the LRO has reached a terminal state.

func (*CassandraClustersInvokeCommandPoller) FinalResponse added in v0.2.0

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraClustersInvokeCommandResponse will be returned.

func (*CassandraClustersInvokeCommandPoller) Poll added in v0.2.0

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraClustersInvokeCommandPoller) ResumeToken added in v0.2.0

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraClustersInvokeCommandPollerResponse added in v0.2.0

type CassandraClustersInvokeCommandPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraClustersInvokeCommandPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersInvokeCommandPollerResponse contains the response from method CassandraClusters.InvokeCommand.

func (CassandraClustersInvokeCommandPollerResponse) PollUntilDone added in v0.2.0

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraClustersInvokeCommandPollerResponse) Resume added in v0.2.0

Resume rehydrates a CassandraClustersInvokeCommandPollerResponse from the provided client and resume token.

type CassandraClustersInvokeCommandResponse added in v0.2.0

type CassandraClustersInvokeCommandResponse struct {
	CassandraClustersInvokeCommandResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersInvokeCommandResponse contains the response from method CassandraClusters.InvokeCommand.

type CassandraClustersInvokeCommandResult added in v0.2.0

type CassandraClustersInvokeCommandResult struct {
	CommandOutput
}

CassandraClustersInvokeCommandResult contains the result from method CassandraClusters.InvokeCommand.

type CassandraClustersListByResourceGroupOptions

type CassandraClustersListByResourceGroupOptions struct {
}

CassandraClustersListByResourceGroupOptions contains the optional parameters for the CassandraClusters.ListByResourceGroup method.

type CassandraClustersListByResourceGroupResponse

type CassandraClustersListByResourceGroupResponse struct {
	CassandraClustersListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersListByResourceGroupResponse contains the response from method CassandraClusters.ListByResourceGroup.

type CassandraClustersListByResourceGroupResult

type CassandraClustersListByResourceGroupResult struct {
	ListClusters
}

CassandraClustersListByResourceGroupResult contains the result from method CassandraClusters.ListByResourceGroup.

type CassandraClustersListBySubscriptionOptions

type CassandraClustersListBySubscriptionOptions struct {
}

CassandraClustersListBySubscriptionOptions contains the optional parameters for the CassandraClusters.ListBySubscription method.

type CassandraClustersListBySubscriptionResponse

type CassandraClustersListBySubscriptionResponse struct {
	CassandraClustersListBySubscriptionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersListBySubscriptionResponse contains the response from method CassandraClusters.ListBySubscription.

type CassandraClustersListBySubscriptionResult

type CassandraClustersListBySubscriptionResult struct {
	ListClusters
}

CassandraClustersListBySubscriptionResult contains the result from method CassandraClusters.ListBySubscription.

type CassandraClustersStartPoller added in v0.2.0

type CassandraClustersStartPoller struct {
	// contains filtered or unexported fields
}

CassandraClustersStartPoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraClustersStartPoller) Done added in v0.2.0

Done returns true if the LRO has reached a terminal state.

func (*CassandraClustersStartPoller) FinalResponse added in v0.2.0

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraClustersStartResponse will be returned.

func (*CassandraClustersStartPoller) Poll added in v0.2.0

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraClustersStartPoller) ResumeToken added in v0.2.0

func (p *CassandraClustersStartPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraClustersStartPollerResponse added in v0.2.0

type CassandraClustersStartPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraClustersStartPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersStartPollerResponse contains the response from method CassandraClusters.Start.

func (CassandraClustersStartPollerResponse) PollUntilDone added in v0.2.0

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraClustersStartPollerResponse) Resume added in v0.2.0

Resume rehydrates a CassandraClustersStartPollerResponse from the provided client and resume token.

type CassandraClustersStartResponse added in v0.2.0

type CassandraClustersStartResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersStartResponse contains the response from method CassandraClusters.Start.

type CassandraClustersStatusOptions added in v0.2.0

type CassandraClustersStatusOptions struct {
}

CassandraClustersStatusOptions contains the optional parameters for the CassandraClusters.Status method.

type CassandraClustersStatusResponse added in v0.2.0

type CassandraClustersStatusResponse struct {
	CassandraClustersStatusResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersStatusResponse contains the response from method CassandraClusters.Status.

type CassandraClustersStatusResult added in v0.2.0

type CassandraClustersStatusResult struct {
	CassandraClusterPublicStatus
}

CassandraClustersStatusResult contains the result from method CassandraClusters.Status.

type CassandraClustersUpdatePoller

type CassandraClustersUpdatePoller struct {
	// contains filtered or unexported fields
}

CassandraClustersUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraClustersUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraClustersUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraClustersUpdateResponse will be returned.

func (*CassandraClustersUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraClustersUpdatePoller) ResumeToken

func (p *CassandraClustersUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraClustersUpdatePollerResponse

type CassandraClustersUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraClustersUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersUpdatePollerResponse contains the response from method CassandraClusters.Update.

func (CassandraClustersUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraClustersUpdatePollerResponse) Resume

Resume rehydrates a CassandraClustersUpdatePollerResponse from the provided client and resume token.

type CassandraClustersUpdateResponse

type CassandraClustersUpdateResponse struct {
	CassandraClustersUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraClustersUpdateResponse contains the response from method CassandraClusters.Update.

type CassandraClustersUpdateResult

type CassandraClustersUpdateResult struct {
	ClusterResource
}

CassandraClustersUpdateResult contains the result from method CassandraClusters.Update.

type CassandraDataCentersBeginCreateUpdateOptions

type CassandraDataCentersBeginCreateUpdateOptions struct {
}

CassandraDataCentersBeginCreateUpdateOptions contains the optional parameters for the CassandraDataCenters.BeginCreateUpdate method.

type CassandraDataCentersBeginDeleteOptions

type CassandraDataCentersBeginDeleteOptions struct {
}

CassandraDataCentersBeginDeleteOptions contains the optional parameters for the CassandraDataCenters.BeginDelete method.

type CassandraDataCentersBeginUpdateOptions

type CassandraDataCentersBeginUpdateOptions struct {
}

CassandraDataCentersBeginUpdateOptions contains the optional parameters for the CassandraDataCenters.BeginUpdate method.

type CassandraDataCentersClient

type CassandraDataCentersClient struct {
	// contains filtered or unexported fields
}

CassandraDataCentersClient contains the methods for the CassandraDataCenters group. Don't use this type directly, use NewCassandraDataCentersClient() instead.

func NewCassandraDataCentersClient

func NewCassandraDataCentersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CassandraDataCentersClient

NewCassandraDataCentersClient creates a new instance of CassandraDataCentersClient with the specified values.

func (*CassandraDataCentersClient) BeginCreateUpdate

func (client *CassandraDataCentersClient) BeginCreateUpdate(ctx context.Context, resourceGroupName string, clusterName string, dataCenterName string, body DataCenterResource, options *CassandraDataCentersBeginCreateUpdateOptions) (CassandraDataCentersCreateUpdatePollerResponse, error)

BeginCreateUpdate - Create or update a managed Cassandra data center. When updating, overwrite all properties. To update only some properties, use PATCH. If the operation fails it returns the *CloudError error type.

func (*CassandraDataCentersClient) BeginDelete

func (client *CassandraDataCentersClient) BeginDelete(ctx context.Context, resourceGroupName string, clusterName string, dataCenterName string, options *CassandraDataCentersBeginDeleteOptions) (CassandraDataCentersDeletePollerResponse, error)

BeginDelete - Delete a managed Cassandra data center. If the operation fails it returns the *CloudError error type.

func (*CassandraDataCentersClient) BeginUpdate

func (client *CassandraDataCentersClient) BeginUpdate(ctx context.Context, resourceGroupName string, clusterName string, dataCenterName string, body DataCenterResource, options *CassandraDataCentersBeginUpdateOptions) (CassandraDataCentersUpdatePollerResponse, error)

BeginUpdate - Update some of the properties of a managed Cassandra data center. If the operation fails it returns the *CloudError error type.

func (*CassandraDataCentersClient) Get

func (client *CassandraDataCentersClient) Get(ctx context.Context, resourceGroupName string, clusterName string, dataCenterName string, options *CassandraDataCentersGetOptions) (CassandraDataCentersGetResponse, error)

Get - Get the properties of a managed Cassandra data center. If the operation fails it returns the *CloudError error type.

func (*CassandraDataCentersClient) List

List - List all data centers in a particular managed Cassandra cluster. If the operation fails it returns the *CloudError error type.

type CassandraDataCentersCreateUpdatePoller

type CassandraDataCentersCreateUpdatePoller struct {
	// contains filtered or unexported fields
}

CassandraDataCentersCreateUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraDataCentersCreateUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraDataCentersCreateUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraDataCentersCreateUpdateResponse will be returned.

func (*CassandraDataCentersCreateUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraDataCentersCreateUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraDataCentersCreateUpdatePollerResponse

type CassandraDataCentersCreateUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraDataCentersCreateUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraDataCentersCreateUpdatePollerResponse contains the response from method CassandraDataCenters.CreateUpdate.

func (CassandraDataCentersCreateUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraDataCentersCreateUpdatePollerResponse) Resume

Resume rehydrates a CassandraDataCentersCreateUpdatePollerResponse from the provided client and resume token.

type CassandraDataCentersCreateUpdateResponse

type CassandraDataCentersCreateUpdateResponse struct {
	CassandraDataCentersCreateUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraDataCentersCreateUpdateResponse contains the response from method CassandraDataCenters.CreateUpdate.

type CassandraDataCentersCreateUpdateResult

type CassandraDataCentersCreateUpdateResult struct {
	DataCenterResource
}

CassandraDataCentersCreateUpdateResult contains the result from method CassandraDataCenters.CreateUpdate.

type CassandraDataCentersDeletePoller

type CassandraDataCentersDeletePoller struct {
	// contains filtered or unexported fields
}

CassandraDataCentersDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraDataCentersDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraDataCentersDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraDataCentersDeleteResponse will be returned.

func (*CassandraDataCentersDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraDataCentersDeletePoller) ResumeToken

func (p *CassandraDataCentersDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraDataCentersDeletePollerResponse

type CassandraDataCentersDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraDataCentersDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraDataCentersDeletePollerResponse contains the response from method CassandraDataCenters.Delete.

func (CassandraDataCentersDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraDataCentersDeletePollerResponse) Resume

Resume rehydrates a CassandraDataCentersDeletePollerResponse from the provided client and resume token.

type CassandraDataCentersDeleteResponse

type CassandraDataCentersDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraDataCentersDeleteResponse contains the response from method CassandraDataCenters.Delete.

type CassandraDataCentersGetOptions

type CassandraDataCentersGetOptions struct {
}

CassandraDataCentersGetOptions contains the optional parameters for the CassandraDataCenters.Get method.

type CassandraDataCentersGetResponse

type CassandraDataCentersGetResponse struct {
	CassandraDataCentersGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraDataCentersGetResponse contains the response from method CassandraDataCenters.Get.

type CassandraDataCentersGetResult

type CassandraDataCentersGetResult struct {
	DataCenterResource
}

CassandraDataCentersGetResult contains the result from method CassandraDataCenters.Get.

type CassandraDataCentersListOptions

type CassandraDataCentersListOptions struct {
}

CassandraDataCentersListOptions contains the optional parameters for the CassandraDataCenters.List method.

type CassandraDataCentersListResponse

type CassandraDataCentersListResponse struct {
	CassandraDataCentersListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraDataCentersListResponse contains the response from method CassandraDataCenters.List.

type CassandraDataCentersListResult

type CassandraDataCentersListResult struct {
	ListDataCenters
}

CassandraDataCentersListResult contains the result from method CassandraDataCenters.List.

type CassandraDataCentersUpdatePoller

type CassandraDataCentersUpdatePoller struct {
	// contains filtered or unexported fields
}

CassandraDataCentersUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraDataCentersUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraDataCentersUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraDataCentersUpdateResponse will be returned.

func (*CassandraDataCentersUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraDataCentersUpdatePoller) ResumeToken

func (p *CassandraDataCentersUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraDataCentersUpdatePollerResponse

type CassandraDataCentersUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraDataCentersUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraDataCentersUpdatePollerResponse contains the response from method CassandraDataCenters.Update.

func (CassandraDataCentersUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraDataCentersUpdatePollerResponse) Resume

Resume rehydrates a CassandraDataCentersUpdatePollerResponse from the provided client and resume token.

type CassandraDataCentersUpdateResponse

type CassandraDataCentersUpdateResponse struct {
	CassandraDataCentersUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraDataCentersUpdateResponse contains the response from method CassandraDataCenters.Update.

type CassandraDataCentersUpdateResult

type CassandraDataCentersUpdateResult struct {
	DataCenterResource
}

CassandraDataCentersUpdateResult contains the result from method CassandraDataCenters.Update.

type CassandraKeyspaceCreateUpdateParameters

type CassandraKeyspaceCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB Cassandra keyspace.
	Properties *CassandraKeyspaceCreateUpdateProperties `json:"properties,omitempty"`
}

CassandraKeyspaceCreateUpdateParameters - Parameters to create and update Cosmos DB Cassandra keyspace.

func (CassandraKeyspaceCreateUpdateParameters) MarshalJSON

func (c CassandraKeyspaceCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraKeyspaceCreateUpdateParameters.

type CassandraKeyspaceCreateUpdateProperties

type CassandraKeyspaceCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a Cassandra keyspace
	Resource *CassandraKeyspaceResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

CassandraKeyspaceCreateUpdateProperties - Properties to create and update Azure Cosmos DB Cassandra keyspace.

type CassandraKeyspaceGetProperties

type CassandraKeyspaceGetProperties struct {
	Options  *CassandraKeyspaceGetPropertiesOptions  `json:"options,omitempty"`
	Resource *CassandraKeyspaceGetPropertiesResource `json:"resource,omitempty"`
}

CassandraKeyspaceGetProperties - The properties of an Azure Cosmos DB Cassandra keyspace

type CassandraKeyspaceGetPropertiesOptions

type CassandraKeyspaceGetPropertiesOptions struct {
	OptionsResource
}

type CassandraKeyspaceGetPropertiesResource

type CassandraKeyspaceGetPropertiesResource struct {
	CassandraKeyspaceResource
	ExtendedResourceProperties
}

type CassandraKeyspaceGetResults

type CassandraKeyspaceGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB Cassandra keyspace
	Properties *CassandraKeyspaceGetProperties `json:"properties,omitempty"`
}

CassandraKeyspaceGetResults - An Azure Cosmos DB Cassandra keyspace.

func (CassandraKeyspaceGetResults) MarshalJSON

func (c CassandraKeyspaceGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraKeyspaceGetResults.

type CassandraKeyspaceListResult

type CassandraKeyspaceListResult struct {
	// READ-ONLY; List of Cassandra keyspaces and their properties.
	Value []*CassandraKeyspaceGetResults `json:"value,omitempty" azure:"ro"`
}

CassandraKeyspaceListResult - The List operation response, that contains the Cassandra keyspaces and their properties.

func (CassandraKeyspaceListResult) MarshalJSON

func (c CassandraKeyspaceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraKeyspaceListResult.

type CassandraKeyspaceResource

type CassandraKeyspaceResource struct {
	// REQUIRED; Name of the Cosmos DB Cassandra keyspace
	ID *string `json:"id,omitempty"`
}

CassandraKeyspaceResource - Cosmos DB Cassandra keyspace resource object

func (CassandraKeyspaceResource) MarshalJSON

func (c CassandraKeyspaceResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraKeyspaceResource.

type CassandraPartitionKey

type CassandraPartitionKey struct {
	// Name of the Cosmos DB Cassandra table partition key
	Name *string `json:"name,omitempty"`
}

CassandraPartitionKey - Cosmos DB Cassandra table partition key

type CassandraResourcesBeginCreateUpdateCassandraKeyspaceOptions

type CassandraResourcesBeginCreateUpdateCassandraKeyspaceOptions struct {
}

CassandraResourcesBeginCreateUpdateCassandraKeyspaceOptions contains the optional parameters for the CassandraResources.BeginCreateUpdateCassandraKeyspace method.

type CassandraResourcesBeginCreateUpdateCassandraTableOptions

type CassandraResourcesBeginCreateUpdateCassandraTableOptions struct {
}

CassandraResourcesBeginCreateUpdateCassandraTableOptions contains the optional parameters for the CassandraResources.BeginCreateUpdateCassandraTable method.

type CassandraResourcesBeginDeleteCassandraKeyspaceOptions

type CassandraResourcesBeginDeleteCassandraKeyspaceOptions struct {
}

CassandraResourcesBeginDeleteCassandraKeyspaceOptions contains the optional parameters for the CassandraResources.BeginDeleteCassandraKeyspace method.

type CassandraResourcesBeginDeleteCassandraTableOptions

type CassandraResourcesBeginDeleteCassandraTableOptions struct {
}

CassandraResourcesBeginDeleteCassandraTableOptions contains the optional parameters for the CassandraResources.BeginDeleteCassandraTable method.

type CassandraResourcesBeginMigrateCassandraKeyspaceToAutoscaleOptions

type CassandraResourcesBeginMigrateCassandraKeyspaceToAutoscaleOptions struct {
}

CassandraResourcesBeginMigrateCassandraKeyspaceToAutoscaleOptions contains the optional parameters for the CassandraResources.BeginMigrateCassandraKeyspaceToAutoscale method.

type CassandraResourcesBeginMigrateCassandraKeyspaceToManualThroughputOptions

type CassandraResourcesBeginMigrateCassandraKeyspaceToManualThroughputOptions struct {
}

CassandraResourcesBeginMigrateCassandraKeyspaceToManualThroughputOptions contains the optional parameters for the CassandraResources.BeginMigrateCassandraKeyspaceToManualThroughput method.

type CassandraResourcesBeginMigrateCassandraTableToAutoscaleOptions

type CassandraResourcesBeginMigrateCassandraTableToAutoscaleOptions struct {
}

CassandraResourcesBeginMigrateCassandraTableToAutoscaleOptions contains the optional parameters for the CassandraResources.BeginMigrateCassandraTableToAutoscale method.

type CassandraResourcesBeginMigrateCassandraTableToManualThroughputOptions

type CassandraResourcesBeginMigrateCassandraTableToManualThroughputOptions struct {
}

CassandraResourcesBeginMigrateCassandraTableToManualThroughputOptions contains the optional parameters for the CassandraResources.BeginMigrateCassandraTableToManualThroughput method.

type CassandraResourcesBeginUpdateCassandraKeyspaceThroughputOptions

type CassandraResourcesBeginUpdateCassandraKeyspaceThroughputOptions struct {
}

CassandraResourcesBeginUpdateCassandraKeyspaceThroughputOptions contains the optional parameters for the CassandraResources.BeginUpdateCassandraKeyspaceThroughput method.

type CassandraResourcesBeginUpdateCassandraTableThroughputOptions

type CassandraResourcesBeginUpdateCassandraTableThroughputOptions struct {
}

CassandraResourcesBeginUpdateCassandraTableThroughputOptions contains the optional parameters for the CassandraResources.BeginUpdateCassandraTableThroughput method.

type CassandraResourcesClient

type CassandraResourcesClient struct {
	// contains filtered or unexported fields
}

CassandraResourcesClient contains the methods for the CassandraResources group. Don't use this type directly, use NewCassandraResourcesClient() instead.

func NewCassandraResourcesClient

func NewCassandraResourcesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CassandraResourcesClient

NewCassandraResourcesClient creates a new instance of CassandraResourcesClient with the specified values.

func (*CassandraResourcesClient) BeginCreateUpdateCassandraKeyspace

func (client *CassandraResourcesClient) BeginCreateUpdateCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, createUpdateCassandraKeyspaceParameters CassandraKeyspaceCreateUpdateParameters, options *CassandraResourcesBeginCreateUpdateCassandraKeyspaceOptions) (CassandraResourcesCreateUpdateCassandraKeyspacePollerResponse, error)

BeginCreateUpdateCassandraKeyspace - Create or update an Azure Cosmos DB Cassandra keyspace If the operation fails it returns a generic error.

func (*CassandraResourcesClient) BeginCreateUpdateCassandraTable

func (client *CassandraResourcesClient) BeginCreateUpdateCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, createUpdateCassandraTableParameters CassandraTableCreateUpdateParameters, options *CassandraResourcesBeginCreateUpdateCassandraTableOptions) (CassandraResourcesCreateUpdateCassandraTablePollerResponse, error)

BeginCreateUpdateCassandraTable - Create or update an Azure Cosmos DB Cassandra Table If the operation fails it returns a generic error.

func (*CassandraResourcesClient) BeginDeleteCassandraKeyspace

func (client *CassandraResourcesClient) BeginDeleteCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *CassandraResourcesBeginDeleteCassandraKeyspaceOptions) (CassandraResourcesDeleteCassandraKeyspacePollerResponse, error)

BeginDeleteCassandraKeyspace - Deletes an existing Azure Cosmos DB Cassandra keyspace. If the operation fails it returns a generic error.

func (*CassandraResourcesClient) BeginDeleteCassandraTable

func (client *CassandraResourcesClient) BeginDeleteCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *CassandraResourcesBeginDeleteCassandraTableOptions) (CassandraResourcesDeleteCassandraTablePollerResponse, error)

BeginDeleteCassandraTable - Deletes an existing Azure Cosmos DB Cassandra table. If the operation fails it returns a generic error.

func (*CassandraResourcesClient) BeginMigrateCassandraKeyspaceToAutoscale

func (client *CassandraResourcesClient) BeginMigrateCassandraKeyspaceToAutoscale(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *CassandraResourcesBeginMigrateCassandraKeyspaceToAutoscaleOptions) (CassandraResourcesMigrateCassandraKeyspaceToAutoscalePollerResponse, error)

BeginMigrateCassandraKeyspaceToAutoscale - Migrate an Azure Cosmos DB Cassandra Keyspace from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*CassandraResourcesClient) BeginMigrateCassandraKeyspaceToManualThroughput

BeginMigrateCassandraKeyspaceToManualThroughput - Migrate an Azure Cosmos DB Cassandra Keyspace from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*CassandraResourcesClient) BeginMigrateCassandraTableToAutoscale

func (client *CassandraResourcesClient) BeginMigrateCassandraTableToAutoscale(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *CassandraResourcesBeginMigrateCassandraTableToAutoscaleOptions) (CassandraResourcesMigrateCassandraTableToAutoscalePollerResponse, error)

BeginMigrateCassandraTableToAutoscale - Migrate an Azure Cosmos DB Cassandra table from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*CassandraResourcesClient) BeginMigrateCassandraTableToManualThroughput

func (client *CassandraResourcesClient) BeginMigrateCassandraTableToManualThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *CassandraResourcesBeginMigrateCassandraTableToManualThroughputOptions) (CassandraResourcesMigrateCassandraTableToManualThroughputPollerResponse, error)

BeginMigrateCassandraTableToManualThroughput - Migrate an Azure Cosmos DB Cassandra table from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*CassandraResourcesClient) BeginUpdateCassandraKeyspaceThroughput

func (client *CassandraResourcesClient) BeginUpdateCassandraKeyspaceThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *CassandraResourcesBeginUpdateCassandraKeyspaceThroughputOptions) (CassandraResourcesUpdateCassandraKeyspaceThroughputPollerResponse, error)

BeginUpdateCassandraKeyspaceThroughput - Update RUs per second of an Azure Cosmos DB Cassandra Keyspace If the operation fails it returns a generic error.

func (*CassandraResourcesClient) BeginUpdateCassandraTableThroughput

func (client *CassandraResourcesClient) BeginUpdateCassandraTableThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *CassandraResourcesBeginUpdateCassandraTableThroughputOptions) (CassandraResourcesUpdateCassandraTableThroughputPollerResponse, error)

BeginUpdateCassandraTableThroughput - Update RUs per second of an Azure Cosmos DB Cassandra table If the operation fails it returns a generic error.

func (*CassandraResourcesClient) GetCassandraKeyspace

func (client *CassandraResourcesClient) GetCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *CassandraResourcesGetCassandraKeyspaceOptions) (CassandraResourcesGetCassandraKeyspaceResponse, error)

GetCassandraKeyspace - Gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*CassandraResourcesClient) GetCassandraKeyspaceThroughput

func (client *CassandraResourcesClient) GetCassandraKeyspaceThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *CassandraResourcesGetCassandraKeyspaceThroughputOptions) (CassandraResourcesGetCassandraKeyspaceThroughputResponse, error)

GetCassandraKeyspaceThroughput - Gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*CassandraResourcesClient) GetCassandraTable

func (client *CassandraResourcesClient) GetCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *CassandraResourcesGetCassandraTableOptions) (CassandraResourcesGetCassandraTableResponse, error)

GetCassandraTable - Gets the Cassandra table under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*CassandraResourcesClient) GetCassandraTableThroughput

func (client *CassandraResourcesClient) GetCassandraTableThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, options *CassandraResourcesGetCassandraTableThroughputOptions) (CassandraResourcesGetCassandraTableThroughputResponse, error)

GetCassandraTableThroughput - Gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*CassandraResourcesClient) ListCassandraKeyspaces

ListCassandraKeyspaces - Lists the Cassandra keyspaces under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*CassandraResourcesClient) ListCassandraTables

func (client *CassandraResourcesClient) ListCassandraTables(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, options *CassandraResourcesListCassandraTablesOptions) (CassandraResourcesListCassandraTablesResponse, error)

ListCassandraTables - Lists the Cassandra table under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

type CassandraResourcesCreateUpdateCassandraKeyspacePoller

type CassandraResourcesCreateUpdateCassandraKeyspacePoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesCreateUpdateCassandraKeyspacePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesCreateUpdateCassandraKeyspacePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesCreateUpdateCassandraKeyspacePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesCreateUpdateCassandraKeyspaceResponse will be returned.

func (*CassandraResourcesCreateUpdateCassandraKeyspacePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesCreateUpdateCassandraKeyspacePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesCreateUpdateCassandraKeyspacePollerResponse

type CassandraResourcesCreateUpdateCassandraKeyspacePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesCreateUpdateCassandraKeyspacePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesCreateUpdateCassandraKeyspacePollerResponse contains the response from method CassandraResources.CreateUpdateCassandraKeyspace.

func (CassandraResourcesCreateUpdateCassandraKeyspacePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesCreateUpdateCassandraKeyspacePollerResponse) Resume

Resume rehydrates a CassandraResourcesCreateUpdateCassandraKeyspacePollerResponse from the provided client and resume token.

type CassandraResourcesCreateUpdateCassandraKeyspaceResponse

type CassandraResourcesCreateUpdateCassandraKeyspaceResponse struct {
	CassandraResourcesCreateUpdateCassandraKeyspaceResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesCreateUpdateCassandraKeyspaceResponse contains the response from method CassandraResources.CreateUpdateCassandraKeyspace.

type CassandraResourcesCreateUpdateCassandraKeyspaceResult

type CassandraResourcesCreateUpdateCassandraKeyspaceResult struct {
	CassandraKeyspaceGetResults
}

CassandraResourcesCreateUpdateCassandraKeyspaceResult contains the result from method CassandraResources.CreateUpdateCassandraKeyspace.

type CassandraResourcesCreateUpdateCassandraTablePoller

type CassandraResourcesCreateUpdateCassandraTablePoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesCreateUpdateCassandraTablePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesCreateUpdateCassandraTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesCreateUpdateCassandraTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesCreateUpdateCassandraTableResponse will be returned.

func (*CassandraResourcesCreateUpdateCassandraTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesCreateUpdateCassandraTablePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesCreateUpdateCassandraTablePollerResponse

type CassandraResourcesCreateUpdateCassandraTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesCreateUpdateCassandraTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesCreateUpdateCassandraTablePollerResponse contains the response from method CassandraResources.CreateUpdateCassandraTable.

func (CassandraResourcesCreateUpdateCassandraTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesCreateUpdateCassandraTablePollerResponse) Resume

Resume rehydrates a CassandraResourcesCreateUpdateCassandraTablePollerResponse from the provided client and resume token.

type CassandraResourcesCreateUpdateCassandraTableResponse

type CassandraResourcesCreateUpdateCassandraTableResponse struct {
	CassandraResourcesCreateUpdateCassandraTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesCreateUpdateCassandraTableResponse contains the response from method CassandraResources.CreateUpdateCassandraTable.

type CassandraResourcesCreateUpdateCassandraTableResult

type CassandraResourcesCreateUpdateCassandraTableResult struct {
	CassandraTableGetResults
}

CassandraResourcesCreateUpdateCassandraTableResult contains the result from method CassandraResources.CreateUpdateCassandraTable.

type CassandraResourcesDeleteCassandraKeyspacePoller

type CassandraResourcesDeleteCassandraKeyspacePoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesDeleteCassandraKeyspacePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesDeleteCassandraKeyspacePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesDeleteCassandraKeyspacePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesDeleteCassandraKeyspaceResponse will be returned.

func (*CassandraResourcesDeleteCassandraKeyspacePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesDeleteCassandraKeyspacePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesDeleteCassandraKeyspacePollerResponse

type CassandraResourcesDeleteCassandraKeyspacePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesDeleteCassandraKeyspacePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesDeleteCassandraKeyspacePollerResponse contains the response from method CassandraResources.DeleteCassandraKeyspace.

func (CassandraResourcesDeleteCassandraKeyspacePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesDeleteCassandraKeyspacePollerResponse) Resume

Resume rehydrates a CassandraResourcesDeleteCassandraKeyspacePollerResponse from the provided client and resume token.

type CassandraResourcesDeleteCassandraKeyspaceResponse

type CassandraResourcesDeleteCassandraKeyspaceResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesDeleteCassandraKeyspaceResponse contains the response from method CassandraResources.DeleteCassandraKeyspace.

type CassandraResourcesDeleteCassandraTablePoller

type CassandraResourcesDeleteCassandraTablePoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesDeleteCassandraTablePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesDeleteCassandraTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesDeleteCassandraTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesDeleteCassandraTableResponse will be returned.

func (*CassandraResourcesDeleteCassandraTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesDeleteCassandraTablePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesDeleteCassandraTablePollerResponse

type CassandraResourcesDeleteCassandraTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesDeleteCassandraTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesDeleteCassandraTablePollerResponse contains the response from method CassandraResources.DeleteCassandraTable.

func (CassandraResourcesDeleteCassandraTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesDeleteCassandraTablePollerResponse) Resume

Resume rehydrates a CassandraResourcesDeleteCassandraTablePollerResponse from the provided client and resume token.

type CassandraResourcesDeleteCassandraTableResponse

type CassandraResourcesDeleteCassandraTableResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesDeleteCassandraTableResponse contains the response from method CassandraResources.DeleteCassandraTable.

type CassandraResourcesGetCassandraKeyspaceOptions

type CassandraResourcesGetCassandraKeyspaceOptions struct {
}

CassandraResourcesGetCassandraKeyspaceOptions contains the optional parameters for the CassandraResources.GetCassandraKeyspace method.

type CassandraResourcesGetCassandraKeyspaceResponse

type CassandraResourcesGetCassandraKeyspaceResponse struct {
	CassandraResourcesGetCassandraKeyspaceResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesGetCassandraKeyspaceResponse contains the response from method CassandraResources.GetCassandraKeyspace.

type CassandraResourcesGetCassandraKeyspaceResult

type CassandraResourcesGetCassandraKeyspaceResult struct {
	CassandraKeyspaceGetResults
}

CassandraResourcesGetCassandraKeyspaceResult contains the result from method CassandraResources.GetCassandraKeyspace.

type CassandraResourcesGetCassandraKeyspaceThroughputOptions

type CassandraResourcesGetCassandraKeyspaceThroughputOptions struct {
}

CassandraResourcesGetCassandraKeyspaceThroughputOptions contains the optional parameters for the CassandraResources.GetCassandraKeyspaceThroughput method.

type CassandraResourcesGetCassandraKeyspaceThroughputResponse

type CassandraResourcesGetCassandraKeyspaceThroughputResponse struct {
	CassandraResourcesGetCassandraKeyspaceThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesGetCassandraKeyspaceThroughputResponse contains the response from method CassandraResources.GetCassandraKeyspaceThroughput.

type CassandraResourcesGetCassandraKeyspaceThroughputResult

type CassandraResourcesGetCassandraKeyspaceThroughputResult struct {
	ThroughputSettingsGetResults
}

CassandraResourcesGetCassandraKeyspaceThroughputResult contains the result from method CassandraResources.GetCassandraKeyspaceThroughput.

type CassandraResourcesGetCassandraTableOptions

type CassandraResourcesGetCassandraTableOptions struct {
}

CassandraResourcesGetCassandraTableOptions contains the optional parameters for the CassandraResources.GetCassandraTable method.

type CassandraResourcesGetCassandraTableResponse

type CassandraResourcesGetCassandraTableResponse struct {
	CassandraResourcesGetCassandraTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesGetCassandraTableResponse contains the response from method CassandraResources.GetCassandraTable.

type CassandraResourcesGetCassandraTableResult

type CassandraResourcesGetCassandraTableResult struct {
	CassandraTableGetResults
}

CassandraResourcesGetCassandraTableResult contains the result from method CassandraResources.GetCassandraTable.

type CassandraResourcesGetCassandraTableThroughputOptions

type CassandraResourcesGetCassandraTableThroughputOptions struct {
}

CassandraResourcesGetCassandraTableThroughputOptions contains the optional parameters for the CassandraResources.GetCassandraTableThroughput method.

type CassandraResourcesGetCassandraTableThroughputResponse

type CassandraResourcesGetCassandraTableThroughputResponse struct {
	CassandraResourcesGetCassandraTableThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesGetCassandraTableThroughputResponse contains the response from method CassandraResources.GetCassandraTableThroughput.

type CassandraResourcesGetCassandraTableThroughputResult

type CassandraResourcesGetCassandraTableThroughputResult struct {
	ThroughputSettingsGetResults
}

CassandraResourcesGetCassandraTableThroughputResult contains the result from method CassandraResources.GetCassandraTableThroughput.

type CassandraResourcesListCassandraKeyspacesOptions

type CassandraResourcesListCassandraKeyspacesOptions struct {
}

CassandraResourcesListCassandraKeyspacesOptions contains the optional parameters for the CassandraResources.ListCassandraKeyspaces method.

type CassandraResourcesListCassandraKeyspacesResponse

type CassandraResourcesListCassandraKeyspacesResponse struct {
	CassandraResourcesListCassandraKeyspacesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesListCassandraKeyspacesResponse contains the response from method CassandraResources.ListCassandraKeyspaces.

type CassandraResourcesListCassandraKeyspacesResult

type CassandraResourcesListCassandraKeyspacesResult struct {
	CassandraKeyspaceListResult
}

CassandraResourcesListCassandraKeyspacesResult contains the result from method CassandraResources.ListCassandraKeyspaces.

type CassandraResourcesListCassandraTablesOptions

type CassandraResourcesListCassandraTablesOptions struct {
}

CassandraResourcesListCassandraTablesOptions contains the optional parameters for the CassandraResources.ListCassandraTables method.

type CassandraResourcesListCassandraTablesResponse

type CassandraResourcesListCassandraTablesResponse struct {
	CassandraResourcesListCassandraTablesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesListCassandraTablesResponse contains the response from method CassandraResources.ListCassandraTables.

type CassandraResourcesListCassandraTablesResult

type CassandraResourcesListCassandraTablesResult struct {
	CassandraTableListResult
}

CassandraResourcesListCassandraTablesResult contains the result from method CassandraResources.ListCassandraTables.

type CassandraResourcesMigrateCassandraKeyspaceToAutoscalePoller

type CassandraResourcesMigrateCassandraKeyspaceToAutoscalePoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesMigrateCassandraKeyspaceToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesMigrateCassandraKeyspaceToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesMigrateCassandraKeyspaceToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResponse will be returned.

func (*CassandraResourcesMigrateCassandraKeyspaceToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesMigrateCassandraKeyspaceToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesMigrateCassandraKeyspaceToAutoscalePollerResponse

type CassandraResourcesMigrateCassandraKeyspaceToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesMigrateCassandraKeyspaceToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesMigrateCassandraKeyspaceToAutoscalePollerResponse contains the response from method CassandraResources.MigrateCassandraKeyspaceToAutoscale.

func (CassandraResourcesMigrateCassandraKeyspaceToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesMigrateCassandraKeyspaceToAutoscalePollerResponse) Resume

Resume rehydrates a CassandraResourcesMigrateCassandraKeyspaceToAutoscalePollerResponse from the provided client and resume token.

type CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResponse

type CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResponse struct {
	CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResponse contains the response from method CassandraResources.MigrateCassandraKeyspaceToAutoscale.

type CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResult

type CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResult contains the result from method CassandraResources.MigrateCassandraKeyspaceToAutoscale.

type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPoller

type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResponse will be returned.

func (*CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPollerResponse

type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPollerResponse contains the response from method CassandraResources.MigrateCassandraKeyspaceToManualThroughput.

func (CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPollerResponse) Resume

Resume rehydrates a CassandraResourcesMigrateCassandraKeyspaceToManualThroughputPollerResponse from the provided client and resume token.

type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResponse

type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResponse struct {
	CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResponse contains the response from method CassandraResources.MigrateCassandraKeyspaceToManualThroughput.

type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResult

type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResult contains the result from method CassandraResources.MigrateCassandraKeyspaceToManualThroughput.

type CassandraResourcesMigrateCassandraTableToAutoscalePoller

type CassandraResourcesMigrateCassandraTableToAutoscalePoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesMigrateCassandraTableToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesMigrateCassandraTableToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesMigrateCassandraTableToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesMigrateCassandraTableToAutoscaleResponse will be returned.

func (*CassandraResourcesMigrateCassandraTableToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesMigrateCassandraTableToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesMigrateCassandraTableToAutoscalePollerResponse

type CassandraResourcesMigrateCassandraTableToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesMigrateCassandraTableToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesMigrateCassandraTableToAutoscalePollerResponse contains the response from method CassandraResources.MigrateCassandraTableToAutoscale.

func (CassandraResourcesMigrateCassandraTableToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesMigrateCassandraTableToAutoscalePollerResponse) Resume

Resume rehydrates a CassandraResourcesMigrateCassandraTableToAutoscalePollerResponse from the provided client and resume token.

type CassandraResourcesMigrateCassandraTableToAutoscaleResponse

type CassandraResourcesMigrateCassandraTableToAutoscaleResponse struct {
	CassandraResourcesMigrateCassandraTableToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesMigrateCassandraTableToAutoscaleResponse contains the response from method CassandraResources.MigrateCassandraTableToAutoscale.

type CassandraResourcesMigrateCassandraTableToAutoscaleResult

type CassandraResourcesMigrateCassandraTableToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

CassandraResourcesMigrateCassandraTableToAutoscaleResult contains the result from method CassandraResources.MigrateCassandraTableToAutoscale.

type CassandraResourcesMigrateCassandraTableToManualThroughputPoller

type CassandraResourcesMigrateCassandraTableToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesMigrateCassandraTableToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesMigrateCassandraTableToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesMigrateCassandraTableToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesMigrateCassandraTableToManualThroughputResponse will be returned.

func (*CassandraResourcesMigrateCassandraTableToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesMigrateCassandraTableToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesMigrateCassandraTableToManualThroughputPollerResponse

type CassandraResourcesMigrateCassandraTableToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesMigrateCassandraTableToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesMigrateCassandraTableToManualThroughputPollerResponse contains the response from method CassandraResources.MigrateCassandraTableToManualThroughput.

func (CassandraResourcesMigrateCassandraTableToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesMigrateCassandraTableToManualThroughputPollerResponse) Resume

Resume rehydrates a CassandraResourcesMigrateCassandraTableToManualThroughputPollerResponse from the provided client and resume token.

type CassandraResourcesMigrateCassandraTableToManualThroughputResponse

type CassandraResourcesMigrateCassandraTableToManualThroughputResponse struct {
	CassandraResourcesMigrateCassandraTableToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesMigrateCassandraTableToManualThroughputResponse contains the response from method CassandraResources.MigrateCassandraTableToManualThroughput.

type CassandraResourcesMigrateCassandraTableToManualThroughputResult

type CassandraResourcesMigrateCassandraTableToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

CassandraResourcesMigrateCassandraTableToManualThroughputResult contains the result from method CassandraResources.MigrateCassandraTableToManualThroughput.

type CassandraResourcesUpdateCassandraKeyspaceThroughputPoller

type CassandraResourcesUpdateCassandraKeyspaceThroughputPoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesUpdateCassandraKeyspaceThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesUpdateCassandraKeyspaceThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesUpdateCassandraKeyspaceThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesUpdateCassandraKeyspaceThroughputResponse will be returned.

func (*CassandraResourcesUpdateCassandraKeyspaceThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesUpdateCassandraKeyspaceThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesUpdateCassandraKeyspaceThroughputPollerResponse

type CassandraResourcesUpdateCassandraKeyspaceThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesUpdateCassandraKeyspaceThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesUpdateCassandraKeyspaceThroughputPollerResponse contains the response from method CassandraResources.UpdateCassandraKeyspaceThroughput.

func (CassandraResourcesUpdateCassandraKeyspaceThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesUpdateCassandraKeyspaceThroughputPollerResponse) Resume

Resume rehydrates a CassandraResourcesUpdateCassandraKeyspaceThroughputPollerResponse from the provided client and resume token.

type CassandraResourcesUpdateCassandraKeyspaceThroughputResponse

type CassandraResourcesUpdateCassandraKeyspaceThroughputResponse struct {
	CassandraResourcesUpdateCassandraKeyspaceThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesUpdateCassandraKeyspaceThroughputResponse contains the response from method CassandraResources.UpdateCassandraKeyspaceThroughput.

type CassandraResourcesUpdateCassandraKeyspaceThroughputResult

type CassandraResourcesUpdateCassandraKeyspaceThroughputResult struct {
	ThroughputSettingsGetResults
}

CassandraResourcesUpdateCassandraKeyspaceThroughputResult contains the result from method CassandraResources.UpdateCassandraKeyspaceThroughput.

type CassandraResourcesUpdateCassandraTableThroughputPoller

type CassandraResourcesUpdateCassandraTableThroughputPoller struct {
	// contains filtered or unexported fields
}

CassandraResourcesUpdateCassandraTableThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*CassandraResourcesUpdateCassandraTableThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*CassandraResourcesUpdateCassandraTableThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final CassandraResourcesUpdateCassandraTableThroughputResponse will be returned.

func (*CassandraResourcesUpdateCassandraTableThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*CassandraResourcesUpdateCassandraTableThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type CassandraResourcesUpdateCassandraTableThroughputPollerResponse

type CassandraResourcesUpdateCassandraTableThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *CassandraResourcesUpdateCassandraTableThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesUpdateCassandraTableThroughputPollerResponse contains the response from method CassandraResources.UpdateCassandraTableThroughput.

func (CassandraResourcesUpdateCassandraTableThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*CassandraResourcesUpdateCassandraTableThroughputPollerResponse) Resume

Resume rehydrates a CassandraResourcesUpdateCassandraTableThroughputPollerResponse from the provided client and resume token.

type CassandraResourcesUpdateCassandraTableThroughputResponse

type CassandraResourcesUpdateCassandraTableThroughputResponse struct {
	CassandraResourcesUpdateCassandraTableThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CassandraResourcesUpdateCassandraTableThroughputResponse contains the response from method CassandraResources.UpdateCassandraTableThroughput.

type CassandraResourcesUpdateCassandraTableThroughputResult

type CassandraResourcesUpdateCassandraTableThroughputResult struct {
	ThroughputSettingsGetResults
}

CassandraResourcesUpdateCassandraTableThroughputResult contains the result from method CassandraResources.UpdateCassandraTableThroughput.

type CassandraSchema

type CassandraSchema struct {
	// List of cluster key.
	ClusterKeys []*ClusterKey `json:"clusterKeys,omitempty"`

	// List of Cassandra table columns.
	Columns []*Column `json:"columns,omitempty"`

	// List of partition key.
	PartitionKeys []*CassandraPartitionKey `json:"partitionKeys,omitempty"`
}

CassandraSchema - Cosmos DB Cassandra table schema

func (CassandraSchema) MarshalJSON

func (c CassandraSchema) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraSchema.

type CassandraTableCreateUpdateParameters

type CassandraTableCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB Cassandra table.
	Properties *CassandraTableCreateUpdateProperties `json:"properties,omitempty"`
}

CassandraTableCreateUpdateParameters - Parameters to create and update Cosmos DB Cassandra table.

func (CassandraTableCreateUpdateParameters) MarshalJSON

func (c CassandraTableCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraTableCreateUpdateParameters.

type CassandraTableCreateUpdateProperties

type CassandraTableCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a Cassandra table
	Resource *CassandraTableResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

CassandraTableCreateUpdateProperties - Properties to create and update Azure Cosmos DB Cassandra table.

type CassandraTableGetProperties

type CassandraTableGetProperties struct {
	Options  *CassandraTableGetPropertiesOptions  `json:"options,omitempty"`
	Resource *CassandraTableGetPropertiesResource `json:"resource,omitempty"`
}

CassandraTableGetProperties - The properties of an Azure Cosmos DB Cassandra table

type CassandraTableGetPropertiesOptions

type CassandraTableGetPropertiesOptions struct {
	OptionsResource
}

type CassandraTableGetPropertiesResource

type CassandraTableGetPropertiesResource struct {
	CassandraTableResource
	ExtendedResourceProperties
}

type CassandraTableGetResults

type CassandraTableGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB Cassandra table
	Properties *CassandraTableGetProperties `json:"properties,omitempty"`
}

CassandraTableGetResults - An Azure Cosmos DB Cassandra table.

func (CassandraTableGetResults) MarshalJSON

func (c CassandraTableGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraTableGetResults.

type CassandraTableListResult

type CassandraTableListResult struct {
	// READ-ONLY; List of Cassandra tables and their properties.
	Value []*CassandraTableGetResults `json:"value,omitempty" azure:"ro"`
}

CassandraTableListResult - The List operation response, that contains the Cassandra tables and their properties.

func (CassandraTableListResult) MarshalJSON

func (c CassandraTableListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraTableListResult.

type CassandraTableResource

type CassandraTableResource struct {
	// REQUIRED; Name of the Cosmos DB Cassandra table
	ID *string `json:"id,omitempty"`

	// Analytical TTL.
	AnalyticalStorageTTL *int32 `json:"analyticalStorageTtl,omitempty"`

	// Time to live of the Cosmos DB Cassandra table
	DefaultTTL *int32 `json:"defaultTtl,omitempty"`

	// Schema of the Cosmos DB Cassandra table
	Schema *CassandraSchema `json:"schema,omitempty"`
}

CassandraTableResource - Cosmos DB Cassandra table resource object

func (CassandraTableResource) MarshalJSON

func (c CassandraTableResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CassandraTableResource.

type Certificate

type Certificate struct {
	// PEM formatted public key.
	Pem *string `json:"pem,omitempty"`
}

type CloudError

type CloudError struct {

	// Error Response.
	InnerError *ErrorResponse `json:"error,omitempty"`
	// contains filtered or unexported fields
}

CloudError - An error response from the service. Implements the error and azcore.HTTPResponse interfaces.

func (CloudError) Error

func (e CloudError) Error() string

Error implements the error interface for type CloudError. The contents of the error text are not contractual and subject to change.

type ClusterKey

type ClusterKey struct {
	// Name of the Cosmos DB Cassandra table cluster key
	Name *string `json:"name,omitempty"`

	// Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc"
	OrderBy *string `json:"orderBy,omitempty"`
}

ClusterKey - Cosmos DB Cassandra table cluster key

type ClusterResource

type ClusterResource struct {
	ManagedCassandraARMResourceProperties
	// Properties of a managed Cassandra cluster.
	Properties *ClusterResourceProperties `json:"properties,omitempty"`
}

ClusterResource - Representation of a managed Cassandra cluster.

func (ClusterResource) MarshalJSON

func (c ClusterResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ClusterResource.

type ClusterResourceProperties

type ClusterResourceProperties struct {
	// Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies.
	// 'Cassandra' is the default password based
	// authentication. The default is 'Cassandra'.
	AuthenticationMethod *AuthenticationMethod `json:"authenticationMethod,omitempty"`

	// Whether Cassandra audit logging is enabled
	CassandraAuditLoggingEnabled *bool `json:"cassandraAuditLoggingEnabled,omitempty"`

	// Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version.
	CassandraVersion *string `json:"cassandraVersion,omitempty"`

	// List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or
	// not, but if clientCertificates is set, the managed
	// Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates
	// in this property.
	ClientCertificates []*Certificate `json:"clientCertificates,omitempty"`

	// If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property.
	ClusterNameOverride *string `json:"clusterNameOverride,omitempty"`

	// Whether the cluster and associated data centers has been deallocated.
	Deallocated *bool `json:"deallocated,omitempty"`

	// Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets
	// that will be delegated to data centers. The
	// resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'
	DelegatedManagementSubnetID *string `json:"delegatedManagementSubnetId,omitempty"`

	// List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable
	// using one of the certificates provided in
	// this property.
	ExternalGossipCertificates []*Certificate `json:"externalGossipCertificates,omitempty"`

	// List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes.
	ExternalSeedNodes []*SeedNode `json:"externalSeedNodes,omitempty"`

	// Number of hours to wait between taking a backup of the cluster. To disable backups, set this property to 0.
	HoursBetweenBackups *int32 `json:"hoursBetweenBackups,omitempty"`

	// Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies
	// when the authenticationMethod field is
	// 'Cassandra'.
	InitialCassandraAdminPassword *string `json:"initialCassandraAdminPassword,omitempty"`

	// Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached.
	PrometheusEndpoint *SeedNode `json:"prometheusEndpoint,omitempty"`

	// The status of the resource at the time the operation was called.
	ProvisioningState *ManagedCassandraProvisioningState `json:"provisioningState,omitempty"`

	// Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already
	// doing your own repairs.
	RepairEnabled *bool `json:"repairEnabled,omitempty"`

	// To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup.
	RestoreFromBackupID *string `json:"restoreFromBackupId,omitempty"`

	// READ-ONLY; List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates
	// that are verifiable using one of the certificates
	// provided in this property.
	GossipCertificates []*Certificate `json:"gossipCertificates,omitempty" azure:"ro"`

	// READ-ONLY; List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes.
	SeedNodes []*SeedNode `json:"seedNodes,omitempty" azure:"ro"`
}

ClusterResourceProperties - Properties of a managed Cassandra cluster.

func (ClusterResourceProperties) MarshalJSON

func (c ClusterResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ClusterResourceProperties.

type CollectionClient

type CollectionClient struct {
	// contains filtered or unexported fields
}

CollectionClient contains the methods for the Collection group. Don't use this type directly, use NewCollectionClient() instead.

func NewCollectionClient

func NewCollectionClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CollectionClient

NewCollectionClient creates a new instance of CollectionClient with the specified values.

func (*CollectionClient) ListMetricDefinitions

func (client *CollectionClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, options *CollectionListMetricDefinitionsOptions) (CollectionListMetricDefinitionsResponse, error)

ListMetricDefinitions - Retrieves metric definitions for the given collection. If the operation fails it returns a generic error.

func (*CollectionClient) ListMetrics

func (client *CollectionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string, options *CollectionListMetricsOptions) (CollectionListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given database account and collection. If the operation fails it returns a generic error.

func (*CollectionClient) ListUsages

func (client *CollectionClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, options *CollectionListUsagesOptions) (CollectionListUsagesResponse, error)

ListUsages - Retrieves the usages (most recent storage data) for the given collection. If the operation fails it returns a generic error.

type CollectionListMetricDefinitionsOptions

type CollectionListMetricDefinitionsOptions struct {
}

CollectionListMetricDefinitionsOptions contains the optional parameters for the Collection.ListMetricDefinitions method.

type CollectionListMetricDefinitionsResponse

type CollectionListMetricDefinitionsResponse struct {
	CollectionListMetricDefinitionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CollectionListMetricDefinitionsResponse contains the response from method Collection.ListMetricDefinitions.

type CollectionListMetricDefinitionsResult

type CollectionListMetricDefinitionsResult struct {
	MetricDefinitionsListResult
}

CollectionListMetricDefinitionsResult contains the result from method Collection.ListMetricDefinitions.

type CollectionListMetricsOptions

type CollectionListMetricsOptions struct {
}

CollectionListMetricsOptions contains the optional parameters for the Collection.ListMetrics method.

type CollectionListMetricsResponse

type CollectionListMetricsResponse struct {
	CollectionListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CollectionListMetricsResponse contains the response from method Collection.ListMetrics.

type CollectionListMetricsResult

type CollectionListMetricsResult struct {
	MetricListResult
}

CollectionListMetricsResult contains the result from method Collection.ListMetrics.

type CollectionListUsagesOptions

type CollectionListUsagesOptions struct {
	// An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of
	// multiple names).
	Filter *string
}

CollectionListUsagesOptions contains the optional parameters for the Collection.ListUsages method.

type CollectionListUsagesResponse

type CollectionListUsagesResponse struct {
	CollectionListUsagesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CollectionListUsagesResponse contains the response from method Collection.ListUsages.

type CollectionListUsagesResult

type CollectionListUsagesResult struct {
	UsagesResult
}

CollectionListUsagesResult contains the result from method Collection.ListUsages.

type CollectionPartitionClient

type CollectionPartitionClient struct {
	// contains filtered or unexported fields
}

CollectionPartitionClient contains the methods for the CollectionPartition group. Don't use this type directly, use NewCollectionPartitionClient() instead.

func NewCollectionPartitionClient

func NewCollectionPartitionClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CollectionPartitionClient

NewCollectionPartitionClient creates a new instance of CollectionPartitionClient with the specified values.

func (*CollectionPartitionClient) ListMetrics

func (client *CollectionPartitionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string, options *CollectionPartitionListMetricsOptions) (CollectionPartitionListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given collection, split by partition. If the operation fails it returns a generic error.

func (*CollectionPartitionClient) ListUsages

func (client *CollectionPartitionClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, options *CollectionPartitionListUsagesOptions) (CollectionPartitionListUsagesResponse, error)

ListUsages - Retrieves the usages (most recent storage data) for the given collection, split by partition. If the operation fails it returns a generic error.

type CollectionPartitionListMetricsOptions

type CollectionPartitionListMetricsOptions struct {
}

CollectionPartitionListMetricsOptions contains the optional parameters for the CollectionPartition.ListMetrics method.

type CollectionPartitionListMetricsResponse

type CollectionPartitionListMetricsResponse struct {
	CollectionPartitionListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CollectionPartitionListMetricsResponse contains the response from method CollectionPartition.ListMetrics.

type CollectionPartitionListMetricsResult

type CollectionPartitionListMetricsResult struct {
	PartitionMetricListResult
}

CollectionPartitionListMetricsResult contains the result from method CollectionPartition.ListMetrics.

type CollectionPartitionListUsagesOptions

type CollectionPartitionListUsagesOptions struct {
	// An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of
	// multiple names).
	Filter *string
}

CollectionPartitionListUsagesOptions contains the optional parameters for the CollectionPartition.ListUsages method.

type CollectionPartitionListUsagesResponse

type CollectionPartitionListUsagesResponse struct {
	CollectionPartitionListUsagesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CollectionPartitionListUsagesResponse contains the response from method CollectionPartition.ListUsages.

type CollectionPartitionListUsagesResult

type CollectionPartitionListUsagesResult struct {
	PartitionUsagesResult
}

CollectionPartitionListUsagesResult contains the result from method CollectionPartition.ListUsages.

type CollectionPartitionRegionClient

type CollectionPartitionRegionClient struct {
	// contains filtered or unexported fields
}

CollectionPartitionRegionClient contains the methods for the CollectionPartitionRegion group. Don't use this type directly, use NewCollectionPartitionRegionClient() instead.

func NewCollectionPartitionRegionClient

func NewCollectionPartitionRegionClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CollectionPartitionRegionClient

NewCollectionPartitionRegionClient creates a new instance of CollectionPartitionRegionClient with the specified values.

func (*CollectionPartitionRegionClient) ListMetrics

func (client *CollectionPartitionRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string, options *CollectionPartitionRegionListMetricsOptions) (CollectionPartitionRegionListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given collection and region, split by partition. If the operation fails it returns a generic error.

type CollectionPartitionRegionListMetricsOptions

type CollectionPartitionRegionListMetricsOptions struct {
}

CollectionPartitionRegionListMetricsOptions contains the optional parameters for the CollectionPartitionRegion.ListMetrics method.

type CollectionPartitionRegionListMetricsResponse

type CollectionPartitionRegionListMetricsResponse struct {
	CollectionPartitionRegionListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CollectionPartitionRegionListMetricsResponse contains the response from method CollectionPartitionRegion.ListMetrics.

type CollectionPartitionRegionListMetricsResult

type CollectionPartitionRegionListMetricsResult struct {
	PartitionMetricListResult
}

CollectionPartitionRegionListMetricsResult contains the result from method CollectionPartitionRegion.ListMetrics.

type CollectionRegionClient

type CollectionRegionClient struct {
	// contains filtered or unexported fields
}

CollectionRegionClient contains the methods for the CollectionRegion group. Don't use this type directly, use NewCollectionRegionClient() instead.

func NewCollectionRegionClient

func NewCollectionRegionClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *CollectionRegionClient

NewCollectionRegionClient creates a new instance of CollectionRegionClient with the specified values.

func (*CollectionRegionClient) ListMetrics

func (client *CollectionRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string, options *CollectionRegionListMetricsOptions) (CollectionRegionListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given database account, collection and region. If the operation fails it returns a generic error.

type CollectionRegionListMetricsOptions

type CollectionRegionListMetricsOptions struct {
}

CollectionRegionListMetricsOptions contains the optional parameters for the CollectionRegion.ListMetrics method.

type CollectionRegionListMetricsResponse

type CollectionRegionListMetricsResponse struct {
	CollectionRegionListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

CollectionRegionListMetricsResponse contains the response from method CollectionRegion.ListMetrics.

type CollectionRegionListMetricsResult

type CollectionRegionListMetricsResult struct {
	MetricListResult
}

CollectionRegionListMetricsResult contains the result from method CollectionRegion.ListMetrics.

type Column

type Column struct {
	// Name of the Cosmos DB Cassandra table column
	Name *string `json:"name,omitempty"`

	// Type of the Cosmos DB Cassandra table column
	Type *string `json:"type,omitempty"`
}

Column - Cosmos DB Cassandra table column

type CommandOutput added in v0.2.0

type CommandOutput struct {
	// Output of the command.
	CommandOutput *string `json:"commandOutput,omitempty"`
}

CommandOutput - Response of /command api

type CommandPostBody added in v0.2.0

type CommandPostBody struct {
	// REQUIRED; The command which should be run
	Command *string `json:"command,omitempty"`

	// REQUIRED; IP address of the cassandra host to run the command on
	Host *string `json:"host,omitempty"`

	// The arguments for the command to be run
	Arguments map[string]*string `json:"arguments,omitempty"`

	// If true, stops cassandra before executing the command and then start it again
	CassandraStopStart *bool `json:"cassandra-stop-start,omitempty"`

	// If true, allows the command to write to the cassandra directory, otherwise read-only.
	Readwrite *bool `json:"readwrite,omitempty"`
}

CommandPostBody - Specification of which command to run where

func (CommandPostBody) MarshalJSON added in v0.2.0

func (c CommandPostBody) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type CommandPostBody.

type Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties

type Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties struct {
	// READ-ONLY; The client id of user assigned identity.
	ClientID *string `json:"clientId,omitempty" azure:"ro"`

	// READ-ONLY; The principal id of user assigned identity.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`
}

type ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems added in v0.2.0

type ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems struct {
	// The node's IP address.
	Address *string `json:"address,omitempty"`

	// A float representing the current system-wide CPU utilization as a percentage.
	CPUUsage *float64 `json:"cpuUsage,omitempty"`

	// The amount of disk free, in kB, of the directory /var/lib/cassandra.
	DiskFreeKB *int64 `json:"diskFreeKB,omitempty"`

	// The amount of disk used, in kB, of the directory /var/lib/cassandra.
	DiskUsedKB *int64 `json:"diskUsedKB,omitempty"`

	// The network ID of the node.
	HostID *string `json:"hostID,omitempty"`

	// The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories. Because all SSTable data
	// files are included, any data that is not cleaned
	// up (such as TTL-expired cells or tombstones) is counted.
	Load *string `json:"load,omitempty"`

	// Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB.
	MemoryBuffersAndCachedKB *int64 `json:"memoryBuffersAndCachedKB,omitempty"`

	// Unused memory (MemFree and SwapFree in /proc/meminfo), in kB.
	MemoryFreeKB *int64 `json:"memoryFreeKB,omitempty"`

	// Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB.
	MemoryTotalKB *int64 `json:"memoryTotalKB,omitempty"`

	// Used memory (calculated as total - free - buffers - cache), in kB.
	MemoryUsedKB *int64 `json:"memoryUsedKB,omitempty"`

	// The rack this node is part of.
	Rack *string `json:"rack,omitempty"`
	Size *int32  `json:"size,omitempty"`

	// The state of the node in Cassandra ring.
	State  *NodeState `json:"state,omitempty"`
	Status *string    `json:"status,omitempty"`

	// The timestamp when these statistics were captured.
	Timestamp *string `json:"timestamp,omitempty"`

	// List of tokens this node covers.
	Tokens []*string `json:"tokens,omitempty"`
}

func (ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems) MarshalJSON added in v0.2.0

MarshalJSON implements the json.Marshaller interface for type ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems.

type CompositePath

type CompositePath struct {
	// Sort order for composite paths.
	Order *CompositePathSortOrder `json:"order,omitempty"`

	// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
	Path *string `json:"path,omitempty"`
}

type CompositePathSortOrder

type CompositePathSortOrder string

CompositePathSortOrder - Sort order for composite paths.

const (
	CompositePathSortOrderAscending  CompositePathSortOrder = "ascending"
	CompositePathSortOrderDescending CompositePathSortOrder = "descending"
)

func PossibleCompositePathSortOrderValues

func PossibleCompositePathSortOrderValues() []CompositePathSortOrder

PossibleCompositePathSortOrderValues returns the possible values for the CompositePathSortOrder const type.

func (CompositePathSortOrder) ToPtr

ToPtr returns a *CompositePathSortOrder pointing to the current value.

type ConflictResolutionMode

type ConflictResolutionMode string

ConflictResolutionMode - Indicates the conflict resolution mode.

const (
	ConflictResolutionModeCustom         ConflictResolutionMode = "Custom"
	ConflictResolutionModeLastWriterWins ConflictResolutionMode = "LastWriterWins"
)

func PossibleConflictResolutionModeValues

func PossibleConflictResolutionModeValues() []ConflictResolutionMode

PossibleConflictResolutionModeValues returns the possible values for the ConflictResolutionMode const type.

func (ConflictResolutionMode) ToPtr

ToPtr returns a *ConflictResolutionMode pointing to the current value.

type ConflictResolutionPolicy

type ConflictResolutionPolicy struct {
	// The conflict resolution path in the case of LastWriterWins mode.
	ConflictResolutionPath *string `json:"conflictResolutionPath,omitempty"`

	// The procedure to resolve conflicts in the case of custom mode.
	ConflictResolutionProcedure *string `json:"conflictResolutionProcedure,omitempty"`

	// Indicates the conflict resolution mode.
	Mode *ConflictResolutionMode `json:"mode,omitempty"`
}

ConflictResolutionPolicy - The conflict resolution policy for the container.

type ConnectionError added in v0.2.0

type ConnectionError struct {
	// The kind of connection error that occurred.
	ConnectionState *ConnectionState `json:"connectionState,omitempty"`

	// Detailed error message about the failed connection.
	Exception *string `json:"exception,omitempty"`

	// The IP of host that originated the failed connection.
	IPFrom *string `json:"iPFrom,omitempty"`

	// The IP that the connection attempted to reach.
	IPTo *string `json:"iPTo,omitempty"`

	// The TCP port the connection was attempted on.
	Port *int32 `json:"port,omitempty"`
}

type ConnectionState added in v0.2.0

type ConnectionState string

ConnectionState - The kind of connection error that occurred.

const (
	ConnectionStateDatacenterToDatacenterNetworkError           ConnectionState = "DatacenterToDatacenterNetworkError"
	ConnectionStateInternalError                                ConnectionState = "InternalError"
	ConnectionStateInternalOperatorToDataCenterCertificateError ConnectionState = "InternalOperatorToDataCenterCertificateError"
	ConnectionStateOK                                           ConnectionState = "OK"
	ConnectionStateOperatorToDataCenterNetworkError             ConnectionState = "OperatorToDataCenterNetworkError"
	ConnectionStateUnknown                                      ConnectionState = "Unknown"
)

func PossibleConnectionStateValues added in v0.2.0

func PossibleConnectionStateValues() []ConnectionState

PossibleConnectionStateValues returns the possible values for the ConnectionState const type.

func (ConnectionState) ToPtr added in v0.2.0

func (c ConnectionState) ToPtr() *ConnectionState

ToPtr returns a *ConnectionState pointing to the current value.

type ConnectorOffer

type ConnectorOffer string

ConnectorOffer - The cassandra connector offer type for the Cosmos DB C* database account.

const (
	ConnectorOfferSmall ConnectorOffer = "Small"
)

func PossibleConnectorOfferValues

func PossibleConnectorOfferValues() []ConnectorOffer

PossibleConnectorOfferValues returns the possible values for the ConnectorOffer const type.

func (ConnectorOffer) ToPtr

func (c ConnectorOffer) ToPtr() *ConnectorOffer

ToPtr returns a *ConnectorOffer pointing to the current value.

type ConsistencyPolicy

type ConsistencyPolicy struct {
	// REQUIRED; The default consistency level and configuration settings of the Cosmos DB account.
	DefaultConsistencyLevel *DefaultConsistencyLevel `json:"defaultConsistencyLevel,omitempty"`

	// When used with the Bounded Staleness consistency level, this value represents the time amount of staleness (in seconds) tolerated. Accepted range for
	// this value is 5 - 86400. Required when
	// defaultConsistencyPolicy is set to 'BoundedStaleness'.
	MaxIntervalInSeconds *int32 `json:"maxIntervalInSeconds,omitempty"`

	// When used with the Bounded Staleness consistency level, this value represents the number of stale requests tolerated. Accepted range for this value is
	// 1 – 2,147,483,647. Required when
	// defaultConsistencyPolicy is set to 'BoundedStaleness'.
	MaxStalenessPrefix *int64 `json:"maxStalenessPrefix,omitempty"`
}

ConsistencyPolicy - The consistency policy for the Cosmos DB database account.

type ContainerPartitionKey

type ContainerPartitionKey struct {
	// Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create
	Kind *PartitionKind `json:"kind,omitempty"`

	// List of paths using which data within the container can be partitioned
	Paths []*string `json:"paths,omitempty"`

	// Indicates the version of the partition key definition
	Version *int32 `json:"version,omitempty"`

	// READ-ONLY; Indicates if the container is using a system generated partition key
	SystemKey *bool `json:"systemKey,omitempty" azure:"ro"`
}

ContainerPartitionKey - The configuration of the partition key to be used for partitioning data into multiple partitions

func (ContainerPartitionKey) MarshalJSON

func (c ContainerPartitionKey) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContainerPartitionKey.

type ContinuousBackupInformation

type ContinuousBackupInformation struct {
	// The latest restorable timestamp for a resource.
	LatestRestorableTimestamp *string `json:"latestRestorableTimestamp,omitempty"`
}

ContinuousBackupInformation - Information about the status of continuous backups.

type ContinuousBackupRestoreLocation

type ContinuousBackupRestoreLocation struct {
	// The name of the continuous backup restore location.
	Location *string `json:"location,omitempty"`
}

ContinuousBackupRestoreLocation - Properties of the regional restorable account.

type ContinuousModeBackupPolicy

type ContinuousModeBackupPolicy struct {
	BackupPolicy
}

ContinuousModeBackupPolicy - The object representing continuous mode backup policy.

func (ContinuousModeBackupPolicy) MarshalJSON

func (c ContinuousModeBackupPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ContinuousModeBackupPolicy.

type CorsPolicy

type CorsPolicy struct {
	// REQUIRED; The origin domains that are permitted to make a request against the service via CORS.
	AllowedOrigins *string `json:"allowedOrigins,omitempty"`

	// The request headers that the origin domain may specify on the CORS request.
	AllowedHeaders *string `json:"allowedHeaders,omitempty"`

	// The methods (HTTP request verbs) that the origin domain may use for a CORS request.
	AllowedMethods *string `json:"allowedMethods,omitempty"`

	// The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer.
	ExposedHeaders *string `json:"exposedHeaders,omitempty"`

	// The maximum amount time that a browser should cache the preflight OPTIONS request.
	MaxAgeInSeconds *int64 `json:"maxAgeInSeconds,omitempty"`
}

CorsPolicy - The CORS policy for the Cosmos DB database account.

type CreateMode

type CreateMode string

CreateMode - Enum to indicate the mode of account creation.

const (
	CreateModeDefault CreateMode = "Default"
	CreateModeRestore CreateMode = "Restore"
)

func PossibleCreateModeValues

func PossibleCreateModeValues() []CreateMode

PossibleCreateModeValues returns the possible values for the CreateMode const type.

func (CreateMode) ToPtr

func (c CreateMode) ToPtr() *CreateMode

ToPtr returns a *CreateMode pointing to the current value.

type CreateUpdateOptions

type CreateUpdateOptions struct {
	// Specifies the Autoscale settings.
	AutoscaleSettings *AutoscaleSettings `json:"autoscaleSettings,omitempty"`

	// Request Units per second. For example, "throughput": 10000.
	Throughput *int32 `json:"throughput,omitempty"`
}

CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput"

type CreatedByType

type CreatedByType string

CreatedByType - The type of identity that created the resource.

const (
	CreatedByTypeApplication     CreatedByType = "Application"
	CreatedByTypeKey             CreatedByType = "Key"
	CreatedByTypeManagedIdentity CreatedByType = "ManagedIdentity"
	CreatedByTypeUser            CreatedByType = "User"
)

func PossibleCreatedByTypeValues

func PossibleCreatedByTypeValues() []CreatedByType

PossibleCreatedByTypeValues returns the possible values for the CreatedByType const type.

func (CreatedByType) ToPtr

func (c CreatedByType) ToPtr() *CreatedByType

ToPtr returns a *CreatedByType pointing to the current value.

type DataCenterResource

type DataCenterResource struct {
	ARMProxyResource
	// Properties of a managed Cassandra data center.
	Properties *DataCenterResourceProperties `json:"properties,omitempty"`
}

DataCenterResource - A managed Cassandra data center.

func (DataCenterResource) MarshalJSON

func (d DataCenterResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataCenterResource.

type DataCenterResourceProperties

type DataCenterResourceProperties struct {
	// If the azure data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines.
	AvailabilityZone *bool `json:"availabilityZone,omitempty"`

	// Indicates the Key Uri of the customer key to use for encryption of the backup storage account.
	BackupStorageCustomerKeyURI *string `json:"backupStorageCustomerKeyUri,omitempty"`

	// A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64
	// encoded, and only a subset of keys are allowed.
	Base64EncodedCassandraYamlFragment *string `json:"base64EncodedCassandraYamlFragment,omitempty"`

	// The region this data center should be created in.
	DataCenterLocation *string `json:"dataCenterLocation,omitempty"`

	// Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified
	// in 'dataCenterLocation' and must be able to
	// route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups/
	// /providers/Microsoft.Network/virtualNetworks//subnets/'.
	DelegatedSubnetID *string `json:"delegatedSubnetId,omitempty"`

	// Number of disk used for data centers. Default value is 4.
	DiskCapacity *int32 `json:"diskCapacity,omitempty"`

	// Disk SKU used for data centers. Default value is P30.
	DiskSKU *string `json:"diskSku,omitempty"`

	// Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap
	// permissions) on the key.
	ManagedDiskCustomerKeyURI *string `json:"managedDiskCustomerKeyUri,omitempty"`

	// The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled
	// to match. To monitor the number of nodes and their
	// status, use the fetchNodeStatus method on the cluster.
	NodeCount *int32 `json:"nodeCount,omitempty"`

	// The status of the resource at the time the operation was called.
	ProvisioningState *ManagedCassandraProvisioningState `json:"provisioningState,omitempty"`

	// Virtual Machine SKU used for data centers. Default value is StandardDS14v2
	SKU *string `json:"sku,omitempty"`

	// READ-ONLY; IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster,
	// which aggregates the seed nodes from all data centers in
	// the cluster.
	SeedNodes []*SeedNode `json:"seedNodes,omitempty" azure:"ro"`
}

DataCenterResourceProperties - Properties of a managed Cassandra data center.

func (DataCenterResourceProperties) MarshalJSON

func (d DataCenterResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DataCenterResourceProperties.

type DataType

type DataType string

DataType - The datatype for which the indexing behavior is applied to.

const (
	DataTypeLineString   DataType = "LineString"
	DataTypeMultiPolygon DataType = "MultiPolygon"
	DataTypeNumber       DataType = "Number"
	DataTypePoint        DataType = "Point"
	DataTypePolygon      DataType = "Polygon"
	DataTypeString       DataType = "String"
)

func PossibleDataTypeValues

func PossibleDataTypeValues() []DataType

PossibleDataTypeValues returns the possible values for the DataType const type.

func (DataType) ToPtr

func (c DataType) ToPtr() *DataType

ToPtr returns a *DataType pointing to the current value.

type DatabaseAccountConnectionString

type DatabaseAccountConnectionString struct {
	// READ-ONLY; Value of the connection string
	ConnectionString *string `json:"connectionString,omitempty" azure:"ro"`

	// READ-ONLY; Description of the connection string
	Description *string `json:"description,omitempty" azure:"ro"`
}

DatabaseAccountConnectionString - Connection string for the Cosmos DB account

type DatabaseAccountCreateUpdateParameters

type DatabaseAccountCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB database accounts.
	Properties *DatabaseAccountCreateUpdateProperties `json:"properties,omitempty"`

	// Identity for the resource.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Indicates the type of database account. This can only be set at database account creation.
	Kind *DatabaseAccountKind `json:"kind,omitempty"`
}

DatabaseAccountCreateUpdateParameters - Parameters to create and update Cosmos DB database accounts.

func (DatabaseAccountCreateUpdateParameters) MarshalJSON

func (d DatabaseAccountCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseAccountCreateUpdateParameters.

type DatabaseAccountCreateUpdateProperties

type DatabaseAccountCreateUpdateProperties struct {
	// REQUIRED; The offer type for the database
	DatabaseAccountOfferType *string `json:"databaseAccountOfferType,omitempty"`

	// REQUIRED; An array that contains the georeplication locations enabled for the Cosmos DB account.
	Locations []*Location `json:"locations,omitempty"`

	// API specific properties. Currently, supported only for MongoDB API.
	APIProperties *APIProperties `json:"apiProperties,omitempty"`

	// Analytical storage specific properties.
	AnalyticalStorageConfiguration *AnalyticalStorageConfiguration `json:"analyticalStorageConfiguration,omitempty"`

	// The object representing the policy for taking backups on an account.
	BackupPolicy BackupPolicyClassification `json:"backupPolicy,omitempty"`

	// List of Cosmos DB capabilities for the account
	Capabilities []*Capability `json:"capabilities,omitempty"`

	// The object that represents all properties related to capacity enforcement on an account.
	Capacity *Capacity `json:"capacity,omitempty"`

	// The cassandra connector offer type for the Cosmos DB database C* account.
	ConnectorOffer *ConnectorOffer `json:"connectorOffer,omitempty"`

	// The consistency policy for the Cosmos DB account.
	ConsistencyPolicy *ConsistencyPolicy `json:"consistencyPolicy,omitempty"`

	// The CORS policy for the Cosmos DB database account.
	Cors []*CorsPolicy `json:"cors,omitempty"`

	// Enum to indicate the mode of account creation.
	CreateMode *CreateMode `json:"createMode,omitempty"`

	// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users.
	// It can be "FirstPartyIdentity",
	// "SystemAssignedIdentity" and more.
	DefaultIdentity *string `json:"defaultIdentity,omitempty"`

	// Disable write operations on metadata resources (databases, containers, throughput) via account keys
	DisableKeyBasedMetadataWriteAccess *bool `json:"disableKeyBasedMetadataWriteAccess,omitempty"`

	// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`

	// Flag to indicate whether to enable storage analytics.
	EnableAnalyticalStorage *bool `json:"enableAnalyticalStorage,omitempty"`

	// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a
	// new write region for the account and is chosen
	// based on the failover priorities configured for the account.
	EnableAutomaticFailover *bool `json:"enableAutomaticFailover,omitempty"`

	// Enables the cassandra connector on the Cosmos DB C* account
	EnableCassandraConnector *bool `json:"enableCassandraConnector,omitempty"`

	// Flag to indicate whether Free Tier is enabled.
	EnableFreeTier *bool `json:"enableFreeTier,omitempty"`

	// Enables the account to write in multiple locations
	EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"`

	// List of IpRules.
	IPRules []*IPAddressOrRange `json:"ipRules,omitempty"`

	// Flag to indicate whether to enable/disable Virtual Network ACL rules.
	IsVirtualNetworkFilterEnabled *bool `json:"isVirtualNetworkFilterEnabled,omitempty"`

	// The URI of the key vault
	KeyVaultKeyURI *string `json:"keyVaultKeyUri,omitempty"`

	// Indicates what services are allowed to bypass firewall checks.
	NetworkACLBypass *NetworkACLBypass `json:"networkAclBypass,omitempty"`

	// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
	NetworkACLBypassResourceIDs []*string `json:"networkAclBypassResourceIds,omitempty"`

	// Whether requests from Public Network are allowed
	PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`

	// Parameters to indicate the information about the restore.
	RestoreParameters *RestoreParameters `json:"restoreParameters,omitempty"`

	// List of Virtual Network ACL rules configured for the Cosmos DB account.
	VirtualNetworkRules []*VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
}

DatabaseAccountCreateUpdateProperties - Properties to create and update Azure Cosmos DB database accounts.

func (DatabaseAccountCreateUpdateProperties) MarshalJSON

func (d DatabaseAccountCreateUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseAccountCreateUpdateProperties.

func (*DatabaseAccountCreateUpdateProperties) UnmarshalJSON

func (d *DatabaseAccountCreateUpdateProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseAccountCreateUpdateProperties.

type DatabaseAccountGetProperties

type DatabaseAccountGetProperties struct {
	// API specific properties.
	APIProperties *APIProperties `json:"apiProperties,omitempty"`

	// Analytical storage specific properties.
	AnalyticalStorageConfiguration *AnalyticalStorageConfiguration `json:"analyticalStorageConfiguration,omitempty"`

	// The object representing the policy for taking backups on an account.
	BackupPolicy BackupPolicyClassification `json:"backupPolicy,omitempty"`

	// List of Cosmos DB capabilities for the account
	Capabilities []*Capability `json:"capabilities,omitempty"`

	// The object that represents all properties related to capacity enforcement on an account.
	Capacity *Capacity `json:"capacity,omitempty"`

	// The cassandra connector offer type for the Cosmos DB database C* account.
	ConnectorOffer *ConnectorOffer `json:"connectorOffer,omitempty"`

	// The consistency policy for the Cosmos DB database account.
	ConsistencyPolicy *ConsistencyPolicy `json:"consistencyPolicy,omitempty"`

	// The CORS policy for the Cosmos DB database account.
	Cors []*CorsPolicy `json:"cors,omitempty"`

	// Enum to indicate the mode of account creation.
	CreateMode *CreateMode `json:"createMode,omitempty"`

	// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users.
	// It can be "FirstPartyIdentity",
	// "SystemAssignedIdentity" and more.
	DefaultIdentity *string `json:"defaultIdentity,omitempty"`

	// Disable write operations on metadata resources (databases, containers, throughput) via account keys
	DisableKeyBasedMetadataWriteAccess *bool `json:"disableKeyBasedMetadataWriteAccess,omitempty"`

	// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`

	// Flag to indicate whether to enable storage analytics.
	EnableAnalyticalStorage *bool `json:"enableAnalyticalStorage,omitempty"`

	// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a
	// new write region for the account and is chosen
	// based on the failover priorities configured for the account.
	EnableAutomaticFailover *bool `json:"enableAutomaticFailover,omitempty"`

	// Enables the cassandra connector on the Cosmos DB C* account
	EnableCassandraConnector *bool `json:"enableCassandraConnector,omitempty"`

	// Flag to indicate whether Free Tier is enabled.
	EnableFreeTier *bool `json:"enableFreeTier,omitempty"`

	// Enables the account to write in multiple locations
	EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"`

	// List of IpRules.
	IPRules []*IPAddressOrRange `json:"ipRules,omitempty"`

	// Flag to indicate whether to enable/disable Virtual Network ACL rules.
	IsVirtualNetworkFilterEnabled *bool `json:"isVirtualNetworkFilterEnabled,omitempty"`

	// The URI of the key vault
	KeyVaultKeyURI *string `json:"keyVaultKeyUri,omitempty"`

	// Indicates what services are allowed to bypass firewall checks.
	NetworkACLBypass *NetworkACLBypass `json:"networkAclBypass,omitempty"`

	// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
	NetworkACLBypassResourceIDs []*string `json:"networkAclBypassResourceIds,omitempty"`

	// Whether requests from Public Network are allowed
	PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`

	// Parameters to indicate the information about the restore.
	RestoreParameters *RestoreParameters `json:"restoreParameters,omitempty"`

	// List of Virtual Network ACL rules configured for the Cosmos DB account.
	VirtualNetworkRules []*VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`

	// READ-ONLY; The offer type for the Cosmos DB database account. Default value: Standard.
	DatabaseAccountOfferType *string `json:"databaseAccountOfferType,omitempty" azure:"ro"`

	// READ-ONLY; The connection endpoint for the Cosmos DB database account.
	DocumentEndpoint *string `json:"documentEndpoint,omitempty" azure:"ro"`

	// READ-ONLY; An array that contains the regions ordered by their failover priorities.
	FailoverPolicies []*FailoverPolicy `json:"failoverPolicies,omitempty" azure:"ro"`

	// READ-ONLY; A unique identifier assigned to the database account
	InstanceID *string `json:"instanceId,omitempty" azure:"ro"`

	// READ-ONLY; An array that contains all of the locations enabled for the Cosmos DB account.
	Locations []*Location `json:"locations,omitempty" azure:"ro"`

	// READ-ONLY; List of Private Endpoint Connections configured for the Cosmos DB account.
	PrivateEndpointConnections []*PrivateEndpointConnection `json:"privateEndpointConnections,omitempty" azure:"ro"`

	// READ-ONLY; The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account
	// is being created. When an account is in Creating state,
	// only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for
	// use. 'Updating' – the Cosmos DB account is being
	// updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account
	// deletion failed.
	ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`

	// READ-ONLY; An array that contains of the read locations enabled for the Cosmos DB account.
	ReadLocations []*Location `json:"readLocations,omitempty" azure:"ro"`

	// READ-ONLY; An array that contains the write location for the Cosmos DB account.
	WriteLocations []*Location `json:"writeLocations,omitempty" azure:"ro"`
}

DatabaseAccountGetProperties - Properties for the database account.

func (DatabaseAccountGetProperties) MarshalJSON

func (d DatabaseAccountGetProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseAccountGetProperties.

func (*DatabaseAccountGetProperties) UnmarshalJSON

func (d *DatabaseAccountGetProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseAccountGetProperties.

type DatabaseAccountGetResults

type DatabaseAccountGetResults struct {
	ARMResourceProperties
	// Identity for the resource.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// Indicates the type of database account. This can only be set at database account creation.
	Kind *DatabaseAccountKind `json:"kind,omitempty"`

	// Properties for the database account.
	Properties *DatabaseAccountGetProperties `json:"properties,omitempty"`

	// READ-ONLY; The system meta data relating to this resource.
	SystemData *SystemData `json:"systemData,omitempty" azure:"ro"`
}

DatabaseAccountGetResults - An Azure Cosmos DB database account.

func (DatabaseAccountGetResults) MarshalJSON

func (d DatabaseAccountGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseAccountGetResults.

type DatabaseAccountKind

type DatabaseAccountKind string

DatabaseAccountKind - Indicates the type of database account. This can only be set at database account creation.

const (
	DatabaseAccountKindGlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB"
	DatabaseAccountKindMongoDB          DatabaseAccountKind = "MongoDB"
	DatabaseAccountKindParse            DatabaseAccountKind = "Parse"
)

func PossibleDatabaseAccountKindValues

func PossibleDatabaseAccountKindValues() []DatabaseAccountKind

PossibleDatabaseAccountKindValues returns the possible values for the DatabaseAccountKind const type.

func (DatabaseAccountKind) ToPtr

ToPtr returns a *DatabaseAccountKind pointing to the current value.

type DatabaseAccountListConnectionStringsResult

type DatabaseAccountListConnectionStringsResult struct {
	// An array that contains the connection strings for the Cosmos DB account.
	ConnectionStrings []*DatabaseAccountConnectionString `json:"connectionStrings,omitempty"`
}

DatabaseAccountListConnectionStringsResult - The connection strings for the given database account.

func (DatabaseAccountListConnectionStringsResult) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type DatabaseAccountListConnectionStringsResult.

type DatabaseAccountListKeysResult

type DatabaseAccountListKeysResult struct {
	DatabaseAccountListReadOnlyKeysResult
	// READ-ONLY; Base 64 encoded value of the primary read-write key.
	PrimaryMasterKey *string `json:"primaryMasterKey,omitempty" azure:"ro"`

	// READ-ONLY; Base 64 encoded value of the secondary read-write key.
	SecondaryMasterKey *string `json:"secondaryMasterKey,omitempty" azure:"ro"`
}

DatabaseAccountListKeysResult - The access keys for the given database account.

type DatabaseAccountListReadOnlyKeysResult

type DatabaseAccountListReadOnlyKeysResult struct {
	// READ-ONLY; Base 64 encoded value of the primary read-only key.
	PrimaryReadonlyMasterKey *string `json:"primaryReadonlyMasterKey,omitempty" azure:"ro"`

	// READ-ONLY; Base 64 encoded value of the secondary read-only key.
	SecondaryReadonlyMasterKey *string `json:"secondaryReadonlyMasterKey,omitempty" azure:"ro"`
}

DatabaseAccountListReadOnlyKeysResult - The read-only access keys for the given database account.

type DatabaseAccountRegenerateKeyParameters

type DatabaseAccountRegenerateKeyParameters struct {
	// REQUIRED; The access key to regenerate.
	KeyKind *KeyKind `json:"keyKind,omitempty"`
}

DatabaseAccountRegenerateKeyParameters - Parameters to regenerate the keys within the database account.

type DatabaseAccountRegionClient

type DatabaseAccountRegionClient struct {
	// contains filtered or unexported fields
}

DatabaseAccountRegionClient contains the methods for the DatabaseAccountRegion group. Don't use this type directly, use NewDatabaseAccountRegionClient() instead.

func NewDatabaseAccountRegionClient

func NewDatabaseAccountRegionClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *DatabaseAccountRegionClient

NewDatabaseAccountRegionClient creates a new instance of DatabaseAccountRegionClient with the specified values.

func (*DatabaseAccountRegionClient) ListMetrics

func (client *DatabaseAccountRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, filter string, options *DatabaseAccountRegionListMetricsOptions) (DatabaseAccountRegionListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given database account and region. If the operation fails it returns a generic error.

type DatabaseAccountRegionListMetricsOptions

type DatabaseAccountRegionListMetricsOptions struct {
}

DatabaseAccountRegionListMetricsOptions contains the optional parameters for the DatabaseAccountRegion.ListMetrics method.

type DatabaseAccountRegionListMetricsResponse

type DatabaseAccountRegionListMetricsResponse struct {
	DatabaseAccountRegionListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountRegionListMetricsResponse contains the response from method DatabaseAccountRegion.ListMetrics.

type DatabaseAccountRegionListMetricsResult

type DatabaseAccountRegionListMetricsResult struct {
	MetricListResult
}

DatabaseAccountRegionListMetricsResult contains the result from method DatabaseAccountRegion.ListMetrics.

type DatabaseAccountUpdateParameters

type DatabaseAccountUpdateParameters struct {
	// Identity for the resource.
	Identity *ManagedServiceIdentity `json:"identity,omitempty"`

	// The location of the resource group to which the resource belongs.
	Location *string `json:"location,omitempty"`

	// Properties to update Azure Cosmos DB database accounts.
	Properties *DatabaseAccountUpdateProperties `json:"properties,omitempty"`

	// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
	// A maximum of 15 tags can be provided for a
	// resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a
	// template type is set with "defaultExperience":
	// "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
	Tags map[string]*string `json:"tags,omitempty"`
}

DatabaseAccountUpdateParameters - Parameters for patching Azure Cosmos DB database account properties.

func (DatabaseAccountUpdateParameters) MarshalJSON

func (d DatabaseAccountUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseAccountUpdateParameters.

type DatabaseAccountUpdateProperties

type DatabaseAccountUpdateProperties struct {
	// API specific properties. Currently, supported only for MongoDB API.
	APIProperties *APIProperties `json:"apiProperties,omitempty"`

	// Analytical storage specific properties.
	AnalyticalStorageConfiguration *AnalyticalStorageConfiguration `json:"analyticalStorageConfiguration,omitempty"`

	// The object representing the policy for taking backups on an account.
	BackupPolicy BackupPolicyClassification `json:"backupPolicy,omitempty"`

	// List of Cosmos DB capabilities for the account
	Capabilities []*Capability `json:"capabilities,omitempty"`

	// The object that represents all properties related to capacity enforcement on an account.
	Capacity *Capacity `json:"capacity,omitempty"`

	// The cassandra connector offer type for the Cosmos DB database C* account.
	ConnectorOffer *ConnectorOffer `json:"connectorOffer,omitempty"`

	// The consistency policy for the Cosmos DB account.
	ConsistencyPolicy *ConsistencyPolicy `json:"consistencyPolicy,omitempty"`

	// The CORS policy for the Cosmos DB database account.
	Cors []*CorsPolicy `json:"cors,omitempty"`

	// The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users.
	// It can be "FirstPartyIdentity",
	// "SystemAssignedIdentity" and more.
	DefaultIdentity *string `json:"defaultIdentity,omitempty"`

	// Disable write operations on metadata resources (databases, containers, throughput) via account keys
	DisableKeyBasedMetadataWriteAccess *bool `json:"disableKeyBasedMetadataWriteAccess,omitempty"`

	// Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication.
	DisableLocalAuth *bool `json:"disableLocalAuth,omitempty"`

	// Flag to indicate whether to enable storage analytics.
	EnableAnalyticalStorage *bool `json:"enableAnalyticalStorage,omitempty"`

	// Enables automatic failover of the write region in the rare event that the region is unavailable due to an outage. Automatic failover will result in a
	// new write region for the account and is chosen
	// based on the failover priorities configured for the account.
	EnableAutomaticFailover *bool `json:"enableAutomaticFailover,omitempty"`

	// Enables the cassandra connector on the Cosmos DB C* account
	EnableCassandraConnector *bool `json:"enableCassandraConnector,omitempty"`

	// Flag to indicate whether Free Tier is enabled.
	EnableFreeTier *bool `json:"enableFreeTier,omitempty"`

	// Enables the account to write in multiple locations
	EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"`

	// List of IpRules.
	IPRules []*IPAddressOrRange `json:"ipRules,omitempty"`

	// Flag to indicate whether to enable/disable Virtual Network ACL rules.
	IsVirtualNetworkFilterEnabled *bool `json:"isVirtualNetworkFilterEnabled,omitempty"`

	// The URI of the key vault
	KeyVaultKeyURI *string `json:"keyVaultKeyUri,omitempty"`

	// An array that contains the georeplication locations enabled for the Cosmos DB account.
	Locations []*Location `json:"locations,omitempty"`

	// Indicates what services are allowed to bypass firewall checks.
	NetworkACLBypass *NetworkACLBypass `json:"networkAclBypass,omitempty"`

	// An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account.
	NetworkACLBypassResourceIDs []*string `json:"networkAclBypassResourceIds,omitempty"`

	// Whether requests from Public Network are allowed
	PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"`

	// List of Virtual Network ACL rules configured for the Cosmos DB account.
	VirtualNetworkRules []*VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
}

DatabaseAccountUpdateProperties - Properties to update Azure Cosmos DB database accounts.

func (DatabaseAccountUpdateProperties) MarshalJSON

func (d DatabaseAccountUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseAccountUpdateProperties.

func (*DatabaseAccountUpdateProperties) UnmarshalJSON

func (d *DatabaseAccountUpdateProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type DatabaseAccountUpdateProperties.

type DatabaseAccountsBeginCreateOrUpdateOptions

type DatabaseAccountsBeginCreateOrUpdateOptions struct {
}

DatabaseAccountsBeginCreateOrUpdateOptions contains the optional parameters for the DatabaseAccounts.BeginCreateOrUpdate method.

type DatabaseAccountsBeginDeleteOptions

type DatabaseAccountsBeginDeleteOptions struct {
}

DatabaseAccountsBeginDeleteOptions contains the optional parameters for the DatabaseAccounts.BeginDelete method.

type DatabaseAccountsBeginFailoverPriorityChangeOptions

type DatabaseAccountsBeginFailoverPriorityChangeOptions struct {
}

DatabaseAccountsBeginFailoverPriorityChangeOptions contains the optional parameters for the DatabaseAccounts.BeginFailoverPriorityChange method.

type DatabaseAccountsBeginOfflineRegionOptions

type DatabaseAccountsBeginOfflineRegionOptions struct {
}

DatabaseAccountsBeginOfflineRegionOptions contains the optional parameters for the DatabaseAccounts.BeginOfflineRegion method.

type DatabaseAccountsBeginOnlineRegionOptions

type DatabaseAccountsBeginOnlineRegionOptions struct {
}

DatabaseAccountsBeginOnlineRegionOptions contains the optional parameters for the DatabaseAccounts.BeginOnlineRegion method.

type DatabaseAccountsBeginRegenerateKeyOptions

type DatabaseAccountsBeginRegenerateKeyOptions struct {
}

DatabaseAccountsBeginRegenerateKeyOptions contains the optional parameters for the DatabaseAccounts.BeginRegenerateKey method.

type DatabaseAccountsBeginUpdateOptions

type DatabaseAccountsBeginUpdateOptions struct {
}

DatabaseAccountsBeginUpdateOptions contains the optional parameters for the DatabaseAccounts.BeginUpdate method.

type DatabaseAccountsCheckNameExistsOptions

type DatabaseAccountsCheckNameExistsOptions struct {
}

DatabaseAccountsCheckNameExistsOptions contains the optional parameters for the DatabaseAccounts.CheckNameExists method.

type DatabaseAccountsCheckNameExistsResponse

type DatabaseAccountsCheckNameExistsResponse struct {
	DatabaseAccountsCheckNameExistsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsCheckNameExistsResponse contains the response from method DatabaseAccounts.CheckNameExists.

type DatabaseAccountsCheckNameExistsResult

type DatabaseAccountsCheckNameExistsResult struct {
	// Success indicates if the operation succeeded or failed.
	Success bool
}

DatabaseAccountsCheckNameExistsResult contains the result from method DatabaseAccounts.CheckNameExists.

type DatabaseAccountsClient

type DatabaseAccountsClient struct {
	// contains filtered or unexported fields
}

DatabaseAccountsClient contains the methods for the DatabaseAccounts group. Don't use this type directly, use NewDatabaseAccountsClient() instead.

func NewDatabaseAccountsClient

func NewDatabaseAccountsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *DatabaseAccountsClient

NewDatabaseAccountsClient creates a new instance of DatabaseAccountsClient with the specified values.

func (*DatabaseAccountsClient) BeginCreateOrUpdate

func (client *DatabaseAccountsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, createUpdateParameters DatabaseAccountCreateUpdateParameters, options *DatabaseAccountsBeginCreateOrUpdateOptions) (DatabaseAccountsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates or updates an Azure Cosmos DB database account. The "Update" method is preferred when performing updates on an account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) BeginDelete

func (client *DatabaseAccountsClient) BeginDelete(ctx context.Context, resourceGroupName string, accountName string, options *DatabaseAccountsBeginDeleteOptions) (DatabaseAccountsDeletePollerResponse, error)

BeginDelete - Deletes an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) BeginFailoverPriorityChange

func (client *DatabaseAccountsClient) BeginFailoverPriorityChange(ctx context.Context, resourceGroupName string, accountName string, failoverParameters FailoverPolicies, options *DatabaseAccountsBeginFailoverPriorityChangeOptions) (DatabaseAccountsFailoverPriorityChangePollerResponse, error)

BeginFailoverPriorityChange - Changes the failover priority for the Azure Cosmos DB database account. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of regions - 1). Failover priority values must be unique for each of the regions in which the database account exists. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) BeginOfflineRegion

func (client *DatabaseAccountsClient) BeginOfflineRegion(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOffline RegionForOnlineOffline, options *DatabaseAccountsBeginOfflineRegionOptions) (DatabaseAccountsOfflineRegionPollerResponse, error)

BeginOfflineRegion - Offline the specified region for the specified Azure Cosmos DB database account. If the operation fails it returns the *ErrorResponse error type.

func (*DatabaseAccountsClient) BeginOnlineRegion

func (client *DatabaseAccountsClient) BeginOnlineRegion(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOnline RegionForOnlineOffline, options *DatabaseAccountsBeginOnlineRegionOptions) (DatabaseAccountsOnlineRegionPollerResponse, error)

BeginOnlineRegion - Online the specified region for the specified Azure Cosmos DB database account. If the operation fails it returns the *ErrorResponse error type.

func (*DatabaseAccountsClient) BeginRegenerateKey

BeginRegenerateKey - Regenerates an access key for the specified Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) BeginUpdate

func (client *DatabaseAccountsClient) BeginUpdate(ctx context.Context, resourceGroupName string, accountName string, updateParameters DatabaseAccountUpdateParameters, options *DatabaseAccountsBeginUpdateOptions) (DatabaseAccountsUpdatePollerResponse, error)

BeginUpdate - Updates the properties of an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) CheckNameExists

CheckNameExists - Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) Get

func (client *DatabaseAccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string, options *DatabaseAccountsGetOptions) (DatabaseAccountsGetResponse, error)

Get - Retrieves the properties of an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) GetReadOnlyKeys

func (client *DatabaseAccountsClient) GetReadOnlyKeys(ctx context.Context, resourceGroupName string, accountName string, options *DatabaseAccountsGetReadOnlyKeysOptions) (DatabaseAccountsGetReadOnlyKeysResponse, error)

GetReadOnlyKeys - Lists the read-only access keys for the specified Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) List

List - Lists all the Azure Cosmos DB database accounts available under the subscription. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) ListByResourceGroup

ListByResourceGroup - Lists all the Azure Cosmos DB database accounts available under the given resource group. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) ListConnectionStrings

func (client *DatabaseAccountsClient) ListConnectionStrings(ctx context.Context, resourceGroupName string, accountName string, options *DatabaseAccountsListConnectionStringsOptions) (DatabaseAccountsListConnectionStringsResponse, error)

ListConnectionStrings - Lists the connection strings for the specified Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) ListKeys

func (client *DatabaseAccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string, options *DatabaseAccountsListKeysOptions) (DatabaseAccountsListKeysResponse, error)

ListKeys - Lists the access keys for the specified Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) ListMetricDefinitions

func (client *DatabaseAccountsClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, options *DatabaseAccountsListMetricDefinitionsOptions) (DatabaseAccountsListMetricDefinitionsResponse, error)

ListMetricDefinitions - Retrieves metric definitions for the given database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) ListMetrics

func (client *DatabaseAccountsClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, filter string, options *DatabaseAccountsListMetricsOptions) (DatabaseAccountsListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) ListReadOnlyKeys

func (client *DatabaseAccountsClient) ListReadOnlyKeys(ctx context.Context, resourceGroupName string, accountName string, options *DatabaseAccountsListReadOnlyKeysOptions) (DatabaseAccountsListReadOnlyKeysResponse, error)

ListReadOnlyKeys - Lists the read-only access keys for the specified Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*DatabaseAccountsClient) ListUsages

func (client *DatabaseAccountsClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, options *DatabaseAccountsListUsagesOptions) (DatabaseAccountsListUsagesResponse, error)

ListUsages - Retrieves the usages (most recent data) for the given database account. If the operation fails it returns a generic error.

type DatabaseAccountsCreateOrUpdatePoller

type DatabaseAccountsCreateOrUpdatePoller struct {
	// contains filtered or unexported fields
}

DatabaseAccountsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*DatabaseAccountsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DatabaseAccountsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DatabaseAccountsCreateOrUpdateResponse will be returned.

func (*DatabaseAccountsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DatabaseAccountsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DatabaseAccountsCreateOrUpdatePollerResponse

type DatabaseAccountsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DatabaseAccountsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsCreateOrUpdatePollerResponse contains the response from method DatabaseAccounts.CreateOrUpdate.

func (DatabaseAccountsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*DatabaseAccountsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a DatabaseAccountsCreateOrUpdatePollerResponse from the provided client and resume token.

type DatabaseAccountsCreateOrUpdateResponse

type DatabaseAccountsCreateOrUpdateResponse struct {
	DatabaseAccountsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsCreateOrUpdateResponse contains the response from method DatabaseAccounts.CreateOrUpdate.

type DatabaseAccountsCreateOrUpdateResult

type DatabaseAccountsCreateOrUpdateResult struct {
	DatabaseAccountGetResults
}

DatabaseAccountsCreateOrUpdateResult contains the result from method DatabaseAccounts.CreateOrUpdate.

type DatabaseAccountsDeletePoller

type DatabaseAccountsDeletePoller struct {
	// contains filtered or unexported fields
}

DatabaseAccountsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*DatabaseAccountsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DatabaseAccountsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DatabaseAccountsDeleteResponse will be returned.

func (*DatabaseAccountsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DatabaseAccountsDeletePoller) ResumeToken

func (p *DatabaseAccountsDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DatabaseAccountsDeletePollerResponse

type DatabaseAccountsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DatabaseAccountsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsDeletePollerResponse contains the response from method DatabaseAccounts.Delete.

func (DatabaseAccountsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*DatabaseAccountsDeletePollerResponse) Resume

Resume rehydrates a DatabaseAccountsDeletePollerResponse from the provided client and resume token.

type DatabaseAccountsDeleteResponse

type DatabaseAccountsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsDeleteResponse contains the response from method DatabaseAccounts.Delete.

type DatabaseAccountsFailoverPriorityChangePoller

type DatabaseAccountsFailoverPriorityChangePoller struct {
	// contains filtered or unexported fields
}

DatabaseAccountsFailoverPriorityChangePoller provides polling facilities until the operation reaches a terminal state.

func (*DatabaseAccountsFailoverPriorityChangePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DatabaseAccountsFailoverPriorityChangePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DatabaseAccountsFailoverPriorityChangeResponse will be returned.

func (*DatabaseAccountsFailoverPriorityChangePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DatabaseAccountsFailoverPriorityChangePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DatabaseAccountsFailoverPriorityChangePollerResponse

type DatabaseAccountsFailoverPriorityChangePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DatabaseAccountsFailoverPriorityChangePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsFailoverPriorityChangePollerResponse contains the response from method DatabaseAccounts.FailoverPriorityChange.

func (DatabaseAccountsFailoverPriorityChangePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*DatabaseAccountsFailoverPriorityChangePollerResponse) Resume

Resume rehydrates a DatabaseAccountsFailoverPriorityChangePollerResponse from the provided client and resume token.

type DatabaseAccountsFailoverPriorityChangeResponse

type DatabaseAccountsFailoverPriorityChangeResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsFailoverPriorityChangeResponse contains the response from method DatabaseAccounts.FailoverPriorityChange.

type DatabaseAccountsGetOptions

type DatabaseAccountsGetOptions struct {
}

DatabaseAccountsGetOptions contains the optional parameters for the DatabaseAccounts.Get method.

type DatabaseAccountsGetReadOnlyKeysOptions

type DatabaseAccountsGetReadOnlyKeysOptions struct {
}

DatabaseAccountsGetReadOnlyKeysOptions contains the optional parameters for the DatabaseAccounts.GetReadOnlyKeys method.

type DatabaseAccountsGetReadOnlyKeysResponse

type DatabaseAccountsGetReadOnlyKeysResponse struct {
	DatabaseAccountsGetReadOnlyKeysResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsGetReadOnlyKeysResponse contains the response from method DatabaseAccounts.GetReadOnlyKeys.

type DatabaseAccountsGetReadOnlyKeysResult

type DatabaseAccountsGetReadOnlyKeysResult struct {
	DatabaseAccountListReadOnlyKeysResult
}

DatabaseAccountsGetReadOnlyKeysResult contains the result from method DatabaseAccounts.GetReadOnlyKeys.

type DatabaseAccountsGetResponse

type DatabaseAccountsGetResponse struct {
	DatabaseAccountsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsGetResponse contains the response from method DatabaseAccounts.Get.

type DatabaseAccountsGetResult

type DatabaseAccountsGetResult struct {
	DatabaseAccountGetResults
}

DatabaseAccountsGetResult contains the result from method DatabaseAccounts.Get.

type DatabaseAccountsListByResourceGroupOptions

type DatabaseAccountsListByResourceGroupOptions struct {
}

DatabaseAccountsListByResourceGroupOptions contains the optional parameters for the DatabaseAccounts.ListByResourceGroup method.

type DatabaseAccountsListByResourceGroupResponse

type DatabaseAccountsListByResourceGroupResponse struct {
	DatabaseAccountsListByResourceGroupResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsListByResourceGroupResponse contains the response from method DatabaseAccounts.ListByResourceGroup.

type DatabaseAccountsListByResourceGroupResult

type DatabaseAccountsListByResourceGroupResult struct {
	DatabaseAccountsListResult
}

DatabaseAccountsListByResourceGroupResult contains the result from method DatabaseAccounts.ListByResourceGroup.

type DatabaseAccountsListConnectionStringsOptions

type DatabaseAccountsListConnectionStringsOptions struct {
}

DatabaseAccountsListConnectionStringsOptions contains the optional parameters for the DatabaseAccounts.ListConnectionStrings method.

type DatabaseAccountsListConnectionStringsResponse

type DatabaseAccountsListConnectionStringsResponse struct {
	DatabaseAccountsListConnectionStringsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsListConnectionStringsResponse contains the response from method DatabaseAccounts.ListConnectionStrings.

type DatabaseAccountsListConnectionStringsResult

type DatabaseAccountsListConnectionStringsResult struct {
	DatabaseAccountListConnectionStringsResult
}

DatabaseAccountsListConnectionStringsResult contains the result from method DatabaseAccounts.ListConnectionStrings.

type DatabaseAccountsListKeysOptions

type DatabaseAccountsListKeysOptions struct {
}

DatabaseAccountsListKeysOptions contains the optional parameters for the DatabaseAccounts.ListKeys method.

type DatabaseAccountsListKeysResponse

type DatabaseAccountsListKeysResponse struct {
	DatabaseAccountsListKeysResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsListKeysResponse contains the response from method DatabaseAccounts.ListKeys.

type DatabaseAccountsListKeysResult

type DatabaseAccountsListKeysResult struct {
	DatabaseAccountListKeysResult
}

DatabaseAccountsListKeysResult contains the result from method DatabaseAccounts.ListKeys.

type DatabaseAccountsListMetricDefinitionsOptions

type DatabaseAccountsListMetricDefinitionsOptions struct {
}

DatabaseAccountsListMetricDefinitionsOptions contains the optional parameters for the DatabaseAccounts.ListMetricDefinitions method.

type DatabaseAccountsListMetricDefinitionsResponse

type DatabaseAccountsListMetricDefinitionsResponse struct {
	DatabaseAccountsListMetricDefinitionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsListMetricDefinitionsResponse contains the response from method DatabaseAccounts.ListMetricDefinitions.

type DatabaseAccountsListMetricDefinitionsResult

type DatabaseAccountsListMetricDefinitionsResult struct {
	MetricDefinitionsListResult
}

DatabaseAccountsListMetricDefinitionsResult contains the result from method DatabaseAccounts.ListMetricDefinitions.

type DatabaseAccountsListMetricsOptions

type DatabaseAccountsListMetricsOptions struct {
}

DatabaseAccountsListMetricsOptions contains the optional parameters for the DatabaseAccounts.ListMetrics method.

type DatabaseAccountsListMetricsResponse

type DatabaseAccountsListMetricsResponse struct {
	DatabaseAccountsListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsListMetricsResponse contains the response from method DatabaseAccounts.ListMetrics.

type DatabaseAccountsListMetricsResult

type DatabaseAccountsListMetricsResult struct {
	MetricListResult
}

DatabaseAccountsListMetricsResult contains the result from method DatabaseAccounts.ListMetrics.

type DatabaseAccountsListOptions

type DatabaseAccountsListOptions struct {
}

DatabaseAccountsListOptions contains the optional parameters for the DatabaseAccounts.List method.

type DatabaseAccountsListReadOnlyKeysOptions

type DatabaseAccountsListReadOnlyKeysOptions struct {
}

DatabaseAccountsListReadOnlyKeysOptions contains the optional parameters for the DatabaseAccounts.ListReadOnlyKeys method.

type DatabaseAccountsListReadOnlyKeysResponse

type DatabaseAccountsListReadOnlyKeysResponse struct {
	DatabaseAccountsListReadOnlyKeysResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsListReadOnlyKeysResponse contains the response from method DatabaseAccounts.ListReadOnlyKeys.

type DatabaseAccountsListReadOnlyKeysResult

type DatabaseAccountsListReadOnlyKeysResult struct {
	DatabaseAccountListReadOnlyKeysResult
}

DatabaseAccountsListReadOnlyKeysResult contains the result from method DatabaseAccounts.ListReadOnlyKeys.

type DatabaseAccountsListResponse

type DatabaseAccountsListResponse struct {
	DatabaseAccountsListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsListResponse contains the response from method DatabaseAccounts.List.

type DatabaseAccountsListResult

type DatabaseAccountsListResult struct {
	// READ-ONLY; List of database account and their properties.
	Value []*DatabaseAccountGetResults `json:"value,omitempty" azure:"ro"`
}

DatabaseAccountsListResult - The List operation response, that contains the database accounts and their properties.

func (DatabaseAccountsListResult) MarshalJSON

func (d DatabaseAccountsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseAccountsListResult.

type DatabaseAccountsListResultEnvelope

type DatabaseAccountsListResultEnvelope struct {
	DatabaseAccountsListResult
}

DatabaseAccountsListResultEnvelope contains the result from method DatabaseAccounts.List.

type DatabaseAccountsListUsagesOptions

type DatabaseAccountsListUsagesOptions struct {
	// An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of
	// multiple names).
	Filter *string
}

DatabaseAccountsListUsagesOptions contains the optional parameters for the DatabaseAccounts.ListUsages method.

type DatabaseAccountsListUsagesResponse

type DatabaseAccountsListUsagesResponse struct {
	DatabaseAccountsListUsagesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsListUsagesResponse contains the response from method DatabaseAccounts.ListUsages.

type DatabaseAccountsListUsagesResult

type DatabaseAccountsListUsagesResult struct {
	UsagesResult
}

DatabaseAccountsListUsagesResult contains the result from method DatabaseAccounts.ListUsages.

type DatabaseAccountsOfflineRegionPoller

type DatabaseAccountsOfflineRegionPoller struct {
	// contains filtered or unexported fields
}

DatabaseAccountsOfflineRegionPoller provides polling facilities until the operation reaches a terminal state.

func (*DatabaseAccountsOfflineRegionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DatabaseAccountsOfflineRegionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DatabaseAccountsOfflineRegionResponse will be returned.

func (*DatabaseAccountsOfflineRegionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DatabaseAccountsOfflineRegionPoller) ResumeToken

func (p *DatabaseAccountsOfflineRegionPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DatabaseAccountsOfflineRegionPollerResponse

type DatabaseAccountsOfflineRegionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DatabaseAccountsOfflineRegionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsOfflineRegionPollerResponse contains the response from method DatabaseAccounts.OfflineRegion.

func (DatabaseAccountsOfflineRegionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*DatabaseAccountsOfflineRegionPollerResponse) Resume

Resume rehydrates a DatabaseAccountsOfflineRegionPollerResponse from the provided client and resume token.

type DatabaseAccountsOfflineRegionResponse

type DatabaseAccountsOfflineRegionResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsOfflineRegionResponse contains the response from method DatabaseAccounts.OfflineRegion.

type DatabaseAccountsOnlineRegionPoller

type DatabaseAccountsOnlineRegionPoller struct {
	// contains filtered or unexported fields
}

DatabaseAccountsOnlineRegionPoller provides polling facilities until the operation reaches a terminal state.

func (*DatabaseAccountsOnlineRegionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DatabaseAccountsOnlineRegionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DatabaseAccountsOnlineRegionResponse will be returned.

func (*DatabaseAccountsOnlineRegionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DatabaseAccountsOnlineRegionPoller) ResumeToken

func (p *DatabaseAccountsOnlineRegionPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DatabaseAccountsOnlineRegionPollerResponse

type DatabaseAccountsOnlineRegionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DatabaseAccountsOnlineRegionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsOnlineRegionPollerResponse contains the response from method DatabaseAccounts.OnlineRegion.

func (DatabaseAccountsOnlineRegionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*DatabaseAccountsOnlineRegionPollerResponse) Resume

Resume rehydrates a DatabaseAccountsOnlineRegionPollerResponse from the provided client and resume token.

type DatabaseAccountsOnlineRegionResponse

type DatabaseAccountsOnlineRegionResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsOnlineRegionResponse contains the response from method DatabaseAccounts.OnlineRegion.

type DatabaseAccountsRegenerateKeyPoller

type DatabaseAccountsRegenerateKeyPoller struct {
	// contains filtered or unexported fields
}

DatabaseAccountsRegenerateKeyPoller provides polling facilities until the operation reaches a terminal state.

func (*DatabaseAccountsRegenerateKeyPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DatabaseAccountsRegenerateKeyPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DatabaseAccountsRegenerateKeyResponse will be returned.

func (*DatabaseAccountsRegenerateKeyPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DatabaseAccountsRegenerateKeyPoller) ResumeToken

func (p *DatabaseAccountsRegenerateKeyPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DatabaseAccountsRegenerateKeyPollerResponse

type DatabaseAccountsRegenerateKeyPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DatabaseAccountsRegenerateKeyPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsRegenerateKeyPollerResponse contains the response from method DatabaseAccounts.RegenerateKey.

func (DatabaseAccountsRegenerateKeyPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*DatabaseAccountsRegenerateKeyPollerResponse) Resume

Resume rehydrates a DatabaseAccountsRegenerateKeyPollerResponse from the provided client and resume token.

type DatabaseAccountsRegenerateKeyResponse

type DatabaseAccountsRegenerateKeyResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsRegenerateKeyResponse contains the response from method DatabaseAccounts.RegenerateKey.

type DatabaseAccountsUpdatePoller

type DatabaseAccountsUpdatePoller struct {
	// contains filtered or unexported fields
}

DatabaseAccountsUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*DatabaseAccountsUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*DatabaseAccountsUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final DatabaseAccountsUpdateResponse will be returned.

func (*DatabaseAccountsUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*DatabaseAccountsUpdatePoller) ResumeToken

func (p *DatabaseAccountsUpdatePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type DatabaseAccountsUpdatePollerResponse

type DatabaseAccountsUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *DatabaseAccountsUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsUpdatePollerResponse contains the response from method DatabaseAccounts.Update.

func (DatabaseAccountsUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*DatabaseAccountsUpdatePollerResponse) Resume

Resume rehydrates a DatabaseAccountsUpdatePollerResponse from the provided client and resume token.

type DatabaseAccountsUpdateResponse

type DatabaseAccountsUpdateResponse struct {
	DatabaseAccountsUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseAccountsUpdateResponse contains the response from method DatabaseAccounts.Update.

type DatabaseAccountsUpdateResult

type DatabaseAccountsUpdateResult struct {
	DatabaseAccountGetResults
}

DatabaseAccountsUpdateResult contains the result from method DatabaseAccounts.Update.

type DatabaseClient

type DatabaseClient struct {
	// contains filtered or unexported fields
}

DatabaseClient contains the methods for the Database group. Don't use this type directly, use NewDatabaseClient() instead.

func NewDatabaseClient

func NewDatabaseClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *DatabaseClient

NewDatabaseClient creates a new instance of DatabaseClient with the specified values.

func (*DatabaseClient) ListMetricDefinitions

func (client *DatabaseClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, options *DatabaseListMetricDefinitionsOptions) (DatabaseListMetricDefinitionsResponse, error)

ListMetricDefinitions - Retrieves metric definitions for the given database. If the operation fails it returns a generic error.

func (*DatabaseClient) ListMetrics

func (client *DatabaseClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string, options *DatabaseListMetricsOptions) (DatabaseListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given database account and database. If the operation fails it returns a generic error.

func (*DatabaseClient) ListUsages

func (client *DatabaseClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, options *DatabaseListUsagesOptions) (DatabaseListUsagesResponse, error)

ListUsages - Retrieves the usages (most recent data) for the given database. If the operation fails it returns a generic error.

type DatabaseListMetricDefinitionsOptions

type DatabaseListMetricDefinitionsOptions struct {
}

DatabaseListMetricDefinitionsOptions contains the optional parameters for the Database.ListMetricDefinitions method.

type DatabaseListMetricDefinitionsResponse

type DatabaseListMetricDefinitionsResponse struct {
	DatabaseListMetricDefinitionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseListMetricDefinitionsResponse contains the response from method Database.ListMetricDefinitions.

type DatabaseListMetricDefinitionsResult

type DatabaseListMetricDefinitionsResult struct {
	MetricDefinitionsListResult
}

DatabaseListMetricDefinitionsResult contains the result from method Database.ListMetricDefinitions.

type DatabaseListMetricsOptions

type DatabaseListMetricsOptions struct {
}

DatabaseListMetricsOptions contains the optional parameters for the Database.ListMetrics method.

type DatabaseListMetricsResponse

type DatabaseListMetricsResponse struct {
	DatabaseListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseListMetricsResponse contains the response from method Database.ListMetrics.

type DatabaseListMetricsResult

type DatabaseListMetricsResult struct {
	MetricListResult
}

DatabaseListMetricsResult contains the result from method Database.ListMetrics.

type DatabaseListUsagesOptions

type DatabaseListUsagesOptions struct {
	// An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of
	// multiple names).
	Filter *string
}

DatabaseListUsagesOptions contains the optional parameters for the Database.ListUsages method.

type DatabaseListUsagesResponse

type DatabaseListUsagesResponse struct {
	DatabaseListUsagesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

DatabaseListUsagesResponse contains the response from method Database.ListUsages.

type DatabaseListUsagesResult

type DatabaseListUsagesResult struct {
	UsagesResult
}

DatabaseListUsagesResult contains the result from method Database.ListUsages.

type DatabaseRestoreResource

type DatabaseRestoreResource struct {
	// The names of the collections available for restore.
	CollectionNames []*string `json:"collectionNames,omitempty"`

	// The name of the database available for restore.
	DatabaseName *string `json:"databaseName,omitempty"`
}

DatabaseRestoreResource - Specific Databases to restore.

func (DatabaseRestoreResource) MarshalJSON

func (d DatabaseRestoreResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type DatabaseRestoreResource.

type DefaultConsistencyLevel

type DefaultConsistencyLevel string

DefaultConsistencyLevel - The default consistency level and configuration settings of the Cosmos DB account.

const (
	DefaultConsistencyLevelEventual         DefaultConsistencyLevel = "Eventual"
	DefaultConsistencyLevelSession          DefaultConsistencyLevel = "Session"
	DefaultConsistencyLevelBoundedStaleness DefaultConsistencyLevel = "BoundedStaleness"
	DefaultConsistencyLevelStrong           DefaultConsistencyLevel = "Strong"
	DefaultConsistencyLevelConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix"
)

func PossibleDefaultConsistencyLevelValues

func PossibleDefaultConsistencyLevelValues() []DefaultConsistencyLevel

PossibleDefaultConsistencyLevelValues returns the possible values for the DefaultConsistencyLevel const type.

func (DefaultConsistencyLevel) ToPtr

ToPtr returns a *DefaultConsistencyLevel pointing to the current value.

type ErrorResponse

type ErrorResponse struct {

	// Error code.
	Code *string `json:"code,omitempty"`

	// Error message indicating why the operation failed.
	Message *string `json:"message,omitempty"`
	// contains filtered or unexported fields
}

ErrorResponse - Error Response. Implements the error and azcore.HTTPResponse interfaces.

func (ErrorResponse) Error

func (e ErrorResponse) Error() string

Error implements the error interface for type ErrorResponse. The contents of the error text are not contractual and subject to change.

type ExcludedPath

type ExcludedPath struct {
	// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
	Path *string `json:"path,omitempty"`
}

type ExtendedResourceProperties

type ExtendedResourceProperties struct {
	// READ-ONLY; A system generated property representing the resource etag required for optimistic concurrency control.
	Etag *string `json:"_etag,omitempty" azure:"ro"`

	// READ-ONLY; A system generated property. A unique identifier.
	Rid *string `json:"_rid,omitempty" azure:"ro"`

	// READ-ONLY; A system generated property that denotes the last updated timestamp of the resource.
	Ts *float32 `json:"_ts,omitempty" azure:"ro"`
}

ExtendedResourceProperties - The system generated resource properties associated with SQL databases, SQL containers, Gremlin databases and Gremlin graphs.

func (ExtendedResourceProperties) MarshalJSON

func (e ExtendedResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ExtendedResourceProperties.

type FailoverPolicies

type FailoverPolicies struct {
	// REQUIRED; List of failover policies.
	FailoverPolicies []*FailoverPolicy `json:"failoverPolicies,omitempty"`
}

FailoverPolicies - The list of new failover policies for the failover priority change.

func (FailoverPolicies) MarshalJSON

func (f FailoverPolicies) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type FailoverPolicies.

type FailoverPolicy

type FailoverPolicy struct {
	// The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of
	// regions - 1). Failover priority values must be
	// unique for each of the regions in which the database account exists.
	FailoverPriority *int32 `json:"failoverPriority,omitempty"`

	// The name of the region in which the database account exists.
	LocationName *string `json:"locationName,omitempty"`

	// READ-ONLY; The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>.
	ID *string `json:"id,omitempty" azure:"ro"`
}

FailoverPolicy - The failover policy for a given region of a database account.

type GremlinDatabaseCreateUpdateParameters

type GremlinDatabaseCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB Gremlin database.
	Properties *GremlinDatabaseCreateUpdateProperties `json:"properties,omitempty"`
}

GremlinDatabaseCreateUpdateParameters - Parameters to create and update Cosmos DB Gremlin database.

func (GremlinDatabaseCreateUpdateParameters) MarshalJSON

func (g GremlinDatabaseCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GremlinDatabaseCreateUpdateParameters.

type GremlinDatabaseCreateUpdateProperties

type GremlinDatabaseCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a Gremlin database
	Resource *GremlinDatabaseResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

GremlinDatabaseCreateUpdateProperties - Properties to create and update Azure Cosmos DB Gremlin database.

type GremlinDatabaseGetProperties

type GremlinDatabaseGetProperties struct {
	Options  *GremlinDatabaseGetPropertiesOptions  `json:"options,omitempty"`
	Resource *GremlinDatabaseGetPropertiesResource `json:"resource,omitempty"`
}

GremlinDatabaseGetProperties - The properties of an Azure Cosmos DB SQL database

type GremlinDatabaseGetPropertiesOptions

type GremlinDatabaseGetPropertiesOptions struct {
	OptionsResource
}

type GremlinDatabaseGetPropertiesResource

type GremlinDatabaseGetPropertiesResource struct {
	ExtendedResourceProperties
	GremlinDatabaseResource
}

type GremlinDatabaseGetResults

type GremlinDatabaseGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB SQL database
	Properties *GremlinDatabaseGetProperties `json:"properties,omitempty"`
}

GremlinDatabaseGetResults - An Azure Cosmos DB Gremlin database.

func (GremlinDatabaseGetResults) MarshalJSON

func (g GremlinDatabaseGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GremlinDatabaseGetResults.

type GremlinDatabaseListResult

type GremlinDatabaseListResult struct {
	// READ-ONLY; List of Gremlin databases and their properties.
	Value []*GremlinDatabaseGetResults `json:"value,omitempty" azure:"ro"`
}

GremlinDatabaseListResult - The List operation response, that contains the Gremlin databases and their properties.

func (GremlinDatabaseListResult) MarshalJSON

func (g GremlinDatabaseListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GremlinDatabaseListResult.

type GremlinDatabaseResource

type GremlinDatabaseResource struct {
	// REQUIRED; Name of the Cosmos DB Gremlin database
	ID *string `json:"id,omitempty"`
}

GremlinDatabaseResource - Cosmos DB Gremlin database resource object

func (GremlinDatabaseResource) MarshalJSON

func (g GremlinDatabaseResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GremlinDatabaseResource.

type GremlinGraphCreateUpdateParameters

type GremlinGraphCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB Gremlin graph.
	Properties *GremlinGraphCreateUpdateProperties `json:"properties,omitempty"`
}

GremlinGraphCreateUpdateParameters - Parameters to create and update Cosmos DB Gremlin graph.

func (GremlinGraphCreateUpdateParameters) MarshalJSON

func (g GremlinGraphCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GremlinGraphCreateUpdateParameters.

type GremlinGraphCreateUpdateProperties

type GremlinGraphCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a Gremlin graph
	Resource *GremlinGraphResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

GremlinGraphCreateUpdateProperties - Properties to create and update Azure Cosmos DB Gremlin graph.

type GremlinGraphGetProperties

type GremlinGraphGetProperties struct {
	Options  *GremlinGraphGetPropertiesOptions  `json:"options,omitempty"`
	Resource *GremlinGraphGetPropertiesResource `json:"resource,omitempty"`
}

GremlinGraphGetProperties - The properties of an Azure Cosmos DB Gremlin graph

type GremlinGraphGetPropertiesOptions

type GremlinGraphGetPropertiesOptions struct {
	OptionsResource
}

type GremlinGraphGetPropertiesResource

type GremlinGraphGetPropertiesResource struct {
	ExtendedResourceProperties
	GremlinGraphResource
}

type GremlinGraphGetResults

type GremlinGraphGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB Gremlin graph
	Properties *GremlinGraphGetProperties `json:"properties,omitempty"`
}

GremlinGraphGetResults - An Azure Cosmos DB Gremlin graph.

func (GremlinGraphGetResults) MarshalJSON

func (g GremlinGraphGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GremlinGraphGetResults.

type GremlinGraphListResult

type GremlinGraphListResult struct {
	// READ-ONLY; List of graphs and their properties.
	Value []*GremlinGraphGetResults `json:"value,omitempty" azure:"ro"`
}

GremlinGraphListResult - The List operation response, that contains the graphs and their properties.

func (GremlinGraphListResult) MarshalJSON

func (g GremlinGraphListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GremlinGraphListResult.

type GremlinGraphResource

type GremlinGraphResource struct {
	// REQUIRED; Name of the Cosmos DB Gremlin graph
	ID *string `json:"id,omitempty"`

	// The conflict resolution policy for the graph.
	ConflictResolutionPolicy *ConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"`

	// Default time to live
	DefaultTTL *int32 `json:"defaultTtl,omitempty"`

	// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
	IndexingPolicy *IndexingPolicy `json:"indexingPolicy,omitempty"`

	// The configuration of the partition key to be used for partitioning data into multiple partitions
	PartitionKey *ContainerPartitionKey `json:"partitionKey,omitempty"`

	// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
	UniqueKeyPolicy *UniqueKeyPolicy `json:"uniqueKeyPolicy,omitempty"`
}

GremlinGraphResource - Cosmos DB Gremlin graph resource object

func (GremlinGraphResource) MarshalJSON

func (g GremlinGraphResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type GremlinGraphResource.

type GremlinResourcesBeginCreateUpdateGremlinDatabaseOptions

type GremlinResourcesBeginCreateUpdateGremlinDatabaseOptions struct {
}

GremlinResourcesBeginCreateUpdateGremlinDatabaseOptions contains the optional parameters for the GremlinResources.BeginCreateUpdateGremlinDatabase method.

type GremlinResourcesBeginCreateUpdateGremlinGraphOptions

type GremlinResourcesBeginCreateUpdateGremlinGraphOptions struct {
}

GremlinResourcesBeginCreateUpdateGremlinGraphOptions contains the optional parameters for the GremlinResources.BeginCreateUpdateGremlinGraph method.

type GremlinResourcesBeginDeleteGremlinDatabaseOptions

type GremlinResourcesBeginDeleteGremlinDatabaseOptions struct {
}

GremlinResourcesBeginDeleteGremlinDatabaseOptions contains the optional parameters for the GremlinResources.BeginDeleteGremlinDatabase method.

type GremlinResourcesBeginDeleteGremlinGraphOptions

type GremlinResourcesBeginDeleteGremlinGraphOptions struct {
}

GremlinResourcesBeginDeleteGremlinGraphOptions contains the optional parameters for the GremlinResources.BeginDeleteGremlinGraph method.

type GremlinResourcesBeginMigrateGremlinDatabaseToAutoscaleOptions

type GremlinResourcesBeginMigrateGremlinDatabaseToAutoscaleOptions struct {
}

GremlinResourcesBeginMigrateGremlinDatabaseToAutoscaleOptions contains the optional parameters for the GremlinResources.BeginMigrateGremlinDatabaseToAutoscale method.

type GremlinResourcesBeginMigrateGremlinDatabaseToManualThroughputOptions

type GremlinResourcesBeginMigrateGremlinDatabaseToManualThroughputOptions struct {
}

GremlinResourcesBeginMigrateGremlinDatabaseToManualThroughputOptions contains the optional parameters for the GremlinResources.BeginMigrateGremlinDatabaseToManualThroughput method.

type GremlinResourcesBeginMigrateGremlinGraphToAutoscaleOptions

type GremlinResourcesBeginMigrateGremlinGraphToAutoscaleOptions struct {
}

GremlinResourcesBeginMigrateGremlinGraphToAutoscaleOptions contains the optional parameters for the GremlinResources.BeginMigrateGremlinGraphToAutoscale method.

type GremlinResourcesBeginMigrateGremlinGraphToManualThroughputOptions

type GremlinResourcesBeginMigrateGremlinGraphToManualThroughputOptions struct {
}

GremlinResourcesBeginMigrateGremlinGraphToManualThroughputOptions contains the optional parameters for the GremlinResources.BeginMigrateGremlinGraphToManualThroughput method.

type GremlinResourcesBeginUpdateGremlinDatabaseThroughputOptions

type GremlinResourcesBeginUpdateGremlinDatabaseThroughputOptions struct {
}

GremlinResourcesBeginUpdateGremlinDatabaseThroughputOptions contains the optional parameters for the GremlinResources.BeginUpdateGremlinDatabaseThroughput method.

type GremlinResourcesBeginUpdateGremlinGraphThroughputOptions

type GremlinResourcesBeginUpdateGremlinGraphThroughputOptions struct {
}

GremlinResourcesBeginUpdateGremlinGraphThroughputOptions contains the optional parameters for the GremlinResources.BeginUpdateGremlinGraphThroughput method.

type GremlinResourcesClient

type GremlinResourcesClient struct {
	// contains filtered or unexported fields
}

GremlinResourcesClient contains the methods for the GremlinResources group. Don't use this type directly, use NewGremlinResourcesClient() instead.

func NewGremlinResourcesClient

func NewGremlinResourcesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *GremlinResourcesClient

NewGremlinResourcesClient creates a new instance of GremlinResourcesClient with the specified values.

func (*GremlinResourcesClient) BeginCreateUpdateGremlinDatabase

func (client *GremlinResourcesClient) BeginCreateUpdateGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateGremlinDatabaseParameters GremlinDatabaseCreateUpdateParameters, options *GremlinResourcesBeginCreateUpdateGremlinDatabaseOptions) (GremlinResourcesCreateUpdateGremlinDatabasePollerResponse, error)

BeginCreateUpdateGremlinDatabase - Create or update an Azure Cosmos DB Gremlin database If the operation fails it returns a generic error.

func (*GremlinResourcesClient) BeginCreateUpdateGremlinGraph

func (client *GremlinResourcesClient) BeginCreateUpdateGremlinGraph(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, createUpdateGremlinGraphParameters GremlinGraphCreateUpdateParameters, options *GremlinResourcesBeginCreateUpdateGremlinGraphOptions) (GremlinResourcesCreateUpdateGremlinGraphPollerResponse, error)

BeginCreateUpdateGremlinGraph - Create or update an Azure Cosmos DB Gremlin graph If the operation fails it returns a generic error.

func (*GremlinResourcesClient) BeginDeleteGremlinDatabase

func (client *GremlinResourcesClient) BeginDeleteGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *GremlinResourcesBeginDeleteGremlinDatabaseOptions) (GremlinResourcesDeleteGremlinDatabasePollerResponse, error)

BeginDeleteGremlinDatabase - Deletes an existing Azure Cosmos DB Gremlin database. If the operation fails it returns a generic error.

func (*GremlinResourcesClient) BeginDeleteGremlinGraph

func (client *GremlinResourcesClient) BeginDeleteGremlinGraph(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *GremlinResourcesBeginDeleteGremlinGraphOptions) (GremlinResourcesDeleteGremlinGraphPollerResponse, error)

BeginDeleteGremlinGraph - Deletes an existing Azure Cosmos DB Gremlin graph. If the operation fails it returns a generic error.

func (*GremlinResourcesClient) BeginMigrateGremlinDatabaseToAutoscale

func (client *GremlinResourcesClient) BeginMigrateGremlinDatabaseToAutoscale(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *GremlinResourcesBeginMigrateGremlinDatabaseToAutoscaleOptions) (GremlinResourcesMigrateGremlinDatabaseToAutoscalePollerResponse, error)

BeginMigrateGremlinDatabaseToAutoscale - Migrate an Azure Cosmos DB Gremlin database from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*GremlinResourcesClient) BeginMigrateGremlinDatabaseToManualThroughput

func (client *GremlinResourcesClient) BeginMigrateGremlinDatabaseToManualThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *GremlinResourcesBeginMigrateGremlinDatabaseToManualThroughputOptions) (GremlinResourcesMigrateGremlinDatabaseToManualThroughputPollerResponse, error)

BeginMigrateGremlinDatabaseToManualThroughput - Migrate an Azure Cosmos DB Gremlin database from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*GremlinResourcesClient) BeginMigrateGremlinGraphToAutoscale

func (client *GremlinResourcesClient) BeginMigrateGremlinGraphToAutoscale(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *GremlinResourcesBeginMigrateGremlinGraphToAutoscaleOptions) (GremlinResourcesMigrateGremlinGraphToAutoscalePollerResponse, error)

BeginMigrateGremlinGraphToAutoscale - Migrate an Azure Cosmos DB Gremlin graph from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*GremlinResourcesClient) BeginMigrateGremlinGraphToManualThroughput

func (client *GremlinResourcesClient) BeginMigrateGremlinGraphToManualThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *GremlinResourcesBeginMigrateGremlinGraphToManualThroughputOptions) (GremlinResourcesMigrateGremlinGraphToManualThroughputPollerResponse, error)

BeginMigrateGremlinGraphToManualThroughput - Migrate an Azure Cosmos DB Gremlin graph from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*GremlinResourcesClient) BeginUpdateGremlinDatabaseThroughput

func (client *GremlinResourcesClient) BeginUpdateGremlinDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *GremlinResourcesBeginUpdateGremlinDatabaseThroughputOptions) (GremlinResourcesUpdateGremlinDatabaseThroughputPollerResponse, error)

BeginUpdateGremlinDatabaseThroughput - Update RUs per second of an Azure Cosmos DB Gremlin database If the operation fails it returns a generic error.

func (*GremlinResourcesClient) BeginUpdateGremlinGraphThroughput

func (client *GremlinResourcesClient) BeginUpdateGremlinGraphThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *GremlinResourcesBeginUpdateGremlinGraphThroughputOptions) (GremlinResourcesUpdateGremlinGraphThroughputPollerResponse, error)

BeginUpdateGremlinGraphThroughput - Update RUs per second of an Azure Cosmos DB Gremlin graph If the operation fails it returns a generic error.

func (*GremlinResourcesClient) GetGremlinDatabase

func (client *GremlinResourcesClient) GetGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *GremlinResourcesGetGremlinDatabaseOptions) (GremlinResourcesGetGremlinDatabaseResponse, error)

GetGremlinDatabase - Gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*GremlinResourcesClient) GetGremlinDatabaseThroughput

func (client *GremlinResourcesClient) GetGremlinDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *GremlinResourcesGetGremlinDatabaseThroughputOptions) (GremlinResourcesGetGremlinDatabaseThroughputResponse, error)

GetGremlinDatabaseThroughput - Gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*GremlinResourcesClient) GetGremlinGraph

func (client *GremlinResourcesClient) GetGremlinGraph(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *GremlinResourcesGetGremlinGraphOptions) (GremlinResourcesGetGremlinGraphResponse, error)

GetGremlinGraph - Gets the Gremlin graph under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*GremlinResourcesClient) GetGremlinGraphThroughput

func (client *GremlinResourcesClient) GetGremlinGraphThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, options *GremlinResourcesGetGremlinGraphThroughputOptions) (GremlinResourcesGetGremlinGraphThroughputResponse, error)

GetGremlinGraphThroughput - Gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*GremlinResourcesClient) ListGremlinDatabases

func (client *GremlinResourcesClient) ListGremlinDatabases(ctx context.Context, resourceGroupName string, accountName string, options *GremlinResourcesListGremlinDatabasesOptions) (GremlinResourcesListGremlinDatabasesResponse, error)

ListGremlinDatabases - Lists the Gremlin databases under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*GremlinResourcesClient) ListGremlinGraphs

func (client *GremlinResourcesClient) ListGremlinGraphs(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *GremlinResourcesListGremlinGraphsOptions) (GremlinResourcesListGremlinGraphsResponse, error)

ListGremlinGraphs - Lists the Gremlin graph under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

type GremlinResourcesCreateUpdateGremlinDatabasePoller

type GremlinResourcesCreateUpdateGremlinDatabasePoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesCreateUpdateGremlinDatabasePoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesCreateUpdateGremlinDatabasePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesCreateUpdateGremlinDatabasePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesCreateUpdateGremlinDatabaseResponse will be returned.

func (*GremlinResourcesCreateUpdateGremlinDatabasePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesCreateUpdateGremlinDatabasePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesCreateUpdateGremlinDatabasePollerResponse

type GremlinResourcesCreateUpdateGremlinDatabasePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesCreateUpdateGremlinDatabasePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesCreateUpdateGremlinDatabasePollerResponse contains the response from method GremlinResources.CreateUpdateGremlinDatabase.

func (GremlinResourcesCreateUpdateGremlinDatabasePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesCreateUpdateGremlinDatabasePollerResponse) Resume

Resume rehydrates a GremlinResourcesCreateUpdateGremlinDatabasePollerResponse from the provided client and resume token.

type GremlinResourcesCreateUpdateGremlinDatabaseResponse

type GremlinResourcesCreateUpdateGremlinDatabaseResponse struct {
	GremlinResourcesCreateUpdateGremlinDatabaseResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesCreateUpdateGremlinDatabaseResponse contains the response from method GremlinResources.CreateUpdateGremlinDatabase.

type GremlinResourcesCreateUpdateGremlinDatabaseResult

type GremlinResourcesCreateUpdateGremlinDatabaseResult struct {
	GremlinDatabaseGetResults
}

GremlinResourcesCreateUpdateGremlinDatabaseResult contains the result from method GremlinResources.CreateUpdateGremlinDatabase.

type GremlinResourcesCreateUpdateGremlinGraphPoller

type GremlinResourcesCreateUpdateGremlinGraphPoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesCreateUpdateGremlinGraphPoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesCreateUpdateGremlinGraphPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesCreateUpdateGremlinGraphPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesCreateUpdateGremlinGraphResponse will be returned.

func (*GremlinResourcesCreateUpdateGremlinGraphPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesCreateUpdateGremlinGraphPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesCreateUpdateGremlinGraphPollerResponse

type GremlinResourcesCreateUpdateGremlinGraphPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesCreateUpdateGremlinGraphPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesCreateUpdateGremlinGraphPollerResponse contains the response from method GremlinResources.CreateUpdateGremlinGraph.

func (GremlinResourcesCreateUpdateGremlinGraphPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesCreateUpdateGremlinGraphPollerResponse) Resume

Resume rehydrates a GremlinResourcesCreateUpdateGremlinGraphPollerResponse from the provided client and resume token.

type GremlinResourcesCreateUpdateGremlinGraphResponse

type GremlinResourcesCreateUpdateGremlinGraphResponse struct {
	GremlinResourcesCreateUpdateGremlinGraphResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesCreateUpdateGremlinGraphResponse contains the response from method GremlinResources.CreateUpdateGremlinGraph.

type GremlinResourcesCreateUpdateGremlinGraphResult

type GremlinResourcesCreateUpdateGremlinGraphResult struct {
	GremlinGraphGetResults
}

GremlinResourcesCreateUpdateGremlinGraphResult contains the result from method GremlinResources.CreateUpdateGremlinGraph.

type GremlinResourcesDeleteGremlinDatabasePoller

type GremlinResourcesDeleteGremlinDatabasePoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesDeleteGremlinDatabasePoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesDeleteGremlinDatabasePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesDeleteGremlinDatabasePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesDeleteGremlinDatabaseResponse will be returned.

func (*GremlinResourcesDeleteGremlinDatabasePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesDeleteGremlinDatabasePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesDeleteGremlinDatabasePollerResponse

type GremlinResourcesDeleteGremlinDatabasePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesDeleteGremlinDatabasePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesDeleteGremlinDatabasePollerResponse contains the response from method GremlinResources.DeleteGremlinDatabase.

func (GremlinResourcesDeleteGremlinDatabasePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesDeleteGremlinDatabasePollerResponse) Resume

Resume rehydrates a GremlinResourcesDeleteGremlinDatabasePollerResponse from the provided client and resume token.

type GremlinResourcesDeleteGremlinDatabaseResponse

type GremlinResourcesDeleteGremlinDatabaseResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesDeleteGremlinDatabaseResponse contains the response from method GremlinResources.DeleteGremlinDatabase.

type GremlinResourcesDeleteGremlinGraphPoller

type GremlinResourcesDeleteGremlinGraphPoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesDeleteGremlinGraphPoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesDeleteGremlinGraphPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesDeleteGremlinGraphPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesDeleteGremlinGraphResponse will be returned.

func (*GremlinResourcesDeleteGremlinGraphPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesDeleteGremlinGraphPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesDeleteGremlinGraphPollerResponse

type GremlinResourcesDeleteGremlinGraphPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesDeleteGremlinGraphPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesDeleteGremlinGraphPollerResponse contains the response from method GremlinResources.DeleteGremlinGraph.

func (GremlinResourcesDeleteGremlinGraphPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesDeleteGremlinGraphPollerResponse) Resume

Resume rehydrates a GremlinResourcesDeleteGremlinGraphPollerResponse from the provided client and resume token.

type GremlinResourcesDeleteGremlinGraphResponse

type GremlinResourcesDeleteGremlinGraphResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesDeleteGremlinGraphResponse contains the response from method GremlinResources.DeleteGremlinGraph.

type GremlinResourcesGetGremlinDatabaseOptions

type GremlinResourcesGetGremlinDatabaseOptions struct {
}

GremlinResourcesGetGremlinDatabaseOptions contains the optional parameters for the GremlinResources.GetGremlinDatabase method.

type GremlinResourcesGetGremlinDatabaseResponse

type GremlinResourcesGetGremlinDatabaseResponse struct {
	GremlinResourcesGetGremlinDatabaseResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesGetGremlinDatabaseResponse contains the response from method GremlinResources.GetGremlinDatabase.

type GremlinResourcesGetGremlinDatabaseResult

type GremlinResourcesGetGremlinDatabaseResult struct {
	GremlinDatabaseGetResults
}

GremlinResourcesGetGremlinDatabaseResult contains the result from method GremlinResources.GetGremlinDatabase.

type GremlinResourcesGetGremlinDatabaseThroughputOptions

type GremlinResourcesGetGremlinDatabaseThroughputOptions struct {
}

GremlinResourcesGetGremlinDatabaseThroughputOptions contains the optional parameters for the GremlinResources.GetGremlinDatabaseThroughput method.

type GremlinResourcesGetGremlinDatabaseThroughputResponse

type GremlinResourcesGetGremlinDatabaseThroughputResponse struct {
	GremlinResourcesGetGremlinDatabaseThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesGetGremlinDatabaseThroughputResponse contains the response from method GremlinResources.GetGremlinDatabaseThroughput.

type GremlinResourcesGetGremlinDatabaseThroughputResult

type GremlinResourcesGetGremlinDatabaseThroughputResult struct {
	ThroughputSettingsGetResults
}

GremlinResourcesGetGremlinDatabaseThroughputResult contains the result from method GremlinResources.GetGremlinDatabaseThroughput.

type GremlinResourcesGetGremlinGraphOptions

type GremlinResourcesGetGremlinGraphOptions struct {
}

GremlinResourcesGetGremlinGraphOptions contains the optional parameters for the GremlinResources.GetGremlinGraph method.

type GremlinResourcesGetGremlinGraphResponse

type GremlinResourcesGetGremlinGraphResponse struct {
	GremlinResourcesGetGremlinGraphResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesGetGremlinGraphResponse contains the response from method GremlinResources.GetGremlinGraph.

type GremlinResourcesGetGremlinGraphResult

type GremlinResourcesGetGremlinGraphResult struct {
	GremlinGraphGetResults
}

GremlinResourcesGetGremlinGraphResult contains the result from method GremlinResources.GetGremlinGraph.

type GremlinResourcesGetGremlinGraphThroughputOptions

type GremlinResourcesGetGremlinGraphThroughputOptions struct {
}

GremlinResourcesGetGremlinGraphThroughputOptions contains the optional parameters for the GremlinResources.GetGremlinGraphThroughput method.

type GremlinResourcesGetGremlinGraphThroughputResponse

type GremlinResourcesGetGremlinGraphThroughputResponse struct {
	GremlinResourcesGetGremlinGraphThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesGetGremlinGraphThroughputResponse contains the response from method GremlinResources.GetGremlinGraphThroughput.

type GremlinResourcesGetGremlinGraphThroughputResult

type GremlinResourcesGetGremlinGraphThroughputResult struct {
	ThroughputSettingsGetResults
}

GremlinResourcesGetGremlinGraphThroughputResult contains the result from method GremlinResources.GetGremlinGraphThroughput.

type GremlinResourcesListGremlinDatabasesOptions

type GremlinResourcesListGremlinDatabasesOptions struct {
}

GremlinResourcesListGremlinDatabasesOptions contains the optional parameters for the GremlinResources.ListGremlinDatabases method.

type GremlinResourcesListGremlinDatabasesResponse

type GremlinResourcesListGremlinDatabasesResponse struct {
	GremlinResourcesListGremlinDatabasesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesListGremlinDatabasesResponse contains the response from method GremlinResources.ListGremlinDatabases.

type GremlinResourcesListGremlinDatabasesResult

type GremlinResourcesListGremlinDatabasesResult struct {
	GremlinDatabaseListResult
}

GremlinResourcesListGremlinDatabasesResult contains the result from method GremlinResources.ListGremlinDatabases.

type GremlinResourcesListGremlinGraphsOptions

type GremlinResourcesListGremlinGraphsOptions struct {
}

GremlinResourcesListGremlinGraphsOptions contains the optional parameters for the GremlinResources.ListGremlinGraphs method.

type GremlinResourcesListGremlinGraphsResponse

type GremlinResourcesListGremlinGraphsResponse struct {
	GremlinResourcesListGremlinGraphsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesListGremlinGraphsResponse contains the response from method GremlinResources.ListGremlinGraphs.

type GremlinResourcesListGremlinGraphsResult

type GremlinResourcesListGremlinGraphsResult struct {
	GremlinGraphListResult
}

GremlinResourcesListGremlinGraphsResult contains the result from method GremlinResources.ListGremlinGraphs.

type GremlinResourcesMigrateGremlinDatabaseToAutoscalePoller

type GremlinResourcesMigrateGremlinDatabaseToAutoscalePoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesMigrateGremlinDatabaseToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesMigrateGremlinDatabaseToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesMigrateGremlinDatabaseToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesMigrateGremlinDatabaseToAutoscaleResponse will be returned.

func (*GremlinResourcesMigrateGremlinDatabaseToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesMigrateGremlinDatabaseToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesMigrateGremlinDatabaseToAutoscalePollerResponse

type GremlinResourcesMigrateGremlinDatabaseToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesMigrateGremlinDatabaseToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesMigrateGremlinDatabaseToAutoscalePollerResponse contains the response from method GremlinResources.MigrateGremlinDatabaseToAutoscale.

func (GremlinResourcesMigrateGremlinDatabaseToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesMigrateGremlinDatabaseToAutoscalePollerResponse) Resume

Resume rehydrates a GremlinResourcesMigrateGremlinDatabaseToAutoscalePollerResponse from the provided client and resume token.

type GremlinResourcesMigrateGremlinDatabaseToAutoscaleResponse

type GremlinResourcesMigrateGremlinDatabaseToAutoscaleResponse struct {
	GremlinResourcesMigrateGremlinDatabaseToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesMigrateGremlinDatabaseToAutoscaleResponse contains the response from method GremlinResources.MigrateGremlinDatabaseToAutoscale.

type GremlinResourcesMigrateGremlinDatabaseToAutoscaleResult

type GremlinResourcesMigrateGremlinDatabaseToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

GremlinResourcesMigrateGremlinDatabaseToAutoscaleResult contains the result from method GremlinResources.MigrateGremlinDatabaseToAutoscale.

type GremlinResourcesMigrateGremlinDatabaseToManualThroughputPoller

type GremlinResourcesMigrateGremlinDatabaseToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesMigrateGremlinDatabaseToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesMigrateGremlinDatabaseToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesMigrateGremlinDatabaseToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesMigrateGremlinDatabaseToManualThroughputResponse will be returned.

func (*GremlinResourcesMigrateGremlinDatabaseToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesMigrateGremlinDatabaseToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesMigrateGremlinDatabaseToManualThroughputPollerResponse

type GremlinResourcesMigrateGremlinDatabaseToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesMigrateGremlinDatabaseToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesMigrateGremlinDatabaseToManualThroughputPollerResponse contains the response from method GremlinResources.MigrateGremlinDatabaseToManualThroughput.

func (GremlinResourcesMigrateGremlinDatabaseToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesMigrateGremlinDatabaseToManualThroughputPollerResponse) Resume

Resume rehydrates a GremlinResourcesMigrateGremlinDatabaseToManualThroughputPollerResponse from the provided client and resume token.

type GremlinResourcesMigrateGremlinDatabaseToManualThroughputResponse

type GremlinResourcesMigrateGremlinDatabaseToManualThroughputResponse struct {
	GremlinResourcesMigrateGremlinDatabaseToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesMigrateGremlinDatabaseToManualThroughputResponse contains the response from method GremlinResources.MigrateGremlinDatabaseToManualThroughput.

type GremlinResourcesMigrateGremlinDatabaseToManualThroughputResult

type GremlinResourcesMigrateGremlinDatabaseToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

GremlinResourcesMigrateGremlinDatabaseToManualThroughputResult contains the result from method GremlinResources.MigrateGremlinDatabaseToManualThroughput.

type GremlinResourcesMigrateGremlinGraphToAutoscalePoller

type GremlinResourcesMigrateGremlinGraphToAutoscalePoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesMigrateGremlinGraphToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesMigrateGremlinGraphToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesMigrateGremlinGraphToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesMigrateGremlinGraphToAutoscaleResponse will be returned.

func (*GremlinResourcesMigrateGremlinGraphToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesMigrateGremlinGraphToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesMigrateGremlinGraphToAutoscalePollerResponse

type GremlinResourcesMigrateGremlinGraphToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesMigrateGremlinGraphToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesMigrateGremlinGraphToAutoscalePollerResponse contains the response from method GremlinResources.MigrateGremlinGraphToAutoscale.

func (GremlinResourcesMigrateGremlinGraphToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesMigrateGremlinGraphToAutoscalePollerResponse) Resume

Resume rehydrates a GremlinResourcesMigrateGremlinGraphToAutoscalePollerResponse from the provided client and resume token.

type GremlinResourcesMigrateGremlinGraphToAutoscaleResponse

type GremlinResourcesMigrateGremlinGraphToAutoscaleResponse struct {
	GremlinResourcesMigrateGremlinGraphToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesMigrateGremlinGraphToAutoscaleResponse contains the response from method GremlinResources.MigrateGremlinGraphToAutoscale.

type GremlinResourcesMigrateGremlinGraphToAutoscaleResult

type GremlinResourcesMigrateGremlinGraphToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

GremlinResourcesMigrateGremlinGraphToAutoscaleResult contains the result from method GremlinResources.MigrateGremlinGraphToAutoscale.

type GremlinResourcesMigrateGremlinGraphToManualThroughputPoller

type GremlinResourcesMigrateGremlinGraphToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesMigrateGremlinGraphToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesMigrateGremlinGraphToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesMigrateGremlinGraphToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesMigrateGremlinGraphToManualThroughputResponse will be returned.

func (*GremlinResourcesMigrateGremlinGraphToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesMigrateGremlinGraphToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesMigrateGremlinGraphToManualThroughputPollerResponse

type GremlinResourcesMigrateGremlinGraphToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesMigrateGremlinGraphToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesMigrateGremlinGraphToManualThroughputPollerResponse contains the response from method GremlinResources.MigrateGremlinGraphToManualThroughput.

func (GremlinResourcesMigrateGremlinGraphToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesMigrateGremlinGraphToManualThroughputPollerResponse) Resume

Resume rehydrates a GremlinResourcesMigrateGremlinGraphToManualThroughputPollerResponse from the provided client and resume token.

type GremlinResourcesMigrateGremlinGraphToManualThroughputResponse

type GremlinResourcesMigrateGremlinGraphToManualThroughputResponse struct {
	GremlinResourcesMigrateGremlinGraphToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesMigrateGremlinGraphToManualThroughputResponse contains the response from method GremlinResources.MigrateGremlinGraphToManualThroughput.

type GremlinResourcesMigrateGremlinGraphToManualThroughputResult

type GremlinResourcesMigrateGremlinGraphToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

GremlinResourcesMigrateGremlinGraphToManualThroughputResult contains the result from method GremlinResources.MigrateGremlinGraphToManualThroughput.

type GremlinResourcesUpdateGremlinDatabaseThroughputPoller

type GremlinResourcesUpdateGremlinDatabaseThroughputPoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesUpdateGremlinDatabaseThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesUpdateGremlinDatabaseThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesUpdateGremlinDatabaseThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesUpdateGremlinDatabaseThroughputResponse will be returned.

func (*GremlinResourcesUpdateGremlinDatabaseThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesUpdateGremlinDatabaseThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesUpdateGremlinDatabaseThroughputPollerResponse

type GremlinResourcesUpdateGremlinDatabaseThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesUpdateGremlinDatabaseThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesUpdateGremlinDatabaseThroughputPollerResponse contains the response from method GremlinResources.UpdateGremlinDatabaseThroughput.

func (GremlinResourcesUpdateGremlinDatabaseThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesUpdateGremlinDatabaseThroughputPollerResponse) Resume

Resume rehydrates a GremlinResourcesUpdateGremlinDatabaseThroughputPollerResponse from the provided client and resume token.

type GremlinResourcesUpdateGremlinDatabaseThroughputResponse

type GremlinResourcesUpdateGremlinDatabaseThroughputResponse struct {
	GremlinResourcesUpdateGremlinDatabaseThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesUpdateGremlinDatabaseThroughputResponse contains the response from method GremlinResources.UpdateGremlinDatabaseThroughput.

type GremlinResourcesUpdateGremlinDatabaseThroughputResult

type GremlinResourcesUpdateGremlinDatabaseThroughputResult struct {
	ThroughputSettingsGetResults
}

GremlinResourcesUpdateGremlinDatabaseThroughputResult contains the result from method GremlinResources.UpdateGremlinDatabaseThroughput.

type GremlinResourcesUpdateGremlinGraphThroughputPoller

type GremlinResourcesUpdateGremlinGraphThroughputPoller struct {
	// contains filtered or unexported fields
}

GremlinResourcesUpdateGremlinGraphThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*GremlinResourcesUpdateGremlinGraphThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*GremlinResourcesUpdateGremlinGraphThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final GremlinResourcesUpdateGremlinGraphThroughputResponse will be returned.

func (*GremlinResourcesUpdateGremlinGraphThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*GremlinResourcesUpdateGremlinGraphThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type GremlinResourcesUpdateGremlinGraphThroughputPollerResponse

type GremlinResourcesUpdateGremlinGraphThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *GremlinResourcesUpdateGremlinGraphThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesUpdateGremlinGraphThroughputPollerResponse contains the response from method GremlinResources.UpdateGremlinGraphThroughput.

func (GremlinResourcesUpdateGremlinGraphThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*GremlinResourcesUpdateGremlinGraphThroughputPollerResponse) Resume

Resume rehydrates a GremlinResourcesUpdateGremlinGraphThroughputPollerResponse from the provided client and resume token.

type GremlinResourcesUpdateGremlinGraphThroughputResponse

type GremlinResourcesUpdateGremlinGraphThroughputResponse struct {
	GremlinResourcesUpdateGremlinGraphThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

GremlinResourcesUpdateGremlinGraphThroughputResponse contains the response from method GremlinResources.UpdateGremlinGraphThroughput.

type GremlinResourcesUpdateGremlinGraphThroughputResult

type GremlinResourcesUpdateGremlinGraphThroughputResult struct {
	ThroughputSettingsGetResults
}

GremlinResourcesUpdateGremlinGraphThroughputResult contains the result from method GremlinResources.UpdateGremlinGraphThroughput.

type IPAddressOrRange

type IPAddressOrRange struct {
	// A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following
	// ranges: 10.0.0.0/8, 100.64.0.0/10,
	// 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”.
	IPAddressOrRange *string `json:"ipAddressOrRange,omitempty"`
}

IPAddressOrRange - IpAddressOrRange object

type IncludedPath

type IncludedPath struct {
	// List of indexes for this path
	Indexes []*Indexes `json:"indexes,omitempty"`

	// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
	Path *string `json:"path,omitempty"`
}

IncludedPath - The paths that are included in indexing

func (IncludedPath) MarshalJSON

func (i IncludedPath) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IncludedPath.

type IndexKind

type IndexKind string

IndexKind - Indicates the type of index.

const (
	IndexKindHash    IndexKind = "Hash"
	IndexKindRange   IndexKind = "Range"
	IndexKindSpatial IndexKind = "Spatial"
)

func PossibleIndexKindValues

func PossibleIndexKindValues() []IndexKind

PossibleIndexKindValues returns the possible values for the IndexKind const type.

func (IndexKind) ToPtr

func (c IndexKind) ToPtr() *IndexKind

ToPtr returns a *IndexKind pointing to the current value.

type Indexes

type Indexes struct {
	// The datatype for which the indexing behavior is applied to.
	DataType *DataType `json:"dataType,omitempty"`

	// Indicates the type of index.
	Kind *IndexKind `json:"kind,omitempty"`

	// The precision of the index. -1 is maximum precision.
	Precision *int32 `json:"precision,omitempty"`
}

Indexes - The indexes for the path.

type IndexingMode

type IndexingMode string

IndexingMode - Indicates the indexing mode.

const (
	IndexingModeConsistent IndexingMode = "consistent"
	IndexingModeLazy       IndexingMode = "lazy"
	IndexingModeNone       IndexingMode = "none"
)

func PossibleIndexingModeValues

func PossibleIndexingModeValues() []IndexingMode

PossibleIndexingModeValues returns the possible values for the IndexingMode const type.

func (IndexingMode) ToPtr

func (c IndexingMode) ToPtr() *IndexingMode

ToPtr returns a *IndexingMode pointing to the current value.

type IndexingPolicy

type IndexingPolicy struct {
	// Indicates if the indexing policy is automatic
	Automatic *bool `json:"automatic,omitempty"`

	// List of composite path list
	CompositeIndexes [][]*CompositePath `json:"compositeIndexes,omitempty"`

	// List of paths to exclude from indexing
	ExcludedPaths []*ExcludedPath `json:"excludedPaths,omitempty"`

	// List of paths to include in the indexing
	IncludedPaths []*IncludedPath `json:"includedPaths,omitempty"`

	// Indicates the indexing mode.
	IndexingMode *IndexingMode `json:"indexingMode,omitempty"`

	// List of spatial specifics
	SpatialIndexes []*SpatialSpec `json:"spatialIndexes,omitempty"`
}

IndexingPolicy - Cosmos DB indexing policy

func (IndexingPolicy) MarshalJSON

func (i IndexingPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type IndexingPolicy.

type KeyKind

type KeyKind string

KeyKind - The access key to regenerate.

const (
	KeyKindPrimary           KeyKind = "primary"
	KeyKindPrimaryReadonly   KeyKind = "primaryReadonly"
	KeyKindSecondary         KeyKind = "secondary"
	KeyKindSecondaryReadonly KeyKind = "secondaryReadonly"
)

func PossibleKeyKindValues

func PossibleKeyKindValues() []KeyKind

PossibleKeyKindValues returns the possible values for the KeyKind const type.

func (KeyKind) ToPtr

func (c KeyKind) ToPtr() *KeyKind

ToPtr returns a *KeyKind pointing to the current value.

type ListClusters

type ListClusters struct {
	// Container for the array of clusters.
	Value []*ClusterResource `json:"value,omitempty"`
}

ListClusters - List of managed Cassandra clusters.

func (ListClusters) MarshalJSON

func (l ListClusters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListClusters.

type ListDataCenters

type ListDataCenters struct {
	// READ-ONLY; Container for array of data centers.
	Value []*DataCenterResource `json:"value,omitempty" azure:"ro"`
}

ListDataCenters - List of managed Cassandra data centers and their properties.

func (ListDataCenters) MarshalJSON

func (l ListDataCenters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ListDataCenters.

type Location

type Location struct {
	// The failover priority of the region. A failover priority of 0 indicates a write region. The maximum value for a failover priority = (total number of
	// regions - 1). Failover priority values must be
	// unique for each of the regions in which the database account exists.
	FailoverPriority *int32 `json:"failoverPriority,omitempty"`

	// Flag to indicate whether or not this region is an AvailabilityZone region
	IsZoneRedundant *bool `json:"isZoneRedundant,omitempty"`

	// The name of the region.
	LocationName *string `json:"locationName,omitempty"`

	// READ-ONLY; The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
	DocumentEndpoint *string `json:"documentEndpoint,omitempty" azure:"ro"`

	// READ-ONLY; The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account
	// is being created. When an account is in Creating state,
	// only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for
	// use. 'Updating' – the Cosmos DB account is being
	// updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account
	// deletion failed.
	ProvisioningState *string `json:"provisioningState,omitempty" azure:"ro"`
}

Location - A region in which the Azure Cosmos DB database account is deployed.

type LocationGetResult

type LocationGetResult struct {
	ARMProxyResource
	// Cosmos DB location metadata
	Properties *LocationProperties `json:"properties,omitempty"`
}

LocationGetResult - Cosmos DB location get result

func (LocationGetResult) MarshalJSON

func (l LocationGetResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LocationGetResult.

type LocationListResult

type LocationListResult struct {
	// READ-ONLY; List of Cosmos DB locations and their properties.
	Value []*LocationGetResult `json:"value,omitempty" azure:"ro"`
}

LocationListResult - The List operation response, that contains Cosmos DB locations and their properties.

func (LocationListResult) MarshalJSON

func (l LocationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LocationListResult.

type LocationProperties

type LocationProperties struct {
	// READ-ONLY; The properties of available backup storage redundancies.
	BackupStorageRedundancies []*BackupStorageRedundancy `json:"backupStorageRedundancies,omitempty" azure:"ro"`

	// READ-ONLY; Flag indicating whether the location is residency sensitive.
	IsResidencyRestricted *bool `json:"isResidencyRestricted,omitempty" azure:"ro"`

	// READ-ONLY; Flag indicating whether the location supports availability zones or not.
	SupportsAvailabilityZone *bool `json:"supportsAvailabilityZone,omitempty" azure:"ro"`
}

LocationProperties - Cosmos DB location metadata

func (LocationProperties) MarshalJSON

func (l LocationProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type LocationProperties.

type LocationsClient added in v0.2.0

type LocationsClient struct {
	// contains filtered or unexported fields
}

LocationsClient contains the methods for the Locations group. Don't use this type directly, use NewLocationsClient() instead.

func NewLocationsClient added in v0.2.0

func NewLocationsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *LocationsClient

NewLocationsClient creates a new instance of LocationsClient with the specified values.

func (*LocationsClient) Get added in v0.2.0

func (client *LocationsClient) Get(ctx context.Context, location string, options *LocationsGetOptions) (LocationsGetResponse, error)

Get - Get the properties of an existing Cosmos DB location If the operation fails it returns the *CloudError error type.

func (*LocationsClient) List added in v0.2.0

List - List Cosmos DB locations and their properties If the operation fails it returns the *CloudError error type.

type LocationsGetOptions added in v0.2.0

type LocationsGetOptions struct {
}

LocationsGetOptions contains the optional parameters for the Locations.Get method.

type LocationsGetResponse added in v0.2.0

type LocationsGetResponse struct {
	LocationsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocationsGetResponse contains the response from method Locations.Get.

type LocationsGetResult added in v0.2.0

type LocationsGetResult struct {
	LocationGetResult
}

LocationsGetResult contains the result from method Locations.Get.

type LocationsListOptions added in v0.2.0

type LocationsListOptions struct {
}

LocationsListOptions contains the optional parameters for the Locations.List method.

type LocationsListResponse added in v0.2.0

type LocationsListResponse struct {
	LocationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

LocationsListResponse contains the response from method Locations.List.

type LocationsListResult added in v0.2.0

type LocationsListResult struct {
	LocationListResult
}

LocationsListResult contains the result from method Locations.List.

type ManagedCassandraARMResourceProperties added in v0.2.0

type ManagedCassandraARMResourceProperties struct {
	// Identity for the resource.
	Identity *ManagedCassandraManagedServiceIdentity `json:"identity,omitempty"`

	// The location of the resource group to which the resource belongs.
	Location *string `json:"location,omitempty"`

	// Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups).
	// A maximum of 15 tags can be provided for a
	// resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a
	// template type is set with "defaultExperience":
	// "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB".
	Tags map[string]*string `json:"tags,omitempty"`

	// READ-ONLY; The unique resource identifier of the ARM resource.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the ARM resource.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of Azure resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

ManagedCassandraARMResourceProperties - The core properties of ARM resources.

func (ManagedCassandraARMResourceProperties) MarshalJSON added in v0.2.0

func (m ManagedCassandraARMResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedCassandraARMResourceProperties.

type ManagedCassandraManagedServiceIdentity added in v0.2.0

type ManagedCassandraManagedServiceIdentity struct {
	// The type of the resource.
	Type *ManagedCassandraResourceIdentityType `json:"type,omitempty"`

	// READ-ONLY; The object id of the identity resource.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`

	// READ-ONLY; The tenant id of the resource.
	TenantID *string `json:"tenantId,omitempty" azure:"ro"`
}

ManagedCassandraManagedServiceIdentity - Identity for the resource.

type ManagedCassandraProvisioningState

type ManagedCassandraProvisioningState string

ManagedCassandraProvisioningState - The status of the resource at the time the operation was called.

const (
	ManagedCassandraProvisioningStateCanceled  ManagedCassandraProvisioningState = "Canceled"
	ManagedCassandraProvisioningStateCreating  ManagedCassandraProvisioningState = "Creating"
	ManagedCassandraProvisioningStateDeleting  ManagedCassandraProvisioningState = "Deleting"
	ManagedCassandraProvisioningStateFailed    ManagedCassandraProvisioningState = "Failed"
	ManagedCassandraProvisioningStateSucceeded ManagedCassandraProvisioningState = "Succeeded"
	ManagedCassandraProvisioningStateUpdating  ManagedCassandraProvisioningState = "Updating"
)

func PossibleManagedCassandraProvisioningStateValues

func PossibleManagedCassandraProvisioningStateValues() []ManagedCassandraProvisioningState

PossibleManagedCassandraProvisioningStateValues returns the possible values for the ManagedCassandraProvisioningState const type.

func (ManagedCassandraProvisioningState) ToPtr

ToPtr returns a *ManagedCassandraProvisioningState pointing to the current value.

type ManagedCassandraReaperStatus added in v0.2.0

type ManagedCassandraReaperStatus struct {
	Healthy *bool `json:"healthy,omitempty"`

	// Dictionary of
	RepairRunIDs map[string]*string `json:"repairRunIds,omitempty"`

	// Dictionary of
	RepairSchedules map[string]*string `json:"repairSchedules,omitempty"`
}

func (ManagedCassandraReaperStatus) MarshalJSON added in v0.2.0

func (m ManagedCassandraReaperStatus) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedCassandraReaperStatus.

type ManagedCassandraResourceIdentityType added in v0.2.0

type ManagedCassandraResourceIdentityType string

ManagedCassandraResourceIdentityType - The type of the resource.

const (
	ManagedCassandraResourceIdentityTypeNone           ManagedCassandraResourceIdentityType = "None"
	ManagedCassandraResourceIdentityTypeSystemAssigned ManagedCassandraResourceIdentityType = "SystemAssigned"
)

func PossibleManagedCassandraResourceIdentityTypeValues added in v0.2.0

func PossibleManagedCassandraResourceIdentityTypeValues() []ManagedCassandraResourceIdentityType

PossibleManagedCassandraResourceIdentityTypeValues returns the possible values for the ManagedCassandraResourceIdentityType const type.

func (ManagedCassandraResourceIdentityType) ToPtr added in v0.2.0

ToPtr returns a *ManagedCassandraResourceIdentityType pointing to the current value.

type ManagedServiceIdentity

type ManagedServiceIdentity struct {
	// The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned
	// identities. The type 'None' will remove any
	// identities from the service.
	Type *ResourceIdentityType `json:"type,omitempty"`

	// The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form:
	// '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.
	UserAssignedIdentities map[string]*Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties `json:"userAssignedIdentities,omitempty"`

	// READ-ONLY; The principal id of the system assigned identity. This property will only be provided for a system assigned identity.
	PrincipalID *string `json:"principalId,omitempty" azure:"ro"`

	// READ-ONLY; The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.
	TenantID *string `json:"tenantId,omitempty" azure:"ro"`
}

ManagedServiceIdentity - Identity for the resource.

func (ManagedServiceIdentity) MarshalJSON

func (m ManagedServiceIdentity) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ManagedServiceIdentity.

type Metric

type Metric struct {
	// READ-ONLY; The end time for the metric (ISO-8601 format).
	EndTime *time.Time `json:"endTime,omitempty" azure:"ro"`

	// READ-ONLY; The metric values for the specified time window and timestep.
	MetricValues []*MetricValue `json:"metricValues,omitempty" azure:"ro"`

	// READ-ONLY; The name information for the metric.
	Name *MetricName `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The start time for the metric (ISO-8601 format).
	StartTime *time.Time `json:"startTime,omitempty" azure:"ro"`

	// READ-ONLY; The time grain to be used to summarize the metric values.
	TimeGrain *string `json:"timeGrain,omitempty" azure:"ro"`

	// READ-ONLY; The unit of the metric.
	Unit *UnitType `json:"unit,omitempty" azure:"ro"`
}

Metric data

func (Metric) MarshalJSON

func (m Metric) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Metric.

func (*Metric) UnmarshalJSON

func (m *Metric) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type Metric.

type MetricAvailability

type MetricAvailability struct {
	// READ-ONLY; The retention for the metric values.
	Retention *string `json:"retention,omitempty" azure:"ro"`

	// READ-ONLY; The time grain to be used to summarize the metric values.
	TimeGrain *string `json:"timeGrain,omitempty" azure:"ro"`
}

MetricAvailability - The availability of the metric.

type MetricDefinition

type MetricDefinition struct {
	// READ-ONLY; The list of metric availabilities for the account.
	MetricAvailabilities []*MetricAvailability `json:"metricAvailabilities,omitempty" azure:"ro"`

	// READ-ONLY; The name information for the metric.
	Name *MetricName `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The primary aggregation type of the metric.
	PrimaryAggregationType *PrimaryAggregationType `json:"primaryAggregationType,omitempty" azure:"ro"`

	// READ-ONLY; The resource uri of the database.
	ResourceURI *string `json:"resourceUri,omitempty" azure:"ro"`

	// READ-ONLY; The unit of the metric.
	Unit *UnitType `json:"unit,omitempty" azure:"ro"`
}

MetricDefinition - The definition of a metric.

func (MetricDefinition) MarshalJSON

func (m MetricDefinition) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MetricDefinition.

type MetricDefinitionsListResult

type MetricDefinitionsListResult struct {
	// READ-ONLY; The list of metric definitions for the account.
	Value []*MetricDefinition `json:"value,omitempty" azure:"ro"`
}

MetricDefinitionsListResult - The response to a list metric definitions request.

func (MetricDefinitionsListResult) MarshalJSON

func (m MetricDefinitionsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MetricDefinitionsListResult.

type MetricListResult

type MetricListResult struct {
	// READ-ONLY; The list of metrics for the account.
	Value []*Metric `json:"value,omitempty" azure:"ro"`
}

MetricListResult - The response to a list metrics request.

func (MetricListResult) MarshalJSON

func (m MetricListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MetricListResult.

type MetricName

type MetricName struct {
	// READ-ONLY; The friendly name of the metric.
	LocalizedValue *string `json:"localizedValue,omitempty" azure:"ro"`

	// READ-ONLY; The name of the metric.
	Value *string `json:"value,omitempty" azure:"ro"`
}

MetricName - A metric name.

type MetricValue

type MetricValue struct {
	// READ-ONLY; The average value of the metric.
	Average *float64 `json:"average,omitempty" azure:"ro"`

	// READ-ONLY; The number of values for the metric.
	Count *int32 `json:"_count,omitempty" azure:"ro"`

	// READ-ONLY; The max value of the metric.
	Maximum *float64 `json:"maximum,omitempty" azure:"ro"`

	// READ-ONLY; The min value of the metric.
	Minimum *float64 `json:"minimum,omitempty" azure:"ro"`

	// READ-ONLY; The metric timestamp (ISO-8601 format).
	Timestamp *time.Time `json:"timestamp,omitempty" azure:"ro"`

	// READ-ONLY; The total value of the metric.
	Total *float64 `json:"total,omitempty" azure:"ro"`
}

MetricValue - Represents metrics values.

func (MetricValue) MarshalJSON

func (m MetricValue) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MetricValue.

func (*MetricValue) UnmarshalJSON

func (m *MetricValue) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type MetricValue.

type MongoDBCollectionCreateUpdateParameters

type MongoDBCollectionCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB MongoDB collection.
	Properties *MongoDBCollectionCreateUpdateProperties `json:"properties,omitempty"`
}

MongoDBCollectionCreateUpdateParameters - Parameters to create and update Cosmos DB MongoDB collection.

func (MongoDBCollectionCreateUpdateParameters) MarshalJSON

func (m MongoDBCollectionCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoDBCollectionCreateUpdateParameters.

type MongoDBCollectionCreateUpdateProperties

type MongoDBCollectionCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a MongoDB collection
	Resource *MongoDBCollectionResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

MongoDBCollectionCreateUpdateProperties - Properties to create and update Azure Cosmos DB MongoDB collection.

type MongoDBCollectionGetProperties

type MongoDBCollectionGetProperties struct {
	Options  *MongoDBCollectionGetPropertiesOptions  `json:"options,omitempty"`
	Resource *MongoDBCollectionGetPropertiesResource `json:"resource,omitempty"`
}

MongoDBCollectionGetProperties - The properties of an Azure Cosmos DB MongoDB collection

type MongoDBCollectionGetPropertiesOptions

type MongoDBCollectionGetPropertiesOptions struct {
	OptionsResource
}

type MongoDBCollectionGetPropertiesResource

type MongoDBCollectionGetPropertiesResource struct {
	ExtendedResourceProperties
	MongoDBCollectionResource
}

type MongoDBCollectionGetResults

type MongoDBCollectionGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB MongoDB collection
	Properties *MongoDBCollectionGetProperties `json:"properties,omitempty"`
}

MongoDBCollectionGetResults - An Azure Cosmos DB MongoDB collection.

func (MongoDBCollectionGetResults) MarshalJSON

func (m MongoDBCollectionGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoDBCollectionGetResults.

type MongoDBCollectionListResult

type MongoDBCollectionListResult struct {
	// READ-ONLY; List of MongoDB collections and their properties.
	Value []*MongoDBCollectionGetResults `json:"value,omitempty" azure:"ro"`
}

MongoDBCollectionListResult - The List operation response, that contains the MongoDB collections and their properties.

func (MongoDBCollectionListResult) MarshalJSON

func (m MongoDBCollectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoDBCollectionListResult.

type MongoDBCollectionResource

type MongoDBCollectionResource struct {
	// REQUIRED; Name of the Cosmos DB MongoDB collection
	ID *string `json:"id,omitempty"`

	// Analytical TTL.
	AnalyticalStorageTTL *int32 `json:"analyticalStorageTtl,omitempty"`

	// List of index keys
	Indexes []*MongoIndex `json:"indexes,omitempty"`

	// A key-value pair of shard keys to be applied for the request.
	ShardKey map[string]*string `json:"shardKey,omitempty"`
}

MongoDBCollectionResource - Cosmos DB MongoDB collection resource object

func (MongoDBCollectionResource) MarshalJSON

func (m MongoDBCollectionResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoDBCollectionResource.

type MongoDBDatabaseCreateUpdateParameters

type MongoDBDatabaseCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB MongoDB database.
	Properties *MongoDBDatabaseCreateUpdateProperties `json:"properties,omitempty"`
}

MongoDBDatabaseCreateUpdateParameters - Parameters to create and update Cosmos DB MongoDB database.

func (MongoDBDatabaseCreateUpdateParameters) MarshalJSON

func (m MongoDBDatabaseCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoDBDatabaseCreateUpdateParameters.

type MongoDBDatabaseCreateUpdateProperties

type MongoDBDatabaseCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a MongoDB database
	Resource *MongoDBDatabaseResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

MongoDBDatabaseCreateUpdateProperties - Properties to create and update Azure Cosmos DB MongoDB database.

type MongoDBDatabaseGetProperties

type MongoDBDatabaseGetProperties struct {
	Options  *MongoDBDatabaseGetPropertiesOptions  `json:"options,omitempty"`
	Resource *MongoDBDatabaseGetPropertiesResource `json:"resource,omitempty"`
}

MongoDBDatabaseGetProperties - The properties of an Azure Cosmos DB MongoDB database

type MongoDBDatabaseGetPropertiesOptions

type MongoDBDatabaseGetPropertiesOptions struct {
	OptionsResource
}

type MongoDBDatabaseGetPropertiesResource

type MongoDBDatabaseGetPropertiesResource struct {
	ExtendedResourceProperties
	MongoDBDatabaseResource
}

type MongoDBDatabaseGetResults

type MongoDBDatabaseGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB MongoDB database
	Properties *MongoDBDatabaseGetProperties `json:"properties,omitempty"`
}

MongoDBDatabaseGetResults - An Azure Cosmos DB MongoDB database.

func (MongoDBDatabaseGetResults) MarshalJSON

func (m MongoDBDatabaseGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoDBDatabaseGetResults.

type MongoDBDatabaseListResult

type MongoDBDatabaseListResult struct {
	// READ-ONLY; List of MongoDB databases and their properties.
	Value []*MongoDBDatabaseGetResults `json:"value,omitempty" azure:"ro"`
}

MongoDBDatabaseListResult - The List operation response, that contains the MongoDB databases and their properties.

func (MongoDBDatabaseListResult) MarshalJSON

func (m MongoDBDatabaseListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoDBDatabaseListResult.

type MongoDBDatabaseResource

type MongoDBDatabaseResource struct {
	// REQUIRED; Name of the Cosmos DB MongoDB database
	ID *string `json:"id,omitempty"`
}

MongoDBDatabaseResource - Cosmos DB MongoDB database resource object

func (MongoDBDatabaseResource) MarshalJSON

func (m MongoDBDatabaseResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoDBDatabaseResource.

type MongoDBResourcesBeginCreateUpdateMongoDBCollectionOptions

type MongoDBResourcesBeginCreateUpdateMongoDBCollectionOptions struct {
}

MongoDBResourcesBeginCreateUpdateMongoDBCollectionOptions contains the optional parameters for the MongoDBResources.BeginCreateUpdateMongoDBCollection method.

type MongoDBResourcesBeginCreateUpdateMongoDBDatabaseOptions

type MongoDBResourcesBeginCreateUpdateMongoDBDatabaseOptions struct {
}

MongoDBResourcesBeginCreateUpdateMongoDBDatabaseOptions contains the optional parameters for the MongoDBResources.BeginCreateUpdateMongoDBDatabase method.

type MongoDBResourcesBeginDeleteMongoDBCollectionOptions

type MongoDBResourcesBeginDeleteMongoDBCollectionOptions struct {
}

MongoDBResourcesBeginDeleteMongoDBCollectionOptions contains the optional parameters for the MongoDBResources.BeginDeleteMongoDBCollection method.

type MongoDBResourcesBeginDeleteMongoDBDatabaseOptions

type MongoDBResourcesBeginDeleteMongoDBDatabaseOptions struct {
}

MongoDBResourcesBeginDeleteMongoDBDatabaseOptions contains the optional parameters for the MongoDBResources.BeginDeleteMongoDBDatabase method.

type MongoDBResourcesBeginMigrateMongoDBCollectionToAutoscaleOptions

type MongoDBResourcesBeginMigrateMongoDBCollectionToAutoscaleOptions struct {
}

MongoDBResourcesBeginMigrateMongoDBCollectionToAutoscaleOptions contains the optional parameters for the MongoDBResources.BeginMigrateMongoDBCollectionToAutoscale method.

type MongoDBResourcesBeginMigrateMongoDBCollectionToManualThroughputOptions

type MongoDBResourcesBeginMigrateMongoDBCollectionToManualThroughputOptions struct {
}

MongoDBResourcesBeginMigrateMongoDBCollectionToManualThroughputOptions contains the optional parameters for the MongoDBResources.BeginMigrateMongoDBCollectionToManualThroughput method.

type MongoDBResourcesBeginMigrateMongoDBDatabaseToAutoscaleOptions

type MongoDBResourcesBeginMigrateMongoDBDatabaseToAutoscaleOptions struct {
}

MongoDBResourcesBeginMigrateMongoDBDatabaseToAutoscaleOptions contains the optional parameters for the MongoDBResources.BeginMigrateMongoDBDatabaseToAutoscale method.

type MongoDBResourcesBeginMigrateMongoDBDatabaseToManualThroughputOptions

type MongoDBResourcesBeginMigrateMongoDBDatabaseToManualThroughputOptions struct {
}

MongoDBResourcesBeginMigrateMongoDBDatabaseToManualThroughputOptions contains the optional parameters for the MongoDBResources.BeginMigrateMongoDBDatabaseToManualThroughput method.

type MongoDBResourcesBeginRetrieveContinuousBackupInformationOptions added in v0.2.0

type MongoDBResourcesBeginRetrieveContinuousBackupInformationOptions struct {
}

MongoDBResourcesBeginRetrieveContinuousBackupInformationOptions contains the optional parameters for the MongoDBResources.BeginRetrieveContinuousBackupInformation method.

type MongoDBResourcesBeginUpdateMongoDBCollectionThroughputOptions

type MongoDBResourcesBeginUpdateMongoDBCollectionThroughputOptions struct {
}

MongoDBResourcesBeginUpdateMongoDBCollectionThroughputOptions contains the optional parameters for the MongoDBResources.BeginUpdateMongoDBCollectionThroughput method.

type MongoDBResourcesBeginUpdateMongoDBDatabaseThroughputOptions

type MongoDBResourcesBeginUpdateMongoDBDatabaseThroughputOptions struct {
}

MongoDBResourcesBeginUpdateMongoDBDatabaseThroughputOptions contains the optional parameters for the MongoDBResources.BeginUpdateMongoDBDatabaseThroughput method.

type MongoDBResourcesClient

type MongoDBResourcesClient struct {
	// contains filtered or unexported fields
}

MongoDBResourcesClient contains the methods for the MongoDBResources group. Don't use this type directly, use NewMongoDBResourcesClient() instead.

func NewMongoDBResourcesClient

func NewMongoDBResourcesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *MongoDBResourcesClient

NewMongoDBResourcesClient creates a new instance of MongoDBResourcesClient with the specified values.

func (*MongoDBResourcesClient) BeginCreateUpdateMongoDBCollection

func (client *MongoDBResourcesClient) BeginCreateUpdateMongoDBCollection(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, createUpdateMongoDBCollectionParameters MongoDBCollectionCreateUpdateParameters, options *MongoDBResourcesBeginCreateUpdateMongoDBCollectionOptions) (MongoDBResourcesCreateUpdateMongoDBCollectionPollerResponse, error)

BeginCreateUpdateMongoDBCollection - Create or update an Azure Cosmos DB MongoDB Collection If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) BeginCreateUpdateMongoDBDatabase

func (client *MongoDBResourcesClient) BeginCreateUpdateMongoDBDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateMongoDBDatabaseParameters MongoDBDatabaseCreateUpdateParameters, options *MongoDBResourcesBeginCreateUpdateMongoDBDatabaseOptions) (MongoDBResourcesCreateUpdateMongoDBDatabasePollerResponse, error)

BeginCreateUpdateMongoDBDatabase - Create or updates Azure Cosmos DB MongoDB database If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) BeginDeleteMongoDBCollection

func (client *MongoDBResourcesClient) BeginDeleteMongoDBCollection(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *MongoDBResourcesBeginDeleteMongoDBCollectionOptions) (MongoDBResourcesDeleteMongoDBCollectionPollerResponse, error)

BeginDeleteMongoDBCollection - Deletes an existing Azure Cosmos DB MongoDB Collection. If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) BeginDeleteMongoDBDatabase

func (client *MongoDBResourcesClient) BeginDeleteMongoDBDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *MongoDBResourcesBeginDeleteMongoDBDatabaseOptions) (MongoDBResourcesDeleteMongoDBDatabasePollerResponse, error)

BeginDeleteMongoDBDatabase - Deletes an existing Azure Cosmos DB MongoDB database. If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) BeginMigrateMongoDBCollectionToAutoscale

func (client *MongoDBResourcesClient) BeginMigrateMongoDBCollectionToAutoscale(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *MongoDBResourcesBeginMigrateMongoDBCollectionToAutoscaleOptions) (MongoDBResourcesMigrateMongoDBCollectionToAutoscalePollerResponse, error)

BeginMigrateMongoDBCollectionToAutoscale - Migrate an Azure Cosmos DB MongoDB collection from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*MongoDBResourcesClient) BeginMigrateMongoDBCollectionToManualThroughput

func (client *MongoDBResourcesClient) BeginMigrateMongoDBCollectionToManualThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *MongoDBResourcesBeginMigrateMongoDBCollectionToManualThroughputOptions) (MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPollerResponse, error)

BeginMigrateMongoDBCollectionToManualThroughput - Migrate an Azure Cosmos DB MongoDB collection from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*MongoDBResourcesClient) BeginMigrateMongoDBDatabaseToAutoscale

func (client *MongoDBResourcesClient) BeginMigrateMongoDBDatabaseToAutoscale(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *MongoDBResourcesBeginMigrateMongoDBDatabaseToAutoscaleOptions) (MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePollerResponse, error)

BeginMigrateMongoDBDatabaseToAutoscale - Migrate an Azure Cosmos DB MongoDB database from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*MongoDBResourcesClient) BeginMigrateMongoDBDatabaseToManualThroughput

func (client *MongoDBResourcesClient) BeginMigrateMongoDBDatabaseToManualThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *MongoDBResourcesBeginMigrateMongoDBDatabaseToManualThroughputOptions) (MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPollerResponse, error)

BeginMigrateMongoDBDatabaseToManualThroughput - Migrate an Azure Cosmos DB MongoDB database from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*MongoDBResourcesClient) BeginRetrieveContinuousBackupInformation added in v0.2.0

func (client *MongoDBResourcesClient) BeginRetrieveContinuousBackupInformation(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, location ContinuousBackupRestoreLocation, options *MongoDBResourcesBeginRetrieveContinuousBackupInformationOptions) (MongoDBResourcesRetrieveContinuousBackupInformationPollerResponse, error)

BeginRetrieveContinuousBackupInformation - Retrieves continuous backup information for a Mongodb collection. If the operation fails it returns the *CloudError error type.

func (*MongoDBResourcesClient) BeginUpdateMongoDBCollectionThroughput

func (client *MongoDBResourcesClient) BeginUpdateMongoDBCollectionThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *MongoDBResourcesBeginUpdateMongoDBCollectionThroughputOptions) (MongoDBResourcesUpdateMongoDBCollectionThroughputPollerResponse, error)

BeginUpdateMongoDBCollectionThroughput - Update the RUs per second of an Azure Cosmos DB MongoDB collection If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) BeginUpdateMongoDBDatabaseThroughput

func (client *MongoDBResourcesClient) BeginUpdateMongoDBDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *MongoDBResourcesBeginUpdateMongoDBDatabaseThroughputOptions) (MongoDBResourcesUpdateMongoDBDatabaseThroughputPollerResponse, error)

BeginUpdateMongoDBDatabaseThroughput - Update RUs per second of the an Azure Cosmos DB MongoDB database If the operation fails it returns the *CloudError error type.

func (*MongoDBResourcesClient) GetMongoDBCollection

func (client *MongoDBResourcesClient) GetMongoDBCollection(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *MongoDBResourcesGetMongoDBCollectionOptions) (MongoDBResourcesGetMongoDBCollectionResponse, error)

GetMongoDBCollection - Gets the MongoDB collection under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) GetMongoDBCollectionThroughput

func (client *MongoDBResourcesClient) GetMongoDBCollectionThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, options *MongoDBResourcesGetMongoDBCollectionThroughputOptions) (MongoDBResourcesGetMongoDBCollectionThroughputResponse, error)

GetMongoDBCollectionThroughput - Gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) GetMongoDBDatabase

func (client *MongoDBResourcesClient) GetMongoDBDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *MongoDBResourcesGetMongoDBDatabaseOptions) (MongoDBResourcesGetMongoDBDatabaseResponse, error)

GetMongoDBDatabase - Gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) GetMongoDBDatabaseThroughput

func (client *MongoDBResourcesClient) GetMongoDBDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *MongoDBResourcesGetMongoDBDatabaseThroughputOptions) (MongoDBResourcesGetMongoDBDatabaseThroughputResponse, error)

GetMongoDBDatabaseThroughput - Gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) ListMongoDBCollections

func (client *MongoDBResourcesClient) ListMongoDBCollections(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *MongoDBResourcesListMongoDBCollectionsOptions) (MongoDBResourcesListMongoDBCollectionsResponse, error)

ListMongoDBCollections - Lists the MongoDB collection under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*MongoDBResourcesClient) ListMongoDBDatabases

func (client *MongoDBResourcesClient) ListMongoDBDatabases(ctx context.Context, resourceGroupName string, accountName string, options *MongoDBResourcesListMongoDBDatabasesOptions) (MongoDBResourcesListMongoDBDatabasesResponse, error)

ListMongoDBDatabases - Lists the MongoDB databases under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

type MongoDBResourcesCreateUpdateMongoDBCollectionPoller

type MongoDBResourcesCreateUpdateMongoDBCollectionPoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesCreateUpdateMongoDBCollectionPoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesCreateUpdateMongoDBCollectionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesCreateUpdateMongoDBCollectionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesCreateUpdateMongoDBCollectionResponse will be returned.

func (*MongoDBResourcesCreateUpdateMongoDBCollectionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesCreateUpdateMongoDBCollectionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesCreateUpdateMongoDBCollectionPollerResponse

type MongoDBResourcesCreateUpdateMongoDBCollectionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesCreateUpdateMongoDBCollectionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesCreateUpdateMongoDBCollectionPollerResponse contains the response from method MongoDBResources.CreateUpdateMongoDBCollection.

func (MongoDBResourcesCreateUpdateMongoDBCollectionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesCreateUpdateMongoDBCollectionPollerResponse) Resume

Resume rehydrates a MongoDBResourcesCreateUpdateMongoDBCollectionPollerResponse from the provided client and resume token.

type MongoDBResourcesCreateUpdateMongoDBCollectionResponse

type MongoDBResourcesCreateUpdateMongoDBCollectionResponse struct {
	MongoDBResourcesCreateUpdateMongoDBCollectionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesCreateUpdateMongoDBCollectionResponse contains the response from method MongoDBResources.CreateUpdateMongoDBCollection.

type MongoDBResourcesCreateUpdateMongoDBCollectionResult

type MongoDBResourcesCreateUpdateMongoDBCollectionResult struct {
	MongoDBCollectionGetResults
}

MongoDBResourcesCreateUpdateMongoDBCollectionResult contains the result from method MongoDBResources.CreateUpdateMongoDBCollection.

type MongoDBResourcesCreateUpdateMongoDBDatabasePoller

type MongoDBResourcesCreateUpdateMongoDBDatabasePoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesCreateUpdateMongoDBDatabasePoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesCreateUpdateMongoDBDatabasePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesCreateUpdateMongoDBDatabasePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesCreateUpdateMongoDBDatabaseResponse will be returned.

func (*MongoDBResourcesCreateUpdateMongoDBDatabasePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesCreateUpdateMongoDBDatabasePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesCreateUpdateMongoDBDatabasePollerResponse

type MongoDBResourcesCreateUpdateMongoDBDatabasePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesCreateUpdateMongoDBDatabasePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesCreateUpdateMongoDBDatabasePollerResponse contains the response from method MongoDBResources.CreateUpdateMongoDBDatabase.

func (MongoDBResourcesCreateUpdateMongoDBDatabasePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesCreateUpdateMongoDBDatabasePollerResponse) Resume

Resume rehydrates a MongoDBResourcesCreateUpdateMongoDBDatabasePollerResponse from the provided client and resume token.

type MongoDBResourcesCreateUpdateMongoDBDatabaseResponse

type MongoDBResourcesCreateUpdateMongoDBDatabaseResponse struct {
	MongoDBResourcesCreateUpdateMongoDBDatabaseResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesCreateUpdateMongoDBDatabaseResponse contains the response from method MongoDBResources.CreateUpdateMongoDBDatabase.

type MongoDBResourcesCreateUpdateMongoDBDatabaseResult

type MongoDBResourcesCreateUpdateMongoDBDatabaseResult struct {
	MongoDBDatabaseGetResults
}

MongoDBResourcesCreateUpdateMongoDBDatabaseResult contains the result from method MongoDBResources.CreateUpdateMongoDBDatabase.

type MongoDBResourcesDeleteMongoDBCollectionPoller

type MongoDBResourcesDeleteMongoDBCollectionPoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesDeleteMongoDBCollectionPoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesDeleteMongoDBCollectionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesDeleteMongoDBCollectionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesDeleteMongoDBCollectionResponse will be returned.

func (*MongoDBResourcesDeleteMongoDBCollectionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesDeleteMongoDBCollectionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesDeleteMongoDBCollectionPollerResponse

type MongoDBResourcesDeleteMongoDBCollectionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesDeleteMongoDBCollectionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesDeleteMongoDBCollectionPollerResponse contains the response from method MongoDBResources.DeleteMongoDBCollection.

func (MongoDBResourcesDeleteMongoDBCollectionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesDeleteMongoDBCollectionPollerResponse) Resume

Resume rehydrates a MongoDBResourcesDeleteMongoDBCollectionPollerResponse from the provided client and resume token.

type MongoDBResourcesDeleteMongoDBCollectionResponse

type MongoDBResourcesDeleteMongoDBCollectionResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesDeleteMongoDBCollectionResponse contains the response from method MongoDBResources.DeleteMongoDBCollection.

type MongoDBResourcesDeleteMongoDBDatabasePoller

type MongoDBResourcesDeleteMongoDBDatabasePoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesDeleteMongoDBDatabasePoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesDeleteMongoDBDatabasePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesDeleteMongoDBDatabasePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesDeleteMongoDBDatabaseResponse will be returned.

func (*MongoDBResourcesDeleteMongoDBDatabasePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesDeleteMongoDBDatabasePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesDeleteMongoDBDatabasePollerResponse

type MongoDBResourcesDeleteMongoDBDatabasePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesDeleteMongoDBDatabasePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesDeleteMongoDBDatabasePollerResponse contains the response from method MongoDBResources.DeleteMongoDBDatabase.

func (MongoDBResourcesDeleteMongoDBDatabasePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesDeleteMongoDBDatabasePollerResponse) Resume

Resume rehydrates a MongoDBResourcesDeleteMongoDBDatabasePollerResponse from the provided client and resume token.

type MongoDBResourcesDeleteMongoDBDatabaseResponse

type MongoDBResourcesDeleteMongoDBDatabaseResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesDeleteMongoDBDatabaseResponse contains the response from method MongoDBResources.DeleteMongoDBDatabase.

type MongoDBResourcesGetMongoDBCollectionOptions

type MongoDBResourcesGetMongoDBCollectionOptions struct {
}

MongoDBResourcesGetMongoDBCollectionOptions contains the optional parameters for the MongoDBResources.GetMongoDBCollection method.

type MongoDBResourcesGetMongoDBCollectionResponse

type MongoDBResourcesGetMongoDBCollectionResponse struct {
	MongoDBResourcesGetMongoDBCollectionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesGetMongoDBCollectionResponse contains the response from method MongoDBResources.GetMongoDBCollection.

type MongoDBResourcesGetMongoDBCollectionResult

type MongoDBResourcesGetMongoDBCollectionResult struct {
	MongoDBCollectionGetResults
}

MongoDBResourcesGetMongoDBCollectionResult contains the result from method MongoDBResources.GetMongoDBCollection.

type MongoDBResourcesGetMongoDBCollectionThroughputOptions

type MongoDBResourcesGetMongoDBCollectionThroughputOptions struct {
}

MongoDBResourcesGetMongoDBCollectionThroughputOptions contains the optional parameters for the MongoDBResources.GetMongoDBCollectionThroughput method.

type MongoDBResourcesGetMongoDBCollectionThroughputResponse

type MongoDBResourcesGetMongoDBCollectionThroughputResponse struct {
	MongoDBResourcesGetMongoDBCollectionThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesGetMongoDBCollectionThroughputResponse contains the response from method MongoDBResources.GetMongoDBCollectionThroughput.

type MongoDBResourcesGetMongoDBCollectionThroughputResult

type MongoDBResourcesGetMongoDBCollectionThroughputResult struct {
	ThroughputSettingsGetResults
}

MongoDBResourcesGetMongoDBCollectionThroughputResult contains the result from method MongoDBResources.GetMongoDBCollectionThroughput.

type MongoDBResourcesGetMongoDBDatabaseOptions

type MongoDBResourcesGetMongoDBDatabaseOptions struct {
}

MongoDBResourcesGetMongoDBDatabaseOptions contains the optional parameters for the MongoDBResources.GetMongoDBDatabase method.

type MongoDBResourcesGetMongoDBDatabaseResponse

type MongoDBResourcesGetMongoDBDatabaseResponse struct {
	MongoDBResourcesGetMongoDBDatabaseResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesGetMongoDBDatabaseResponse contains the response from method MongoDBResources.GetMongoDBDatabase.

type MongoDBResourcesGetMongoDBDatabaseResult

type MongoDBResourcesGetMongoDBDatabaseResult struct {
	MongoDBDatabaseGetResults
}

MongoDBResourcesGetMongoDBDatabaseResult contains the result from method MongoDBResources.GetMongoDBDatabase.

type MongoDBResourcesGetMongoDBDatabaseThroughputOptions

type MongoDBResourcesGetMongoDBDatabaseThroughputOptions struct {
}

MongoDBResourcesGetMongoDBDatabaseThroughputOptions contains the optional parameters for the MongoDBResources.GetMongoDBDatabaseThroughput method.

type MongoDBResourcesGetMongoDBDatabaseThroughputResponse

type MongoDBResourcesGetMongoDBDatabaseThroughputResponse struct {
	MongoDBResourcesGetMongoDBDatabaseThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesGetMongoDBDatabaseThroughputResponse contains the response from method MongoDBResources.GetMongoDBDatabaseThroughput.

type MongoDBResourcesGetMongoDBDatabaseThroughputResult

type MongoDBResourcesGetMongoDBDatabaseThroughputResult struct {
	ThroughputSettingsGetResults
}

MongoDBResourcesGetMongoDBDatabaseThroughputResult contains the result from method MongoDBResources.GetMongoDBDatabaseThroughput.

type MongoDBResourcesListMongoDBCollectionsOptions

type MongoDBResourcesListMongoDBCollectionsOptions struct {
}

MongoDBResourcesListMongoDBCollectionsOptions contains the optional parameters for the MongoDBResources.ListMongoDBCollections method.

type MongoDBResourcesListMongoDBCollectionsResponse

type MongoDBResourcesListMongoDBCollectionsResponse struct {
	MongoDBResourcesListMongoDBCollectionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesListMongoDBCollectionsResponse contains the response from method MongoDBResources.ListMongoDBCollections.

type MongoDBResourcesListMongoDBCollectionsResult

type MongoDBResourcesListMongoDBCollectionsResult struct {
	MongoDBCollectionListResult
}

MongoDBResourcesListMongoDBCollectionsResult contains the result from method MongoDBResources.ListMongoDBCollections.

type MongoDBResourcesListMongoDBDatabasesOptions

type MongoDBResourcesListMongoDBDatabasesOptions struct {
}

MongoDBResourcesListMongoDBDatabasesOptions contains the optional parameters for the MongoDBResources.ListMongoDBDatabases method.

type MongoDBResourcesListMongoDBDatabasesResponse

type MongoDBResourcesListMongoDBDatabasesResponse struct {
	MongoDBResourcesListMongoDBDatabasesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesListMongoDBDatabasesResponse contains the response from method MongoDBResources.ListMongoDBDatabases.

type MongoDBResourcesListMongoDBDatabasesResult

type MongoDBResourcesListMongoDBDatabasesResult struct {
	MongoDBDatabaseListResult
}

MongoDBResourcesListMongoDBDatabasesResult contains the result from method MongoDBResources.ListMongoDBDatabases.

type MongoDBResourcesMigrateMongoDBCollectionToAutoscalePoller

type MongoDBResourcesMigrateMongoDBCollectionToAutoscalePoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesMigrateMongoDBCollectionToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesMigrateMongoDBCollectionToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesMigrateMongoDBCollectionToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResponse will be returned.

func (*MongoDBResourcesMigrateMongoDBCollectionToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesMigrateMongoDBCollectionToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesMigrateMongoDBCollectionToAutoscalePollerResponse

type MongoDBResourcesMigrateMongoDBCollectionToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesMigrateMongoDBCollectionToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesMigrateMongoDBCollectionToAutoscalePollerResponse contains the response from method MongoDBResources.MigrateMongoDBCollectionToAutoscale.

func (MongoDBResourcesMigrateMongoDBCollectionToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesMigrateMongoDBCollectionToAutoscalePollerResponse) Resume

Resume rehydrates a MongoDBResourcesMigrateMongoDBCollectionToAutoscalePollerResponse from the provided client and resume token.

type MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResponse

type MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResponse struct {
	MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResponse contains the response from method MongoDBResources.MigrateMongoDBCollectionToAutoscale.

type MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResult

type MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResult contains the result from method MongoDBResources.MigrateMongoDBCollectionToAutoscale.

type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPoller

type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResponse will be returned.

func (*MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPollerResponse

type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPollerResponse contains the response from method MongoDBResources.MigrateMongoDBCollectionToManualThroughput.

func (MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPollerResponse) Resume

Resume rehydrates a MongoDBResourcesMigrateMongoDBCollectionToManualThroughputPollerResponse from the provided client and resume token.

type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResponse

type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResponse struct {
	MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResponse contains the response from method MongoDBResources.MigrateMongoDBCollectionToManualThroughput.

type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResult

type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResult contains the result from method MongoDBResources.MigrateMongoDBCollectionToManualThroughput.

type MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePoller

type MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResponse will be returned.

func (*MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePollerResponse

type MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePollerResponse contains the response from method MongoDBResources.MigrateMongoDBDatabaseToAutoscale.

func (MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePollerResponse) Resume

Resume rehydrates a MongoDBResourcesMigrateMongoDBDatabaseToAutoscalePollerResponse from the provided client and resume token.

type MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResponse

type MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResponse struct {
	MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResponse contains the response from method MongoDBResources.MigrateMongoDBDatabaseToAutoscale.

type MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResult

type MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResult contains the result from method MongoDBResources.MigrateMongoDBDatabaseToAutoscale.

type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPoller

type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResponse will be returned.

func (*MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPollerResponse

type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPollerResponse contains the response from method MongoDBResources.MigrateMongoDBDatabaseToManualThroughput.

func (MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPollerResponse) Resume

Resume rehydrates a MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputPollerResponse from the provided client and resume token.

type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResponse

type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResponse struct {
	MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResponse contains the response from method MongoDBResources.MigrateMongoDBDatabaseToManualThroughput.

type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResult

type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResult contains the result from method MongoDBResources.MigrateMongoDBDatabaseToManualThroughput.

type MongoDBResourcesRetrieveContinuousBackupInformationPoller added in v0.2.0

type MongoDBResourcesRetrieveContinuousBackupInformationPoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesRetrieveContinuousBackupInformationPoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesRetrieveContinuousBackupInformationPoller) Done added in v0.2.0

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesRetrieveContinuousBackupInformationPoller) FinalResponse added in v0.2.0

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesRetrieveContinuousBackupInformationResponse will be returned.

func (*MongoDBResourcesRetrieveContinuousBackupInformationPoller) Poll added in v0.2.0

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesRetrieveContinuousBackupInformationPoller) ResumeToken added in v0.2.0

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesRetrieveContinuousBackupInformationPollerResponse added in v0.2.0

type MongoDBResourcesRetrieveContinuousBackupInformationPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesRetrieveContinuousBackupInformationPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesRetrieveContinuousBackupInformationPollerResponse contains the response from method MongoDBResources.RetrieveContinuousBackupInformation.

func (MongoDBResourcesRetrieveContinuousBackupInformationPollerResponse) PollUntilDone added in v0.2.0

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesRetrieveContinuousBackupInformationPollerResponse) Resume added in v0.2.0

Resume rehydrates a MongoDBResourcesRetrieveContinuousBackupInformationPollerResponse from the provided client and resume token.

type MongoDBResourcesRetrieveContinuousBackupInformationResponse added in v0.2.0

type MongoDBResourcesRetrieveContinuousBackupInformationResponse struct {
	MongoDBResourcesRetrieveContinuousBackupInformationResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesRetrieveContinuousBackupInformationResponse contains the response from method MongoDBResources.RetrieveContinuousBackupInformation.

type MongoDBResourcesRetrieveContinuousBackupInformationResult added in v0.2.0

type MongoDBResourcesRetrieveContinuousBackupInformationResult struct {
	BackupInformation
}

MongoDBResourcesRetrieveContinuousBackupInformationResult contains the result from method MongoDBResources.RetrieveContinuousBackupInformation.

type MongoDBResourcesUpdateMongoDBCollectionThroughputPoller

type MongoDBResourcesUpdateMongoDBCollectionThroughputPoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesUpdateMongoDBCollectionThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesUpdateMongoDBCollectionThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesUpdateMongoDBCollectionThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesUpdateMongoDBCollectionThroughputResponse will be returned.

func (*MongoDBResourcesUpdateMongoDBCollectionThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesUpdateMongoDBCollectionThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesUpdateMongoDBCollectionThroughputPollerResponse

type MongoDBResourcesUpdateMongoDBCollectionThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesUpdateMongoDBCollectionThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesUpdateMongoDBCollectionThroughputPollerResponse contains the response from method MongoDBResources.UpdateMongoDBCollectionThroughput.

func (MongoDBResourcesUpdateMongoDBCollectionThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesUpdateMongoDBCollectionThroughputPollerResponse) Resume

Resume rehydrates a MongoDBResourcesUpdateMongoDBCollectionThroughputPollerResponse from the provided client and resume token.

type MongoDBResourcesUpdateMongoDBCollectionThroughputResponse

type MongoDBResourcesUpdateMongoDBCollectionThroughputResponse struct {
	MongoDBResourcesUpdateMongoDBCollectionThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesUpdateMongoDBCollectionThroughputResponse contains the response from method MongoDBResources.UpdateMongoDBCollectionThroughput.

type MongoDBResourcesUpdateMongoDBCollectionThroughputResult

type MongoDBResourcesUpdateMongoDBCollectionThroughputResult struct {
	ThroughputSettingsGetResults
}

MongoDBResourcesUpdateMongoDBCollectionThroughputResult contains the result from method MongoDBResources.UpdateMongoDBCollectionThroughput.

type MongoDBResourcesUpdateMongoDBDatabaseThroughputPoller

type MongoDBResourcesUpdateMongoDBDatabaseThroughputPoller struct {
	// contains filtered or unexported fields
}

MongoDBResourcesUpdateMongoDBDatabaseThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*MongoDBResourcesUpdateMongoDBDatabaseThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*MongoDBResourcesUpdateMongoDBDatabaseThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final MongoDBResourcesUpdateMongoDBDatabaseThroughputResponse will be returned.

func (*MongoDBResourcesUpdateMongoDBDatabaseThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*MongoDBResourcesUpdateMongoDBDatabaseThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type MongoDBResourcesUpdateMongoDBDatabaseThroughputPollerResponse

type MongoDBResourcesUpdateMongoDBDatabaseThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *MongoDBResourcesUpdateMongoDBDatabaseThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesUpdateMongoDBDatabaseThroughputPollerResponse contains the response from method MongoDBResources.UpdateMongoDBDatabaseThroughput.

func (MongoDBResourcesUpdateMongoDBDatabaseThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*MongoDBResourcesUpdateMongoDBDatabaseThroughputPollerResponse) Resume

Resume rehydrates a MongoDBResourcesUpdateMongoDBDatabaseThroughputPollerResponse from the provided client and resume token.

type MongoDBResourcesUpdateMongoDBDatabaseThroughputResponse

type MongoDBResourcesUpdateMongoDBDatabaseThroughputResponse struct {
	MongoDBResourcesUpdateMongoDBDatabaseThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

MongoDBResourcesUpdateMongoDBDatabaseThroughputResponse contains the response from method MongoDBResources.UpdateMongoDBDatabaseThroughput.

type MongoDBResourcesUpdateMongoDBDatabaseThroughputResult

type MongoDBResourcesUpdateMongoDBDatabaseThroughputResult struct {
	ThroughputSettingsGetResults
}

MongoDBResourcesUpdateMongoDBDatabaseThroughputResult contains the result from method MongoDBResources.UpdateMongoDBDatabaseThroughput.

type MongoIndex

type MongoIndex struct {
	// Cosmos DB MongoDB collection index keys
	Key *MongoIndexKeys `json:"key,omitempty"`

	// Cosmos DB MongoDB collection index key options
	Options *MongoIndexOptions `json:"options,omitempty"`
}

MongoIndex - Cosmos DB MongoDB collection index key

type MongoIndexKeys

type MongoIndexKeys struct {
	// List of keys for each MongoDB collection in the Azure Cosmos DB service
	Keys []*string `json:"keys,omitempty"`
}

MongoIndexKeys - Cosmos DB MongoDB collection resource object

func (MongoIndexKeys) MarshalJSON

func (m MongoIndexKeys) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type MongoIndexKeys.

type MongoIndexOptions

type MongoIndexOptions struct {
	// Expire after seconds
	ExpireAfterSeconds *int32 `json:"expireAfterSeconds,omitempty"`

	// Is unique or not
	Unique *bool `json:"unique,omitempty"`
}

MongoIndexOptions - Cosmos DB MongoDB collection index options

type NetworkACLBypass

type NetworkACLBypass string

NetworkACLBypass - Indicates what services are allowed to bypass firewall checks.

const (
	NetworkACLBypassNone          NetworkACLBypass = "None"
	NetworkACLBypassAzureServices NetworkACLBypass = "AzureServices"
)

func PossibleNetworkACLBypassValues

func PossibleNetworkACLBypassValues() []NetworkACLBypass

PossibleNetworkACLBypassValues returns the possible values for the NetworkACLBypass const type.

func (NetworkACLBypass) ToPtr

ToPtr returns a *NetworkACLBypass pointing to the current value.

type NodeState

type NodeState string

NodeState - The state of the node in Cassandra ring.

const (
	NodeStateJoining NodeState = "Joining"
	NodeStateLeaving NodeState = "Leaving"
	NodeStateMoving  NodeState = "Moving"
	NodeStateNormal  NodeState = "Normal"
	NodeStateStopped NodeState = "Stopped"
)

func PossibleNodeStateValues

func PossibleNodeStateValues() []NodeState

PossibleNodeStateValues returns the possible values for the NodeState const type.

func (NodeState) ToPtr

func (c NodeState) ToPtr() *NodeState

ToPtr returns a *NodeState pointing to the current value.

type NodeStatus

type NodeStatus string

NodeStatus - Indicates whether the node is functioning or not.

const (
	NodeStatusDown NodeStatus = "Down"
	NodeStatusUp   NodeStatus = "Up"
)

func PossibleNodeStatusValues

func PossibleNodeStatusValues() []NodeStatus

PossibleNodeStatusValues returns the possible values for the NodeStatus const type.

func (NodeStatus) ToPtr

func (c NodeStatus) ToPtr() *NodeStatus

ToPtr returns a *NodeStatus pointing to the current value.

type NotebookWorkspace

type NotebookWorkspace struct {
	ARMProxyResource
	// Resource properties.
	Properties *NotebookWorkspaceProperties `json:"properties,omitempty"`
}

NotebookWorkspace - A notebook workspace resource

func (NotebookWorkspace) MarshalJSON

func (n NotebookWorkspace) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NotebookWorkspace.

type NotebookWorkspaceConnectionInfoResult

type NotebookWorkspaceConnectionInfoResult struct {
	// READ-ONLY; Specifies auth token used for connecting to Notebook server (uses token-based auth).
	AuthToken *string `json:"authToken,omitempty" azure:"ro"`

	// READ-ONLY; Specifies the endpoint of Notebook server.
	NotebookServerEndpoint *string `json:"notebookServerEndpoint,omitempty" azure:"ro"`
}

NotebookWorkspaceConnectionInfoResult - The connection info for the given notebook workspace

type NotebookWorkspaceCreateUpdateParameters

type NotebookWorkspaceCreateUpdateParameters struct {
	ARMProxyResource
}

NotebookWorkspaceCreateUpdateParameters - Parameters to create a notebook workspace resource

type NotebookWorkspaceListResult

type NotebookWorkspaceListResult struct {
	// Array of notebook workspace resources
	Value []*NotebookWorkspace `json:"value,omitempty"`
}

NotebookWorkspaceListResult - A list of notebook workspace resources

func (NotebookWorkspaceListResult) MarshalJSON

func (n NotebookWorkspaceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type NotebookWorkspaceListResult.

type NotebookWorkspaceName

type NotebookWorkspaceName string
const (
	NotebookWorkspaceNameDefault NotebookWorkspaceName = "default"
)

func PossibleNotebookWorkspaceNameValues

func PossibleNotebookWorkspaceNameValues() []NotebookWorkspaceName

PossibleNotebookWorkspaceNameValues returns the possible values for the NotebookWorkspaceName const type.

func (NotebookWorkspaceName) ToPtr

ToPtr returns a *NotebookWorkspaceName pointing to the current value.

type NotebookWorkspaceProperties

type NotebookWorkspaceProperties struct {
	// READ-ONLY; Specifies the endpoint of Notebook server.
	NotebookServerEndpoint *string `json:"notebookServerEndpoint,omitempty" azure:"ro"`

	// READ-ONLY; Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating.
	Status *string `json:"status,omitempty" azure:"ro"`
}

NotebookWorkspaceProperties - Properties of a notebook workspace resource.

type NotebookWorkspacesBeginCreateOrUpdateOptions

type NotebookWorkspacesBeginCreateOrUpdateOptions struct {
}

NotebookWorkspacesBeginCreateOrUpdateOptions contains the optional parameters for the NotebookWorkspaces.BeginCreateOrUpdate method.

type NotebookWorkspacesBeginDeleteOptions

type NotebookWorkspacesBeginDeleteOptions struct {
}

NotebookWorkspacesBeginDeleteOptions contains the optional parameters for the NotebookWorkspaces.BeginDelete method.

type NotebookWorkspacesBeginRegenerateAuthTokenOptions

type NotebookWorkspacesBeginRegenerateAuthTokenOptions struct {
}

NotebookWorkspacesBeginRegenerateAuthTokenOptions contains the optional parameters for the NotebookWorkspaces.BeginRegenerateAuthToken method.

type NotebookWorkspacesBeginStartOptions

type NotebookWorkspacesBeginStartOptions struct {
}

NotebookWorkspacesBeginStartOptions contains the optional parameters for the NotebookWorkspaces.BeginStart method.

type NotebookWorkspacesClient

type NotebookWorkspacesClient struct {
	// contains filtered or unexported fields
}

NotebookWorkspacesClient contains the methods for the NotebookWorkspaces group. Don't use this type directly, use NewNotebookWorkspacesClient() instead.

func NewNotebookWorkspacesClient

func NewNotebookWorkspacesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *NotebookWorkspacesClient

NewNotebookWorkspacesClient creates a new instance of NotebookWorkspacesClient with the specified values.

func (*NotebookWorkspacesClient) BeginCreateOrUpdate

func (client *NotebookWorkspacesClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName NotebookWorkspaceName, notebookCreateUpdateParameters NotebookWorkspaceCreateUpdateParameters, options *NotebookWorkspacesBeginCreateOrUpdateOptions) (NotebookWorkspacesCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Creates the notebook workspace for a Cosmos DB account. If the operation fails it returns the *ErrorResponse error type.

func (*NotebookWorkspacesClient) BeginDelete

func (client *NotebookWorkspacesClient) BeginDelete(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName NotebookWorkspaceName, options *NotebookWorkspacesBeginDeleteOptions) (NotebookWorkspacesDeletePollerResponse, error)

BeginDelete - Deletes the notebook workspace for a Cosmos DB account. If the operation fails it returns the *ErrorResponse error type.

func (*NotebookWorkspacesClient) BeginRegenerateAuthToken

func (client *NotebookWorkspacesClient) BeginRegenerateAuthToken(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName NotebookWorkspaceName, options *NotebookWorkspacesBeginRegenerateAuthTokenOptions) (NotebookWorkspacesRegenerateAuthTokenPollerResponse, error)

BeginRegenerateAuthToken - Regenerates the auth token for the notebook workspace If the operation fails it returns the *ErrorResponse error type.

func (*NotebookWorkspacesClient) BeginStart

func (client *NotebookWorkspacesClient) BeginStart(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName NotebookWorkspaceName, options *NotebookWorkspacesBeginStartOptions) (NotebookWorkspacesStartPollerResponse, error)

BeginStart - Starts the notebook workspace If the operation fails it returns the *ErrorResponse error type.

func (*NotebookWorkspacesClient) Get

func (client *NotebookWorkspacesClient) Get(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName NotebookWorkspaceName, options *NotebookWorkspacesGetOptions) (NotebookWorkspacesGetResponse, error)

Get - Gets the notebook workspace for a Cosmos DB account. If the operation fails it returns the *ErrorResponse error type.

func (*NotebookWorkspacesClient) ListByDatabaseAccount

ListByDatabaseAccount - Gets the notebook workspace resources of an existing Cosmos DB account. If the operation fails it returns the *ErrorResponse error type.

func (*NotebookWorkspacesClient) ListConnectionInfo

func (client *NotebookWorkspacesClient) ListConnectionInfo(ctx context.Context, resourceGroupName string, accountName string, notebookWorkspaceName NotebookWorkspaceName, options *NotebookWorkspacesListConnectionInfoOptions) (NotebookWorkspacesListConnectionInfoResponse, error)

ListConnectionInfo - Retrieves the connection info for the notebook workspace If the operation fails it returns the *ErrorResponse error type.

type NotebookWorkspacesCreateOrUpdatePoller

type NotebookWorkspacesCreateOrUpdatePoller struct {
	// contains filtered or unexported fields
}

NotebookWorkspacesCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*NotebookWorkspacesCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NotebookWorkspacesCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NotebookWorkspacesCreateOrUpdateResponse will be returned.

func (*NotebookWorkspacesCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NotebookWorkspacesCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NotebookWorkspacesCreateOrUpdatePollerResponse

type NotebookWorkspacesCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NotebookWorkspacesCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesCreateOrUpdatePollerResponse contains the response from method NotebookWorkspaces.CreateOrUpdate.

func (NotebookWorkspacesCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*NotebookWorkspacesCreateOrUpdatePollerResponse) Resume

Resume rehydrates a NotebookWorkspacesCreateOrUpdatePollerResponse from the provided client and resume token.

type NotebookWorkspacesCreateOrUpdateResponse

type NotebookWorkspacesCreateOrUpdateResponse struct {
	NotebookWorkspacesCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesCreateOrUpdateResponse contains the response from method NotebookWorkspaces.CreateOrUpdate.

type NotebookWorkspacesCreateOrUpdateResult

type NotebookWorkspacesCreateOrUpdateResult struct {
	NotebookWorkspace
}

NotebookWorkspacesCreateOrUpdateResult contains the result from method NotebookWorkspaces.CreateOrUpdate.

type NotebookWorkspacesDeletePoller

type NotebookWorkspacesDeletePoller struct {
	// contains filtered or unexported fields
}

NotebookWorkspacesDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*NotebookWorkspacesDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NotebookWorkspacesDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NotebookWorkspacesDeleteResponse will be returned.

func (*NotebookWorkspacesDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NotebookWorkspacesDeletePoller) ResumeToken

func (p *NotebookWorkspacesDeletePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NotebookWorkspacesDeletePollerResponse

type NotebookWorkspacesDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NotebookWorkspacesDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesDeletePollerResponse contains the response from method NotebookWorkspaces.Delete.

func (NotebookWorkspacesDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*NotebookWorkspacesDeletePollerResponse) Resume

Resume rehydrates a NotebookWorkspacesDeletePollerResponse from the provided client and resume token.

type NotebookWorkspacesDeleteResponse

type NotebookWorkspacesDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesDeleteResponse contains the response from method NotebookWorkspaces.Delete.

type NotebookWorkspacesGetOptions

type NotebookWorkspacesGetOptions struct {
}

NotebookWorkspacesGetOptions contains the optional parameters for the NotebookWorkspaces.Get method.

type NotebookWorkspacesGetResponse

type NotebookWorkspacesGetResponse struct {
	NotebookWorkspacesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesGetResponse contains the response from method NotebookWorkspaces.Get.

type NotebookWorkspacesGetResult

type NotebookWorkspacesGetResult struct {
	NotebookWorkspace
}

NotebookWorkspacesGetResult contains the result from method NotebookWorkspaces.Get.

type NotebookWorkspacesListByDatabaseAccountOptions

type NotebookWorkspacesListByDatabaseAccountOptions struct {
}

NotebookWorkspacesListByDatabaseAccountOptions contains the optional parameters for the NotebookWorkspaces.ListByDatabaseAccount method.

type NotebookWorkspacesListByDatabaseAccountResponse

type NotebookWorkspacesListByDatabaseAccountResponse struct {
	NotebookWorkspacesListByDatabaseAccountResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesListByDatabaseAccountResponse contains the response from method NotebookWorkspaces.ListByDatabaseAccount.

type NotebookWorkspacesListByDatabaseAccountResult

type NotebookWorkspacesListByDatabaseAccountResult struct {
	NotebookWorkspaceListResult
}

NotebookWorkspacesListByDatabaseAccountResult contains the result from method NotebookWorkspaces.ListByDatabaseAccount.

type NotebookWorkspacesListConnectionInfoOptions

type NotebookWorkspacesListConnectionInfoOptions struct {
}

NotebookWorkspacesListConnectionInfoOptions contains the optional parameters for the NotebookWorkspaces.ListConnectionInfo method.

type NotebookWorkspacesListConnectionInfoResponse

type NotebookWorkspacesListConnectionInfoResponse struct {
	NotebookWorkspacesListConnectionInfoResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesListConnectionInfoResponse contains the response from method NotebookWorkspaces.ListConnectionInfo.

type NotebookWorkspacesListConnectionInfoResult

type NotebookWorkspacesListConnectionInfoResult struct {
	NotebookWorkspaceConnectionInfoResult
}

NotebookWorkspacesListConnectionInfoResult contains the result from method NotebookWorkspaces.ListConnectionInfo.

type NotebookWorkspacesRegenerateAuthTokenPoller

type NotebookWorkspacesRegenerateAuthTokenPoller struct {
	// contains filtered or unexported fields
}

NotebookWorkspacesRegenerateAuthTokenPoller provides polling facilities until the operation reaches a terminal state.

func (*NotebookWorkspacesRegenerateAuthTokenPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NotebookWorkspacesRegenerateAuthTokenPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NotebookWorkspacesRegenerateAuthTokenResponse will be returned.

func (*NotebookWorkspacesRegenerateAuthTokenPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NotebookWorkspacesRegenerateAuthTokenPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NotebookWorkspacesRegenerateAuthTokenPollerResponse

type NotebookWorkspacesRegenerateAuthTokenPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NotebookWorkspacesRegenerateAuthTokenPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesRegenerateAuthTokenPollerResponse contains the response from method NotebookWorkspaces.RegenerateAuthToken.

func (NotebookWorkspacesRegenerateAuthTokenPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*NotebookWorkspacesRegenerateAuthTokenPollerResponse) Resume

Resume rehydrates a NotebookWorkspacesRegenerateAuthTokenPollerResponse from the provided client and resume token.

type NotebookWorkspacesRegenerateAuthTokenResponse

type NotebookWorkspacesRegenerateAuthTokenResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesRegenerateAuthTokenResponse contains the response from method NotebookWorkspaces.RegenerateAuthToken.

type NotebookWorkspacesStartPoller

type NotebookWorkspacesStartPoller struct {
	// contains filtered or unexported fields
}

NotebookWorkspacesStartPoller provides polling facilities until the operation reaches a terminal state.

func (*NotebookWorkspacesStartPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*NotebookWorkspacesStartPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final NotebookWorkspacesStartResponse will be returned.

func (*NotebookWorkspacesStartPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*NotebookWorkspacesStartPoller) ResumeToken

func (p *NotebookWorkspacesStartPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type NotebookWorkspacesStartPollerResponse

type NotebookWorkspacesStartPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *NotebookWorkspacesStartPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesStartPollerResponse contains the response from method NotebookWorkspaces.Start.

func (NotebookWorkspacesStartPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*NotebookWorkspacesStartPollerResponse) Resume

Resume rehydrates a NotebookWorkspacesStartPollerResponse from the provided client and resume token.

type NotebookWorkspacesStartResponse

type NotebookWorkspacesStartResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

NotebookWorkspacesStartResponse contains the response from method NotebookWorkspaces.Start.

type Operation

type Operation struct {
	// The object that represents the operation.
	Display *OperationDisplay `json:"display,omitempty"`

	// Operation name: {provider}/{resource}/{operation}
	Name *string `json:"name,omitempty"`
}

Operation - REST API operation

type OperationDisplay

type OperationDisplay struct {
	// Description of operation
	Description *string `json:"Description,omitempty"`

	// Operation type: Read, write, delete, etc.
	Operation *string `json:"Operation,omitempty"`

	// Service provider: Microsoft.ResourceProvider
	Provider *string `json:"Provider,omitempty"`

	// Resource on which the operation is performed: Profile, endpoint, etc.
	Resource *string `json:"Resource,omitempty"`
}

OperationDisplay - The object that represents the operation.

type OperationListResult

type OperationListResult struct {
	// URL to get the next set of operation list results if there are any.
	NextLink *string `json:"nextLink,omitempty"`

	// List of operations supported by the Resource Provider.
	Value []*Operation `json:"value,omitempty"`
}

OperationListResult - Result of the request to list Resource Provider operations. It contains a list of operations and a URL link to get the next set of results.

func (OperationListResult) MarshalJSON

func (o OperationListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type OperationListResult.

type OperationType

type OperationType string

OperationType - Enum to indicate the operation type of the event.

const (
	OperationTypeCreate          OperationType = "Create"
	OperationTypeDelete          OperationType = "Delete"
	OperationTypeReplace         OperationType = "Replace"
	OperationTypeSystemOperation OperationType = "SystemOperation"
)

func PossibleOperationTypeValues

func PossibleOperationTypeValues() []OperationType

PossibleOperationTypeValues returns the possible values for the OperationType const type.

func (OperationType) ToPtr

func (c OperationType) ToPtr() *OperationType

ToPtr returns a *OperationType pointing to the current value.

type OperationsClient

type OperationsClient struct {
	// contains filtered or unexported fields
}

OperationsClient contains the methods for the Operations group. Don't use this type directly, use NewOperationsClient() instead.

func NewOperationsClient

func NewOperationsClient(credential azcore.TokenCredential, options *arm.ClientOptions) *OperationsClient

NewOperationsClient creates a new instance of OperationsClient with the specified values.

func (*OperationsClient) List

List - Lists all of the available Cosmos DB Resource Provider operations. If the operation fails it returns a generic error.

type OperationsListOptions

type OperationsListOptions struct {
}

OperationsListOptions contains the optional parameters for the Operations.List method.

type OperationsListPager

type OperationsListPager struct {
	// contains filtered or unexported fields
}

OperationsListPager provides operations for iterating over paged responses.

func (*OperationsListPager) Err

func (p *OperationsListPager) Err() error

Err returns the last error encountered while paging.

func (*OperationsListPager) NextPage

func (p *OperationsListPager) NextPage(ctx context.Context) bool

NextPage returns true if the pager advanced to the next page. Returns false if there are no more pages or an error occurred.

func (*OperationsListPager) PageResponse

func (p *OperationsListPager) PageResponse() OperationsListResponse

PageResponse returns the current OperationsListResponse page.

type OperationsListResponse

type OperationsListResponse struct {
	OperationsListResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

OperationsListResponse contains the response from method Operations.List.

type OperationsListResult

type OperationsListResult struct {
	OperationListResult
}

OperationsListResult contains the result from method Operations.List.

type OptionsResource

type OptionsResource struct {
	// Specifies the Autoscale settings.
	AutoscaleSettings *AutoscaleSettings `json:"autoscaleSettings,omitempty"`

	// Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details.
	Throughput *int32 `json:"throughput,omitempty"`
}

OptionsResource - Cosmos DB options resource object

type PartitionKeyRangeIDClient

type PartitionKeyRangeIDClient struct {
	// contains filtered or unexported fields
}

PartitionKeyRangeIDClient contains the methods for the PartitionKeyRangeID group. Don't use this type directly, use NewPartitionKeyRangeIDClient() instead.

func NewPartitionKeyRangeIDClient

func NewPartitionKeyRangeIDClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PartitionKeyRangeIDClient

NewPartitionKeyRangeIDClient creates a new instance of PartitionKeyRangeIDClient with the specified values.

func (*PartitionKeyRangeIDClient) ListMetrics

func (client *PartitionKeyRangeIDClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string, options *PartitionKeyRangeIDListMetricsOptions) (PartitionKeyRangeIDListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given partition key range id. If the operation fails it returns a generic error.

type PartitionKeyRangeIDListMetricsOptions

type PartitionKeyRangeIDListMetricsOptions struct {
}

PartitionKeyRangeIDListMetricsOptions contains the optional parameters for the PartitionKeyRangeID.ListMetrics method.

type PartitionKeyRangeIDListMetricsResponse

type PartitionKeyRangeIDListMetricsResponse struct {
	PartitionKeyRangeIDListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PartitionKeyRangeIDListMetricsResponse contains the response from method PartitionKeyRangeID.ListMetrics.

type PartitionKeyRangeIDListMetricsResult

type PartitionKeyRangeIDListMetricsResult struct {
	PartitionMetricListResult
}

PartitionKeyRangeIDListMetricsResult contains the result from method PartitionKeyRangeID.ListMetrics.

type PartitionKeyRangeIDRegionClient

type PartitionKeyRangeIDRegionClient struct {
	// contains filtered or unexported fields
}

PartitionKeyRangeIDRegionClient contains the methods for the PartitionKeyRangeIDRegion group. Don't use this type directly, use NewPartitionKeyRangeIDRegionClient() instead.

func NewPartitionKeyRangeIDRegionClient

func NewPartitionKeyRangeIDRegionClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PartitionKeyRangeIDRegionClient

NewPartitionKeyRangeIDRegionClient creates a new instance of PartitionKeyRangeIDRegionClient with the specified values.

func (*PartitionKeyRangeIDRegionClient) ListMetrics

func (client *PartitionKeyRangeIDRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string, options *PartitionKeyRangeIDRegionListMetricsOptions) (PartitionKeyRangeIDRegionListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given partition key range id and region. If the operation fails it returns a generic error.

type PartitionKeyRangeIDRegionListMetricsOptions

type PartitionKeyRangeIDRegionListMetricsOptions struct {
}

PartitionKeyRangeIDRegionListMetricsOptions contains the optional parameters for the PartitionKeyRangeIDRegion.ListMetrics method.

type PartitionKeyRangeIDRegionListMetricsResponse

type PartitionKeyRangeIDRegionListMetricsResponse struct {
	PartitionKeyRangeIDRegionListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PartitionKeyRangeIDRegionListMetricsResponse contains the response from method PartitionKeyRangeIDRegion.ListMetrics.

type PartitionKeyRangeIDRegionListMetricsResult

type PartitionKeyRangeIDRegionListMetricsResult struct {
	PartitionMetricListResult
}

PartitionKeyRangeIDRegionListMetricsResult contains the result from method PartitionKeyRangeIDRegion.ListMetrics.

type PartitionKind

type PartitionKind string

PartitionKind - Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create

const (
	PartitionKindHash      PartitionKind = "Hash"
	PartitionKindMultiHash PartitionKind = "MultiHash"
	PartitionKindRange     PartitionKind = "Range"
)

func PossiblePartitionKindValues

func PossiblePartitionKindValues() []PartitionKind

PossiblePartitionKindValues returns the possible values for the PartitionKind const type.

func (PartitionKind) ToPtr

func (c PartitionKind) ToPtr() *PartitionKind

ToPtr returns a *PartitionKind pointing to the current value.

type PartitionMetric

type PartitionMetric struct {
	Metric
	// READ-ONLY; The partition id (GUID identifier) of the metric values.
	PartitionID *string `json:"partitionId,omitempty" azure:"ro"`

	// READ-ONLY; The partition key range id (integer identifier) of the metric values.
	PartitionKeyRangeID *string `json:"partitionKeyRangeId,omitempty" azure:"ro"`
}

PartitionMetric - The metric values for a single partition.

func (PartitionMetric) MarshalJSON

func (p PartitionMetric) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PartitionMetric.

func (*PartitionMetric) UnmarshalJSON

func (p *PartitionMetric) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PartitionMetric.

type PartitionMetricListResult

type PartitionMetricListResult struct {
	// READ-ONLY; The list of partition-level metrics for the account.
	Value []*PartitionMetric `json:"value,omitempty" azure:"ro"`
}

PartitionMetricListResult - The response to a list partition metrics request.

func (PartitionMetricListResult) MarshalJSON

func (p PartitionMetricListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PartitionMetricListResult.

type PartitionUsage

type PartitionUsage struct {
	Usage
	// READ-ONLY; The partition id (GUID identifier) of the usages.
	PartitionID *string `json:"partitionId,omitempty" azure:"ro"`

	// READ-ONLY; The partition key range id (integer identifier) of the usages.
	PartitionKeyRangeID *string `json:"partitionKeyRangeId,omitempty" azure:"ro"`
}

PartitionUsage - The partition level usage data for a usage request.

type PartitionUsagesResult

type PartitionUsagesResult struct {
	// READ-ONLY; The list of partition-level usages for the database. A usage is a point in time metric
	Value []*PartitionUsage `json:"value,omitempty" azure:"ro"`
}

PartitionUsagesResult - The response to a list partition level usage request.

func (PartitionUsagesResult) MarshalJSON

func (p PartitionUsagesResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PartitionUsagesResult.

type PercentileClient

type PercentileClient struct {
	// contains filtered or unexported fields
}

PercentileClient contains the methods for the Percentile group. Don't use this type directly, use NewPercentileClient() instead.

func NewPercentileClient

func NewPercentileClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PercentileClient

NewPercentileClient creates a new instance of PercentileClient with the specified values.

func (*PercentileClient) ListMetrics

func (client *PercentileClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, filter string, options *PercentileListMetricsOptions) (PercentileListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given database account. This url is only for PBS and Replication Latency data If the operation fails it returns a generic error.

type PercentileListMetricsOptions

type PercentileListMetricsOptions struct {
}

PercentileListMetricsOptions contains the optional parameters for the Percentile.ListMetrics method.

type PercentileListMetricsResponse

type PercentileListMetricsResponse struct {
	PercentileListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PercentileListMetricsResponse contains the response from method Percentile.ListMetrics.

type PercentileListMetricsResult

type PercentileListMetricsResult struct {
	PercentileMetricListResult
}

PercentileListMetricsResult contains the result from method Percentile.ListMetrics.

type PercentileMetric

type PercentileMetric struct {
	// READ-ONLY; The end time for the metric (ISO-8601 format).
	EndTime *time.Time `json:"endTime,omitempty" azure:"ro"`

	// READ-ONLY; The percentile metric values for the specified time window and timestep.
	MetricValues []*PercentileMetricValue `json:"metricValues,omitempty" azure:"ro"`

	// READ-ONLY; The name information for the metric.
	Name *MetricName `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The start time for the metric (ISO-8601 format).
	StartTime *time.Time `json:"startTime,omitempty" azure:"ro"`

	// READ-ONLY; The time grain to be used to summarize the metric values.
	TimeGrain *string `json:"timeGrain,omitempty" azure:"ro"`

	// READ-ONLY; The unit of the metric.
	Unit *UnitType `json:"unit,omitempty" azure:"ro"`
}

PercentileMetric - Percentile Metric data

func (PercentileMetric) MarshalJSON

func (p PercentileMetric) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PercentileMetric.

func (*PercentileMetric) UnmarshalJSON

func (p *PercentileMetric) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PercentileMetric.

type PercentileMetricListResult

type PercentileMetricListResult struct {
	// READ-ONLY; The list of percentile metrics for the account.
	Value []*PercentileMetric `json:"value,omitempty" azure:"ro"`
}

PercentileMetricListResult - The response to a list percentile metrics request.

func (PercentileMetricListResult) MarshalJSON

func (p PercentileMetricListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PercentileMetricListResult.

type PercentileMetricValue

type PercentileMetricValue struct {
	MetricValue
	// READ-ONLY; The 10th percentile value for the metric.
	P10 *float64 `json:"P10,omitempty" azure:"ro"`

	// READ-ONLY; The 25th percentile value for the metric.
	P25 *float64 `json:"P25,omitempty" azure:"ro"`

	// READ-ONLY; The 50th percentile value for the metric.
	P50 *float64 `json:"P50,omitempty" azure:"ro"`

	// READ-ONLY; The 75th percentile value for the metric.
	P75 *float64 `json:"P75,omitempty" azure:"ro"`

	// READ-ONLY; The 90th percentile value for the metric.
	P90 *float64 `json:"P90,omitempty" azure:"ro"`

	// READ-ONLY; The 95th percentile value for the metric.
	P95 *float64 `json:"P95,omitempty" azure:"ro"`

	// READ-ONLY; The 99th percentile value for the metric.
	P99 *float64 `json:"P99,omitempty" azure:"ro"`
}

PercentileMetricValue - Represents percentile metrics values.

func (PercentileMetricValue) MarshalJSON

func (p PercentileMetricValue) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PercentileMetricValue.

func (*PercentileMetricValue) UnmarshalJSON

func (p *PercentileMetricValue) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PercentileMetricValue.

type PercentileSourceTargetClient

type PercentileSourceTargetClient struct {
	// contains filtered or unexported fields
}

PercentileSourceTargetClient contains the methods for the PercentileSourceTarget group. Don't use this type directly, use NewPercentileSourceTargetClient() instead.

func NewPercentileSourceTargetClient

func NewPercentileSourceTargetClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PercentileSourceTargetClient

NewPercentileSourceTargetClient creates a new instance of PercentileSourceTargetClient with the specified values.

func (*PercentileSourceTargetClient) ListMetrics

func (client *PercentileSourceTargetClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, sourceRegion string, targetRegion string, filter string, options *PercentileSourceTargetListMetricsOptions) (PercentileSourceTargetListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given account, source and target region. This url is only for PBS and Replication Latency data If the operation fails it returns a generic error.

type PercentileSourceTargetListMetricsOptions

type PercentileSourceTargetListMetricsOptions struct {
}

PercentileSourceTargetListMetricsOptions contains the optional parameters for the PercentileSourceTarget.ListMetrics method.

type PercentileSourceTargetListMetricsResponse

type PercentileSourceTargetListMetricsResponse struct {
	PercentileSourceTargetListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PercentileSourceTargetListMetricsResponse contains the response from method PercentileSourceTarget.ListMetrics.

type PercentileSourceTargetListMetricsResult

type PercentileSourceTargetListMetricsResult struct {
	PercentileMetricListResult
}

PercentileSourceTargetListMetricsResult contains the result from method PercentileSourceTarget.ListMetrics.

type PercentileTargetClient

type PercentileTargetClient struct {
	// contains filtered or unexported fields
}

PercentileTargetClient contains the methods for the PercentileTarget group. Don't use this type directly, use NewPercentileTargetClient() instead.

func NewPercentileTargetClient

func NewPercentileTargetClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PercentileTargetClient

NewPercentileTargetClient creates a new instance of PercentileTargetClient with the specified values.

func (*PercentileTargetClient) ListMetrics

func (client *PercentileTargetClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, targetRegion string, filter string, options *PercentileTargetListMetricsOptions) (PercentileTargetListMetricsResponse, error)

ListMetrics - Retrieves the metrics determined by the given filter for the given account target region. This url is only for PBS and Replication Latency data If the operation fails it returns a generic error.

type PercentileTargetListMetricsOptions

type PercentileTargetListMetricsOptions struct {
}

PercentileTargetListMetricsOptions contains the optional parameters for the PercentileTarget.ListMetrics method.

type PercentileTargetListMetricsResponse

type PercentileTargetListMetricsResponse struct {
	PercentileTargetListMetricsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PercentileTargetListMetricsResponse contains the response from method PercentileTarget.ListMetrics.

type PercentileTargetListMetricsResult

type PercentileTargetListMetricsResult struct {
	PercentileMetricListResult
}

PercentileTargetListMetricsResult contains the result from method PercentileTarget.ListMetrics.

type PeriodicModeBackupPolicy

type PeriodicModeBackupPolicy struct {
	BackupPolicy
	// Configuration values for periodic mode backup
	PeriodicModeProperties *PeriodicModeProperties `json:"periodicModeProperties,omitempty"`
}

PeriodicModeBackupPolicy - The object representing periodic mode backup policy.

func (PeriodicModeBackupPolicy) MarshalJSON

func (p PeriodicModeBackupPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PeriodicModeBackupPolicy.

func (*PeriodicModeBackupPolicy) UnmarshalJSON

func (p *PeriodicModeBackupPolicy) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type PeriodicModeBackupPolicy.

type PeriodicModeProperties

type PeriodicModeProperties struct {
	// An integer representing the interval in minutes between two backups
	BackupIntervalInMinutes *int32 `json:"backupIntervalInMinutes,omitempty"`

	// An integer representing the time (in hours) that each backup is retained
	BackupRetentionIntervalInHours *int32 `json:"backupRetentionIntervalInHours,omitempty"`

	// Enum to indicate type of backup residency
	BackupStorageRedundancy *BackupStorageRedundancy `json:"backupStorageRedundancy,omitempty"`
}

PeriodicModeProperties - Configuration values for periodic mode backup

type Permission

type Permission struct {
	// An array of data actions that are allowed.
	DataActions []*string `json:"dataActions,omitempty"`

	// An array of data actions that are denied.
	NotDataActions []*string `json:"notDataActions,omitempty"`
}

Permission - The set of data plane operations permitted through this Role Definition.

func (Permission) MarshalJSON

func (p Permission) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type Permission.

type PrimaryAggregationType

type PrimaryAggregationType string

PrimaryAggregationType - The primary aggregation type of the metric.

const (
	PrimaryAggregationTypeAverage PrimaryAggregationType = "Average"
	PrimaryAggregationTypeLast    PrimaryAggregationType = "Last"
	PrimaryAggregationTypeMaximum PrimaryAggregationType = "Maximum"
	PrimaryAggregationTypeMinimum PrimaryAggregationType = "Minimum"
	PrimaryAggregationTypeNone    PrimaryAggregationType = "None"
	PrimaryAggregationTypeTotal   PrimaryAggregationType = "Total"
)

func PossiblePrimaryAggregationTypeValues

func PossiblePrimaryAggregationTypeValues() []PrimaryAggregationType

PossiblePrimaryAggregationTypeValues returns the possible values for the PrimaryAggregationType const type.

func (PrimaryAggregationType) ToPtr

ToPtr returns a *PrimaryAggregationType pointing to the current value.

type PrivateEndpointConnection

type PrivateEndpointConnection struct {
	ProxyResource
	// Resource properties.
	Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"`
}

PrivateEndpointConnection - A private endpoint connection

type PrivateEndpointConnectionListResult

type PrivateEndpointConnectionListResult struct {
	// Array of private endpoint connections
	Value []*PrivateEndpointConnection `json:"value,omitempty"`
}

PrivateEndpointConnectionListResult - A list of private endpoint connections

func (PrivateEndpointConnectionListResult) MarshalJSON

func (p PrivateEndpointConnectionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateEndpointConnectionListResult.

type PrivateEndpointConnectionProperties

type PrivateEndpointConnectionProperties struct {
	// Group id of the private endpoint.
	GroupID *string `json:"groupId,omitempty"`

	// Private endpoint which the connection belongs to.
	PrivateEndpoint *PrivateEndpointProperty `json:"privateEndpoint,omitempty"`

	// Connection State of the Private Endpoint Connection.
	PrivateLinkServiceConnectionState *PrivateLinkServiceConnectionStateProperty `json:"privateLinkServiceConnectionState,omitempty"`

	// Provisioning state of the private endpoint.
	ProvisioningState *string `json:"provisioningState,omitempty"`
}

PrivateEndpointConnectionProperties - Properties of a private endpoint connection.

type PrivateEndpointConnectionsBeginCreateOrUpdateOptions

type PrivateEndpointConnectionsBeginCreateOrUpdateOptions struct {
}

PrivateEndpointConnectionsBeginCreateOrUpdateOptions contains the optional parameters for the PrivateEndpointConnections.BeginCreateOrUpdate method.

type PrivateEndpointConnectionsBeginDeleteOptions

type PrivateEndpointConnectionsBeginDeleteOptions struct {
}

PrivateEndpointConnectionsBeginDeleteOptions contains the optional parameters for the PrivateEndpointConnections.BeginDelete method.

type PrivateEndpointConnectionsClient

type PrivateEndpointConnectionsClient struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionsClient contains the methods for the PrivateEndpointConnections group. Don't use this type directly, use NewPrivateEndpointConnectionsClient() instead.

func NewPrivateEndpointConnectionsClient

func NewPrivateEndpointConnectionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PrivateEndpointConnectionsClient

NewPrivateEndpointConnectionsClient creates a new instance of PrivateEndpointConnectionsClient with the specified values.

func (*PrivateEndpointConnectionsClient) BeginCreateOrUpdate

func (client *PrivateEndpointConnectionsClient) BeginCreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, parameters PrivateEndpointConnection, options *PrivateEndpointConnectionsBeginCreateOrUpdateOptions) (PrivateEndpointConnectionsCreateOrUpdatePollerResponse, error)

BeginCreateOrUpdate - Approve or reject a private endpoint connection with a given name. If the operation fails it returns the *ErrorResponse error type.

func (*PrivateEndpointConnectionsClient) BeginDelete

func (client *PrivateEndpointConnectionsClient) BeginDelete(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *PrivateEndpointConnectionsBeginDeleteOptions) (PrivateEndpointConnectionsDeletePollerResponse, error)

BeginDelete - Deletes a private endpoint connection with a given name. If the operation fails it returns the *ErrorResponse error type.

func (*PrivateEndpointConnectionsClient) Get

func (client *PrivateEndpointConnectionsClient) Get(ctx context.Context, resourceGroupName string, accountName string, privateEndpointConnectionName string, options *PrivateEndpointConnectionsGetOptions) (PrivateEndpointConnectionsGetResponse, error)

Get - Gets a private endpoint connection. If the operation fails it returns a generic error.

func (*PrivateEndpointConnectionsClient) ListByDatabaseAccount

ListByDatabaseAccount - List all private endpoint connections on a Cosmos DB account. If the operation fails it returns a generic error.

type PrivateEndpointConnectionsCreateOrUpdatePoller

type PrivateEndpointConnectionsCreateOrUpdatePoller struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionsCreateOrUpdatePoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateEndpointConnectionsCreateOrUpdatePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateEndpointConnectionsCreateOrUpdatePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateEndpointConnectionsCreateOrUpdateResponse will be returned.

func (*PrivateEndpointConnectionsCreateOrUpdatePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateEndpointConnectionsCreateOrUpdatePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateEndpointConnectionsCreateOrUpdatePollerResponse

type PrivateEndpointConnectionsCreateOrUpdatePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateEndpointConnectionsCreateOrUpdatePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointConnectionsCreateOrUpdatePollerResponse contains the response from method PrivateEndpointConnections.CreateOrUpdate.

func (PrivateEndpointConnectionsCreateOrUpdatePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*PrivateEndpointConnectionsCreateOrUpdatePollerResponse) Resume

Resume rehydrates a PrivateEndpointConnectionsCreateOrUpdatePollerResponse from the provided client and resume token.

type PrivateEndpointConnectionsCreateOrUpdateResponse

type PrivateEndpointConnectionsCreateOrUpdateResponse struct {
	PrivateEndpointConnectionsCreateOrUpdateResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointConnectionsCreateOrUpdateResponse contains the response from method PrivateEndpointConnections.CreateOrUpdate.

type PrivateEndpointConnectionsCreateOrUpdateResult

type PrivateEndpointConnectionsCreateOrUpdateResult struct {
	PrivateEndpointConnection
}

PrivateEndpointConnectionsCreateOrUpdateResult contains the result from method PrivateEndpointConnections.CreateOrUpdate.

type PrivateEndpointConnectionsDeletePoller

type PrivateEndpointConnectionsDeletePoller struct {
	// contains filtered or unexported fields
}

PrivateEndpointConnectionsDeletePoller provides polling facilities until the operation reaches a terminal state.

func (*PrivateEndpointConnectionsDeletePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*PrivateEndpointConnectionsDeletePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final PrivateEndpointConnectionsDeleteResponse will be returned.

func (*PrivateEndpointConnectionsDeletePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*PrivateEndpointConnectionsDeletePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type PrivateEndpointConnectionsDeletePollerResponse

type PrivateEndpointConnectionsDeletePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *PrivateEndpointConnectionsDeletePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointConnectionsDeletePollerResponse contains the response from method PrivateEndpointConnections.Delete.

func (PrivateEndpointConnectionsDeletePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*PrivateEndpointConnectionsDeletePollerResponse) Resume

Resume rehydrates a PrivateEndpointConnectionsDeletePollerResponse from the provided client and resume token.

type PrivateEndpointConnectionsDeleteResponse

type PrivateEndpointConnectionsDeleteResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointConnectionsDeleteResponse contains the response from method PrivateEndpointConnections.Delete.

type PrivateEndpointConnectionsGetOptions

type PrivateEndpointConnectionsGetOptions struct {
}

PrivateEndpointConnectionsGetOptions contains the optional parameters for the PrivateEndpointConnections.Get method.

type PrivateEndpointConnectionsGetResponse

type PrivateEndpointConnectionsGetResponse struct {
	PrivateEndpointConnectionsGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointConnectionsGetResponse contains the response from method PrivateEndpointConnections.Get.

type PrivateEndpointConnectionsGetResult

type PrivateEndpointConnectionsGetResult struct {
	PrivateEndpointConnection
}

PrivateEndpointConnectionsGetResult contains the result from method PrivateEndpointConnections.Get.

type PrivateEndpointConnectionsListByDatabaseAccountOptions

type PrivateEndpointConnectionsListByDatabaseAccountOptions struct {
}

PrivateEndpointConnectionsListByDatabaseAccountOptions contains the optional parameters for the PrivateEndpointConnections.ListByDatabaseAccount method.

type PrivateEndpointConnectionsListByDatabaseAccountResponse

type PrivateEndpointConnectionsListByDatabaseAccountResponse struct {
	PrivateEndpointConnectionsListByDatabaseAccountResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateEndpointConnectionsListByDatabaseAccountResponse contains the response from method PrivateEndpointConnections.ListByDatabaseAccount.

type PrivateEndpointConnectionsListByDatabaseAccountResult

type PrivateEndpointConnectionsListByDatabaseAccountResult struct {
	PrivateEndpointConnectionListResult
}

PrivateEndpointConnectionsListByDatabaseAccountResult contains the result from method PrivateEndpointConnections.ListByDatabaseAccount.

type PrivateEndpointProperty

type PrivateEndpointProperty struct {
	// Resource id of the private endpoint.
	ID *string `json:"id,omitempty"`
}

PrivateEndpointProperty - Private endpoint which the connection belongs to.

type PrivateLinkResource

type PrivateLinkResource struct {
	ARMProxyResource
	// Resource properties.
	Properties *PrivateLinkResourceProperties `json:"properties,omitempty"`
}

PrivateLinkResource - A private link resource

func (PrivateLinkResource) MarshalJSON

func (p PrivateLinkResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResource.

type PrivateLinkResourceListResult

type PrivateLinkResourceListResult struct {
	// Array of private link resources
	Value []*PrivateLinkResource `json:"value,omitempty"`
}

PrivateLinkResourceListResult - A list of private link resources

func (PrivateLinkResourceListResult) MarshalJSON

func (p PrivateLinkResourceListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResourceListResult.

type PrivateLinkResourceProperties

type PrivateLinkResourceProperties struct {
	// READ-ONLY; The private link resource group id.
	GroupID *string `json:"groupId,omitempty" azure:"ro"`

	// READ-ONLY; The private link resource required member names.
	RequiredMembers []*string `json:"requiredMembers,omitempty" azure:"ro"`

	// READ-ONLY; The private link resource required zone names.
	RequiredZoneNames []*string `json:"requiredZoneNames,omitempty" azure:"ro"`
}

PrivateLinkResourceProperties - Properties of a private link resource.

func (PrivateLinkResourceProperties) MarshalJSON

func (p PrivateLinkResourceProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type PrivateLinkResourceProperties.

type PrivateLinkResourcesClient

type PrivateLinkResourcesClient struct {
	// contains filtered or unexported fields
}

PrivateLinkResourcesClient contains the methods for the PrivateLinkResources group. Don't use this type directly, use NewPrivateLinkResourcesClient() instead.

func NewPrivateLinkResourcesClient

func NewPrivateLinkResourcesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *PrivateLinkResourcesClient

NewPrivateLinkResourcesClient creates a new instance of PrivateLinkResourcesClient with the specified values.

func (*PrivateLinkResourcesClient) Get

func (client *PrivateLinkResourcesClient) Get(ctx context.Context, resourceGroupName string, accountName string, groupName string, options *PrivateLinkResourcesGetOptions) (PrivateLinkResourcesGetResponse, error)

Get - Gets the private link resources that need to be created for a Cosmos DB account. If the operation fails it returns a generic error.

func (*PrivateLinkResourcesClient) ListByDatabaseAccount

ListByDatabaseAccount - Gets the private link resources that need to be created for a Cosmos DB account. If the operation fails it returns a generic error.

type PrivateLinkResourcesGetOptions

type PrivateLinkResourcesGetOptions struct {
}

PrivateLinkResourcesGetOptions contains the optional parameters for the PrivateLinkResources.Get method.

type PrivateLinkResourcesGetResponse

type PrivateLinkResourcesGetResponse struct {
	PrivateLinkResourcesGetResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkResourcesGetResponse contains the response from method PrivateLinkResources.Get.

type PrivateLinkResourcesGetResult

type PrivateLinkResourcesGetResult struct {
	PrivateLinkResource
}

PrivateLinkResourcesGetResult contains the result from method PrivateLinkResources.Get.

type PrivateLinkResourcesListByDatabaseAccountOptions

type PrivateLinkResourcesListByDatabaseAccountOptions struct {
}

PrivateLinkResourcesListByDatabaseAccountOptions contains the optional parameters for the PrivateLinkResources.ListByDatabaseAccount method.

type PrivateLinkResourcesListByDatabaseAccountResponse

type PrivateLinkResourcesListByDatabaseAccountResponse struct {
	PrivateLinkResourcesListByDatabaseAccountResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

PrivateLinkResourcesListByDatabaseAccountResponse contains the response from method PrivateLinkResources.ListByDatabaseAccount.

type PrivateLinkResourcesListByDatabaseAccountResult

type PrivateLinkResourcesListByDatabaseAccountResult struct {
	PrivateLinkResourceListResult
}

PrivateLinkResourcesListByDatabaseAccountResult contains the result from method PrivateLinkResources.ListByDatabaseAccount.

type PrivateLinkServiceConnectionStateProperty

type PrivateLinkServiceConnectionStateProperty struct {
	// The private link service connection description.
	Description *string `json:"description,omitempty"`

	// The private link service connection status.
	Status *string `json:"status,omitempty"`

	// READ-ONLY; Any action that is required beyond basic workflow (approve/ reject/ disconnect)
	ActionsRequired *string `json:"actionsRequired,omitempty" azure:"ro"`
}

PrivateLinkServiceConnectionStateProperty - Connection State of the Private Endpoint Connection.

type ProxyResource

type ProxyResource struct {
	Resource
}

ProxyResource - The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location

type PublicNetworkAccess

type PublicNetworkAccess string

PublicNetworkAccess - Whether requests from Public Network are allowed

const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

func PossiblePublicNetworkAccessValues

func PossiblePublicNetworkAccessValues() []PublicNetworkAccess

PossiblePublicNetworkAccessValues returns the possible values for the PublicNetworkAccess const type.

func (PublicNetworkAccess) ToPtr

ToPtr returns a *PublicNetworkAccess pointing to the current value.

type RegionForOnlineOffline

type RegionForOnlineOffline struct {
	// REQUIRED; Cosmos DB region, with spaces between words and each word capitalized.
	Region *string `json:"region,omitempty"`
}

RegionForOnlineOffline - Cosmos DB region to online or offline.

type Resource

type Resource struct {
	// READ-ONLY; Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the resource
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
	Type *string `json:"type,omitempty" azure:"ro"`
}

Resource - Common fields that are returned in the response for all Azure Resource Manager resources

type ResourceIdentityType

type ResourceIdentityType string

ResourceIdentityType - The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service.

const (
	ResourceIdentityTypeSystemAssigned             ResourceIdentityType = "SystemAssigned"
	ResourceIdentityTypeUserAssigned               ResourceIdentityType = "UserAssigned"
	ResourceIdentityTypeSystemAssignedUserAssigned ResourceIdentityType = "SystemAssigned,UserAssigned"
	ResourceIdentityTypeNone                       ResourceIdentityType = "None"
)

func PossibleResourceIdentityTypeValues

func PossibleResourceIdentityTypeValues() []ResourceIdentityType

PossibleResourceIdentityTypeValues returns the possible values for the ResourceIdentityType const type.

func (ResourceIdentityType) ToPtr

ToPtr returns a *ResourceIdentityType pointing to the current value.

type RestorableDatabaseAccountGetResult

type RestorableDatabaseAccountGetResult struct {
	// The location of the resource group to which the resource belongs.
	Location *string `json:"location,omitempty"`

	// The properties of a restorable database account.
	Properties *RestorableDatabaseAccountProperties `json:"properties,omitempty"`

	// READ-ONLY; The unique resource identifier of the ARM resource.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the ARM resource.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of Azure resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RestorableDatabaseAccountGetResult - A Azure Cosmos DB restorable database account.

type RestorableDatabaseAccountProperties

type RestorableDatabaseAccountProperties struct {
	// The name of the global database account
	AccountName *string `json:"accountName,omitempty"`

	// The creation time of the restorable database account (ISO-8601 format).
	CreationTime *time.Time `json:"creationTime,omitempty"`

	// The time at which the restorable database account has been deleted (ISO-8601 format).
	DeletionTime *time.Time `json:"deletionTime,omitempty"`

	// READ-ONLY; The API type of the restorable database account.
	APIType *APIType `json:"apiType,omitempty" azure:"ro"`

	// READ-ONLY; List of regions where the of the database account can be restored from.
	RestorableLocations []*RestorableLocationResource `json:"restorableLocations,omitempty" azure:"ro"`
}

RestorableDatabaseAccountProperties - The properties of a restorable database account.

func (RestorableDatabaseAccountProperties) MarshalJSON

func (r RestorableDatabaseAccountProperties) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableDatabaseAccountProperties.

func (*RestorableDatabaseAccountProperties) UnmarshalJSON

func (r *RestorableDatabaseAccountProperties) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RestorableDatabaseAccountProperties.

type RestorableDatabaseAccountsClient

type RestorableDatabaseAccountsClient struct {
	// contains filtered or unexported fields
}

RestorableDatabaseAccountsClient contains the methods for the RestorableDatabaseAccounts group. Don't use this type directly, use NewRestorableDatabaseAccountsClient() instead.

func NewRestorableDatabaseAccountsClient

func NewRestorableDatabaseAccountsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RestorableDatabaseAccountsClient

NewRestorableDatabaseAccountsClient creates a new instance of RestorableDatabaseAccountsClient with the specified values.

func (*RestorableDatabaseAccountsClient) GetByLocation

GetByLocation - Retrieves the properties of an existing Azure Cosmos DB restorable database account. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read/*' permission. If the operation fails it returns the *CloudError error type.

func (*RestorableDatabaseAccountsClient) List

List - Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. If the operation fails it returns the *CloudError error type.

func (*RestorableDatabaseAccountsClient) ListByLocation

ListByLocation - Lists all the restorable Azure Cosmos DB database accounts available under the subscription and in a region. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission. If the operation fails it returns the *CloudError error type.

type RestorableDatabaseAccountsGetByLocationOptions

type RestorableDatabaseAccountsGetByLocationOptions struct {
}

RestorableDatabaseAccountsGetByLocationOptions contains the optional parameters for the RestorableDatabaseAccounts.GetByLocation method.

type RestorableDatabaseAccountsGetByLocationResponse

type RestorableDatabaseAccountsGetByLocationResponse struct {
	RestorableDatabaseAccountsGetByLocationResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableDatabaseAccountsGetByLocationResponse contains the response from method RestorableDatabaseAccounts.GetByLocation.

type RestorableDatabaseAccountsGetByLocationResult

type RestorableDatabaseAccountsGetByLocationResult struct {
	RestorableDatabaseAccountGetResult
}

RestorableDatabaseAccountsGetByLocationResult contains the result from method RestorableDatabaseAccounts.GetByLocation.

type RestorableDatabaseAccountsListByLocationOptions

type RestorableDatabaseAccountsListByLocationOptions struct {
}

RestorableDatabaseAccountsListByLocationOptions contains the optional parameters for the RestorableDatabaseAccounts.ListByLocation method.

type RestorableDatabaseAccountsListByLocationResponse

type RestorableDatabaseAccountsListByLocationResponse struct {
	RestorableDatabaseAccountsListByLocationResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableDatabaseAccountsListByLocationResponse contains the response from method RestorableDatabaseAccounts.ListByLocation.

type RestorableDatabaseAccountsListByLocationResult

type RestorableDatabaseAccountsListByLocationResult struct {
	RestorableDatabaseAccountsListResult
}

RestorableDatabaseAccountsListByLocationResult contains the result from method RestorableDatabaseAccounts.ListByLocation.

type RestorableDatabaseAccountsListOptions

type RestorableDatabaseAccountsListOptions struct {
}

RestorableDatabaseAccountsListOptions contains the optional parameters for the RestorableDatabaseAccounts.List method.

type RestorableDatabaseAccountsListResponse

type RestorableDatabaseAccountsListResponse struct {
	RestorableDatabaseAccountsListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableDatabaseAccountsListResponse contains the response from method RestorableDatabaseAccounts.List.

type RestorableDatabaseAccountsListResult

type RestorableDatabaseAccountsListResult struct {
	// READ-ONLY; List of restorable database accounts and their properties.
	Value []*RestorableDatabaseAccountGetResult `json:"value,omitempty" azure:"ro"`
}

RestorableDatabaseAccountsListResult - The List operation response, that contains the restorable database accounts and their properties.

func (RestorableDatabaseAccountsListResult) MarshalJSON

func (r RestorableDatabaseAccountsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableDatabaseAccountsListResult.

type RestorableDatabaseAccountsListResultEnvelope

type RestorableDatabaseAccountsListResultEnvelope struct {
	RestorableDatabaseAccountsListResult
}

RestorableDatabaseAccountsListResultEnvelope contains the result from method RestorableDatabaseAccounts.List.

type RestorableLocationResource

type RestorableLocationResource struct {
	// READ-ONLY; The creation time of the regional restorable database account (ISO-8601 format).
	CreationTime *time.Time `json:"creationTime,omitempty" azure:"ro"`

	// READ-ONLY; The time at which the regional restorable database account has been deleted (ISO-8601 format).
	DeletionTime *time.Time `json:"deletionTime,omitempty" azure:"ro"`

	// READ-ONLY; The location of the regional restorable account.
	LocationName *string `json:"locationName,omitempty" azure:"ro"`

	// READ-ONLY; The instance id of the regional restorable account.
	RegionalDatabaseAccountInstanceID *string `json:"regionalDatabaseAccountInstanceId,omitempty" azure:"ro"`
}

RestorableLocationResource - Properties of the regional restorable account.

func (RestorableLocationResource) MarshalJSON

func (r RestorableLocationResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableLocationResource.

func (*RestorableLocationResource) UnmarshalJSON

func (r *RestorableLocationResource) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RestorableLocationResource.

type RestorableMongodbCollectionGetResult

type RestorableMongodbCollectionGetResult struct {
	// The properties of a MongoDB collection event.
	Properties *RestorableMongodbCollectionProperties `json:"properties,omitempty"`

	// READ-ONLY; The unique resource Identifier of the ARM resource.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the ARM resource.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of Azure resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RestorableMongodbCollectionGetResult - An Azure Cosmos DB MongoDB collection event

type RestorableMongodbCollectionProperties

type RestorableMongodbCollectionProperties struct {
	// The resource of an Azure Cosmos DB MongoDB collection event
	Resource *RestorableMongodbCollectionPropertiesResource `json:"resource,omitempty"`
}

RestorableMongodbCollectionProperties - The properties of an Azure Cosmos DB MongoDB collection event

type RestorableMongodbCollectionPropertiesResource

type RestorableMongodbCollectionPropertiesResource struct {
	// READ-ONLY; The time when this collection event happened.
	EventTimestamp *string `json:"eventTimestamp,omitempty" azure:"ro"`

	// READ-ONLY; The operation type of this collection event.
	OperationType *OperationType `json:"operationType,omitempty" azure:"ro"`

	// READ-ONLY; The name of this MongoDB collection.
	OwnerID *string `json:"ownerId,omitempty" azure:"ro"`

	// READ-ONLY; The resource ID of this MongoDB collection.
	OwnerResourceID *string `json:"ownerResourceId,omitempty" azure:"ro"`

	// READ-ONLY; A system generated property. A unique identifier.
	Rid *string `json:"_rid,omitempty" azure:"ro"`
}

RestorableMongodbCollectionPropertiesResource - The resource of an Azure Cosmos DB MongoDB collection event

type RestorableMongodbCollectionsClient

type RestorableMongodbCollectionsClient struct {
	// contains filtered or unexported fields
}

RestorableMongodbCollectionsClient contains the methods for the RestorableMongodbCollections group. Don't use this type directly, use NewRestorableMongodbCollectionsClient() instead.

func NewRestorableMongodbCollectionsClient

func NewRestorableMongodbCollectionsClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RestorableMongodbCollectionsClient

NewRestorableMongodbCollectionsClient creates a new instance of RestorableMongodbCollectionsClient with the specified values.

func (*RestorableMongodbCollectionsClient) List

List - Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB collections under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/…/read' permission If the operation fails it returns the *CloudError error type.

type RestorableMongodbCollectionsListOptions

type RestorableMongodbCollectionsListOptions struct {
	// The resource ID of the MongoDB database.
	RestorableMongodbDatabaseRid *string
}

RestorableMongodbCollectionsListOptions contains the optional parameters for the RestorableMongodbCollections.List method.

type RestorableMongodbCollectionsListResponse

type RestorableMongodbCollectionsListResponse struct {
	RestorableMongodbCollectionsListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableMongodbCollectionsListResponse contains the response from method RestorableMongodbCollections.List.

type RestorableMongodbCollectionsListResult

type RestorableMongodbCollectionsListResult struct {
	// READ-ONLY; List of MongoDB collection events and their properties.
	Value []*RestorableMongodbCollectionGetResult `json:"value,omitempty" azure:"ro"`
}

RestorableMongodbCollectionsListResult - The List operation response, that contains the MongoDB collection events and their properties.

func (RestorableMongodbCollectionsListResult) MarshalJSON

func (r RestorableMongodbCollectionsListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableMongodbCollectionsListResult.

type RestorableMongodbCollectionsListResultEnvelope

type RestorableMongodbCollectionsListResultEnvelope struct {
	RestorableMongodbCollectionsListResult
}

RestorableMongodbCollectionsListResultEnvelope contains the result from method RestorableMongodbCollections.List.

type RestorableMongodbDatabaseGetResult

type RestorableMongodbDatabaseGetResult struct {
	// The properties of a MongoDB database event.
	Properties *RestorableMongodbDatabaseProperties `json:"properties,omitempty"`

	// READ-ONLY; The unique resource Identifier of the ARM resource.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the ARM resource.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of Azure resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RestorableMongodbDatabaseGetResult - An Azure Cosmos DB MongoDB database event

type RestorableMongodbDatabaseProperties

type RestorableMongodbDatabaseProperties struct {
	// The resource of an Azure Cosmos DB MongoDB database event
	Resource *RestorableMongodbDatabasePropertiesResource `json:"resource,omitempty"`
}

RestorableMongodbDatabaseProperties - The properties of an Azure Cosmos DB MongoDB database event

type RestorableMongodbDatabasePropertiesResource

type RestorableMongodbDatabasePropertiesResource struct {
	// READ-ONLY; The time when this database event happened.
	EventTimestamp *string `json:"eventTimestamp,omitempty" azure:"ro"`

	// READ-ONLY; The operation type of this database event.
	OperationType *OperationType `json:"operationType,omitempty" azure:"ro"`

	// READ-ONLY; The name of this MongoDB database.
	OwnerID *string `json:"ownerId,omitempty" azure:"ro"`

	// READ-ONLY; The resource ID of this MongoDB database.
	OwnerResourceID *string `json:"ownerResourceId,omitempty" azure:"ro"`

	// READ-ONLY; A system generated property. A unique identifier.
	Rid *string `json:"_rid,omitempty" azure:"ro"`
}

RestorableMongodbDatabasePropertiesResource - The resource of an Azure Cosmos DB MongoDB database event

type RestorableMongodbDatabasesClient

type RestorableMongodbDatabasesClient struct {
	// contains filtered or unexported fields
}

RestorableMongodbDatabasesClient contains the methods for the RestorableMongodbDatabases group. Don't use this type directly, use NewRestorableMongodbDatabasesClient() instead.

func NewRestorableMongodbDatabasesClient

func NewRestorableMongodbDatabasesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RestorableMongodbDatabasesClient

NewRestorableMongodbDatabasesClient creates a new instance of RestorableMongodbDatabasesClient with the specified values.

func (*RestorableMongodbDatabasesClient) List

List - Show the event feed of all mutations done on all the Azure Cosmos DB MongoDB databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/…/read' permission If the operation fails it returns the *CloudError error type.

type RestorableMongodbDatabasesListOptions

type RestorableMongodbDatabasesListOptions struct {
}

RestorableMongodbDatabasesListOptions contains the optional parameters for the RestorableMongodbDatabases.List method.

type RestorableMongodbDatabasesListResponse

type RestorableMongodbDatabasesListResponse struct {
	RestorableMongodbDatabasesListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableMongodbDatabasesListResponse contains the response from method RestorableMongodbDatabases.List.

type RestorableMongodbDatabasesListResult

type RestorableMongodbDatabasesListResult struct {
	// READ-ONLY; List of MongoDB database events and their properties.
	Value []*RestorableMongodbDatabaseGetResult `json:"value,omitempty" azure:"ro"`
}

RestorableMongodbDatabasesListResult - The List operation response, that contains the MongoDB database events and their properties.

func (RestorableMongodbDatabasesListResult) MarshalJSON

func (r RestorableMongodbDatabasesListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableMongodbDatabasesListResult.

type RestorableMongodbDatabasesListResultEnvelope

type RestorableMongodbDatabasesListResultEnvelope struct {
	RestorableMongodbDatabasesListResult
}

RestorableMongodbDatabasesListResultEnvelope contains the result from method RestorableMongodbDatabases.List.

type RestorableMongodbResourcesClient

type RestorableMongodbResourcesClient struct {
	// contains filtered or unexported fields
}

RestorableMongodbResourcesClient contains the methods for the RestorableMongodbResources group. Don't use this type directly, use NewRestorableMongodbResourcesClient() instead.

func NewRestorableMongodbResourcesClient

func NewRestorableMongodbResourcesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RestorableMongodbResourcesClient

NewRestorableMongodbResourcesClient creates a new instance of RestorableMongodbResourcesClient with the specified values.

func (*RestorableMongodbResourcesClient) List

List - Return a list of database and collection combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/…/read' permission. If the operation fails it returns the *CloudError error type.

type RestorableMongodbResourcesListOptions

type RestorableMongodbResourcesListOptions struct {
	// The location where the restorable resources are located.
	RestoreLocation *string
	// The timestamp when the restorable resources existed.
	RestoreTimestampInUTC *string
}

RestorableMongodbResourcesListOptions contains the optional parameters for the RestorableMongodbResources.List method.

type RestorableMongodbResourcesListResponse

type RestorableMongodbResourcesListResponse struct {
	RestorableMongodbResourcesListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableMongodbResourcesListResponse contains the response from method RestorableMongodbResources.List.

type RestorableMongodbResourcesListResult

type RestorableMongodbResourcesListResult struct {
	// READ-ONLY; List of restorable MongoDB resources, including the database and collection names.
	Value []*DatabaseRestoreResource `json:"value,omitempty" azure:"ro"`
}

RestorableMongodbResourcesListResult - The List operation response, that contains the restorable MongoDB resources.

func (RestorableMongodbResourcesListResult) MarshalJSON

func (r RestorableMongodbResourcesListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableMongodbResourcesListResult.

type RestorableMongodbResourcesListResultEnvelope

type RestorableMongodbResourcesListResultEnvelope struct {
	RestorableMongodbResourcesListResult
}

RestorableMongodbResourcesListResultEnvelope contains the result from method RestorableMongodbResources.List.

type RestorableSQLContainerGetResult

type RestorableSQLContainerGetResult struct {
	// The properties of a SQL container event.
	Properties *RestorableSQLContainerProperties `json:"properties,omitempty"`

	// READ-ONLY; The unique resource Identifier of the ARM resource.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the ARM resource.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of Azure resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RestorableSQLContainerGetResult - An Azure Cosmos DB SQL container event

type RestorableSQLContainerProperties

type RestorableSQLContainerProperties struct {
	// The resource of an Azure Cosmos DB SQL container event
	Resource *RestorableSQLContainerPropertiesResource `json:"resource,omitempty"`
}

RestorableSQLContainerProperties - The properties of an Azure Cosmos DB SQL container event

type RestorableSQLContainerPropertiesResource

type RestorableSQLContainerPropertiesResource struct {
	// Cosmos DB SQL container resource object
	Container *RestorableSQLContainerPropertiesResourceContainer `json:"container,omitempty"`

	// READ-ONLY; The when this container event happened.
	EventTimestamp *string `json:"eventTimestamp,omitempty" azure:"ro"`

	// READ-ONLY; The operation type of this container event.
	OperationType *OperationType `json:"operationType,omitempty" azure:"ro"`

	// READ-ONLY; The name of this SQL container.
	OwnerID *string `json:"ownerId,omitempty" azure:"ro"`

	// READ-ONLY; The resource ID of this SQL container.
	OwnerResourceID *string `json:"ownerResourceId,omitempty" azure:"ro"`

	// READ-ONLY; A system generated property. A unique identifier.
	Rid *string `json:"_rid,omitempty" azure:"ro"`
}

RestorableSQLContainerPropertiesResource - The resource of an Azure Cosmos DB SQL container event

type RestorableSQLContainerPropertiesResourceContainer

type RestorableSQLContainerPropertiesResourceContainer struct {
	ExtendedResourceProperties
	SQLContainerResource
	// READ-ONLY; A system generated property that specifies the addressable path of the container resource.
	Self *string `json:"_self,omitempty" azure:"ro"`
}

RestorableSQLContainerPropertiesResourceContainer - Cosmos DB SQL container resource object

func (RestorableSQLContainerPropertiesResourceContainer) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RestorableSQLContainerPropertiesResourceContainer.

type RestorableSQLContainersClient

type RestorableSQLContainersClient struct {
	// contains filtered or unexported fields
}

RestorableSQLContainersClient contains the methods for the RestorableSQLContainers group. Don't use this type directly, use NewRestorableSQLContainersClient() instead.

func NewRestorableSQLContainersClient

func NewRestorableSQLContainersClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RestorableSQLContainersClient

NewRestorableSQLContainersClient creates a new instance of RestorableSQLContainersClient with the specified values.

func (*RestorableSQLContainersClient) List

List - Show the event feed of all mutations done on all the Azure Cosmos DB SQL containers under a specific database. This helps in scenario where container was accidentally deleted. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/…/read' permission If the operation fails it returns the *CloudError error type.

type RestorableSQLContainersListOptions

type RestorableSQLContainersListOptions struct {
	// The snapshot create timestamp before which snapshots need to be listed.
	EndTime *string
	// The resource ID of the SQL database.
	RestorableSQLDatabaseRid *string
	// The snapshot create timestamp after which snapshots need to be listed.
	StartTime *string
}

RestorableSQLContainersListOptions contains the optional parameters for the RestorableSQLContainers.List method.

type RestorableSQLContainersListResponse

type RestorableSQLContainersListResponse struct {
	RestorableSQLContainersListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableSQLContainersListResponse contains the response from method RestorableSQLContainers.List.

type RestorableSQLContainersListResult

type RestorableSQLContainersListResult struct {
	// READ-ONLY; List of SQL container events and their properties.
	Value []*RestorableSQLContainerGetResult `json:"value,omitempty" azure:"ro"`
}

RestorableSQLContainersListResult - The List operation response, that contains the SQL container events and their properties.

func (RestorableSQLContainersListResult) MarshalJSON

func (r RestorableSQLContainersListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableSQLContainersListResult.

type RestorableSQLContainersListResultEnvelope

type RestorableSQLContainersListResultEnvelope struct {
	RestorableSQLContainersListResult
}

RestorableSQLContainersListResultEnvelope contains the result from method RestorableSQLContainers.List.

type RestorableSQLDatabaseGetResult

type RestorableSQLDatabaseGetResult struct {
	// The properties of a SQL database event.
	Properties *RestorableSQLDatabaseProperties `json:"properties,omitempty"`

	// READ-ONLY; The unique resource Identifier of the ARM resource.
	ID *string `json:"id,omitempty" azure:"ro"`

	// READ-ONLY; The name of the ARM resource.
	Name *string `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The type of Azure resource.
	Type *string `json:"type,omitempty" azure:"ro"`
}

RestorableSQLDatabaseGetResult - An Azure Cosmos DB SQL database event

type RestorableSQLDatabaseProperties

type RestorableSQLDatabaseProperties struct {
	// The resource of an Azure Cosmos DB SQL database event
	Resource *RestorableSQLDatabasePropertiesResource `json:"resource,omitempty"`
}

RestorableSQLDatabaseProperties - The properties of an Azure Cosmos DB SQL database event

type RestorableSQLDatabasePropertiesResource

type RestorableSQLDatabasePropertiesResource struct {
	// Cosmos DB SQL database resource object
	Database *RestorableSQLDatabasePropertiesResourceDatabase `json:"database,omitempty"`

	// READ-ONLY; The time when this database event happened.
	EventTimestamp *string `json:"eventTimestamp,omitempty" azure:"ro"`

	// READ-ONLY; The operation type of this database event.
	OperationType *OperationType `json:"operationType,omitempty" azure:"ro"`

	// READ-ONLY; The name of the SQL database.
	OwnerID *string `json:"ownerId,omitempty" azure:"ro"`

	// READ-ONLY; The resource ID of the SQL database.
	OwnerResourceID *string `json:"ownerResourceId,omitempty" azure:"ro"`

	// READ-ONLY; A system generated property. A unique identifier.
	Rid *string `json:"_rid,omitempty" azure:"ro"`
}

RestorableSQLDatabasePropertiesResource - The resource of an Azure Cosmos DB SQL database event

type RestorableSQLDatabasePropertiesResourceDatabase

type RestorableSQLDatabasePropertiesResourceDatabase struct {
	ExtendedResourceProperties
	SQLDatabaseResource
	// READ-ONLY; A system generated property that specified the addressable path of the collections resource.
	Colls *string `json:"_colls,omitempty" azure:"ro"`

	// READ-ONLY; A system generated property that specifies the addressable path of the database resource.
	Self *string `json:"_self,omitempty" azure:"ro"`

	// READ-ONLY; A system generated property that specifies the addressable path of the users resource.
	Users *string `json:"_users,omitempty" azure:"ro"`
}

RestorableSQLDatabasePropertiesResourceDatabase - Cosmos DB SQL database resource object

func (RestorableSQLDatabasePropertiesResourceDatabase) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type RestorableSQLDatabasePropertiesResourceDatabase.

type RestorableSQLDatabasesClient

type RestorableSQLDatabasesClient struct {
	// contains filtered or unexported fields
}

RestorableSQLDatabasesClient contains the methods for the RestorableSQLDatabases group. Don't use this type directly, use NewRestorableSQLDatabasesClient() instead.

func NewRestorableSQLDatabasesClient

func NewRestorableSQLDatabasesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RestorableSQLDatabasesClient

NewRestorableSQLDatabasesClient creates a new instance of RestorableSQLDatabasesClient with the specified values.

func (*RestorableSQLDatabasesClient) List

List - Show the event feed of all mutations done on all the Azure Cosmos DB SQL databases under the restorable account. This helps in scenario where database was accidentally deleted to get the deletion time. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/…/read' permission If the operation fails it returns the *CloudError error type.

type RestorableSQLDatabasesListOptions

type RestorableSQLDatabasesListOptions struct {
}

RestorableSQLDatabasesListOptions contains the optional parameters for the RestorableSQLDatabases.List method.

type RestorableSQLDatabasesListResponse

type RestorableSQLDatabasesListResponse struct {
	RestorableSQLDatabasesListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableSQLDatabasesListResponse contains the response from method RestorableSQLDatabases.List.

type RestorableSQLDatabasesListResult

type RestorableSQLDatabasesListResult struct {
	// READ-ONLY; List of SQL database events and their properties.
	Value []*RestorableSQLDatabaseGetResult `json:"value,omitempty" azure:"ro"`
}

RestorableSQLDatabasesListResult - The List operation response, that contains the SQL database events and their properties.

func (RestorableSQLDatabasesListResult) MarshalJSON

func (r RestorableSQLDatabasesListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableSQLDatabasesListResult.

type RestorableSQLDatabasesListResultEnvelope

type RestorableSQLDatabasesListResultEnvelope struct {
	RestorableSQLDatabasesListResult
}

RestorableSQLDatabasesListResultEnvelope contains the result from method RestorableSQLDatabases.List.

type RestorableSQLResourcesClient

type RestorableSQLResourcesClient struct {
	// contains filtered or unexported fields
}

RestorableSQLResourcesClient contains the methods for the RestorableSQLResources group. Don't use this type directly, use NewRestorableSQLResourcesClient() instead.

func NewRestorableSQLResourcesClient

func NewRestorableSQLResourcesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *RestorableSQLResourcesClient

NewRestorableSQLResourcesClient creates a new instance of RestorableSQLResourcesClient with the specified values.

func (*RestorableSQLResourcesClient) List

List - Return a list of database and container combo that exist on the account at the given timestamp and location. This helps in scenarios to validate what resources exist at given timestamp and location. This API requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/…/read' permission. If the operation fails it returns the *CloudError error type.

type RestorableSQLResourcesListOptions

type RestorableSQLResourcesListOptions struct {
	// The location where the restorable resources are located.
	RestoreLocation *string
	// The timestamp when the restorable resources existed.
	RestoreTimestampInUTC *string
}

RestorableSQLResourcesListOptions contains the optional parameters for the RestorableSQLResources.List method.

type RestorableSQLResourcesListResponse

type RestorableSQLResourcesListResponse struct {
	RestorableSQLResourcesListResultEnvelope
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

RestorableSQLResourcesListResponse contains the response from method RestorableSQLResources.List.

type RestorableSQLResourcesListResult

type RestorableSQLResourcesListResult struct {
	// READ-ONLY; List of restorable SQL resources, including the database and collection names.
	Value []*DatabaseRestoreResource `json:"value,omitempty" azure:"ro"`
}

RestorableSQLResourcesListResult - The List operation response, that contains the restorable SQL resources.

func (RestorableSQLResourcesListResult) MarshalJSON

func (r RestorableSQLResourcesListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestorableSQLResourcesListResult.

type RestorableSQLResourcesListResultEnvelope

type RestorableSQLResourcesListResultEnvelope struct {
	RestorableSQLResourcesListResult
}

RestorableSQLResourcesListResultEnvelope contains the result from method RestorableSQLResources.List.

type RestoreMode

type RestoreMode string

RestoreMode - Describes the mode of the restore.

const (
	RestoreModePointInTime RestoreMode = "PointInTime"
)

func PossibleRestoreModeValues

func PossibleRestoreModeValues() []RestoreMode

PossibleRestoreModeValues returns the possible values for the RestoreMode const type.

func (RestoreMode) ToPtr

func (c RestoreMode) ToPtr() *RestoreMode

ToPtr returns a *RestoreMode pointing to the current value.

type RestoreParameters

type RestoreParameters struct {
	// List of specific databases available for restore.
	DatabasesToRestore []*DatabaseRestoreResource `json:"databasesToRestore,omitempty"`

	// Describes the mode of the restore.
	RestoreMode *RestoreMode `json:"restoreMode,omitempty"`

	// The id of the restorable database account from which the restore has to be initiated. For example:
	// /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName}
	RestoreSource *string `json:"restoreSource,omitempty"`

	// Time to which the account has to be restored (ISO-8601 format).
	RestoreTimestampInUTC *time.Time `json:"restoreTimestampInUtc,omitempty"`
}

RestoreParameters - Parameters to indicate the information about the restore.

func (RestoreParameters) MarshalJSON

func (r RestoreParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type RestoreParameters.

func (*RestoreParameters) UnmarshalJSON

func (r *RestoreParameters) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type RestoreParameters.

type RoleDefinitionType

type RoleDefinitionType string

RoleDefinitionType - Indicates whether the Role Definition was built-in or user created.

const (
	RoleDefinitionTypeBuiltInRole RoleDefinitionType = "BuiltInRole"
	RoleDefinitionTypeCustomRole  RoleDefinitionType = "CustomRole"
)

func PossibleRoleDefinitionTypeValues

func PossibleRoleDefinitionTypeValues() []RoleDefinitionType

PossibleRoleDefinitionTypeValues returns the possible values for the RoleDefinitionType const type.

func (RoleDefinitionType) ToPtr

ToPtr returns a *RoleDefinitionType pointing to the current value.

type SQLContainerCreateUpdateParameters

type SQLContainerCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB container.
	Properties *SQLContainerCreateUpdateProperties `json:"properties,omitempty"`
}

SQLContainerCreateUpdateParameters - Parameters to create and update Cosmos DB container.

func (SQLContainerCreateUpdateParameters) MarshalJSON

func (s SQLContainerCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLContainerCreateUpdateParameters.

type SQLContainerCreateUpdateProperties

type SQLContainerCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a container
	Resource *SQLContainerResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

SQLContainerCreateUpdateProperties - Properties to create and update Azure Cosmos DB container.

type SQLContainerGetProperties

type SQLContainerGetProperties struct {
	Options  *SQLContainerGetPropertiesOptions  `json:"options,omitempty"`
	Resource *SQLContainerGetPropertiesResource `json:"resource,omitempty"`
}

SQLContainerGetProperties - The properties of an Azure Cosmos DB container

type SQLContainerGetPropertiesOptions

type SQLContainerGetPropertiesOptions struct {
	OptionsResource
}

type SQLContainerGetPropertiesResource

type SQLContainerGetPropertiesResource struct {
	ExtendedResourceProperties
	SQLContainerResource
}

type SQLContainerGetResults

type SQLContainerGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB container
	Properties *SQLContainerGetProperties `json:"properties,omitempty"`
}

SQLContainerGetResults - An Azure Cosmos DB container.

func (SQLContainerGetResults) MarshalJSON

func (s SQLContainerGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLContainerGetResults.

type SQLContainerListResult

type SQLContainerListResult struct {
	// READ-ONLY; List of containers and their properties.
	Value []*SQLContainerGetResults `json:"value,omitempty" azure:"ro"`
}

SQLContainerListResult - The List operation response, that contains the containers and their properties.

func (SQLContainerListResult) MarshalJSON

func (s SQLContainerListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLContainerListResult.

type SQLContainerResource

type SQLContainerResource struct {
	// REQUIRED; Name of the Cosmos DB SQL container
	ID *string `json:"id,omitempty"`

	// Analytical TTL.
	AnalyticalStorageTTL *int64 `json:"analyticalStorageTtl,omitempty"`

	// The conflict resolution policy for the container.
	ConflictResolutionPolicy *ConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"`

	// Default time to live
	DefaultTTL *int32 `json:"defaultTtl,omitempty"`

	// The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container
	IndexingPolicy *IndexingPolicy `json:"indexingPolicy,omitempty"`

	// The configuration of the partition key to be used for partitioning data into multiple partitions
	PartitionKey *ContainerPartitionKey `json:"partitionKey,omitempty"`

	// The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.
	UniqueKeyPolicy *UniqueKeyPolicy `json:"uniqueKeyPolicy,omitempty"`
}

SQLContainerResource - Cosmos DB SQL container resource object

func (SQLContainerResource) MarshalJSON

func (s SQLContainerResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLContainerResource.

type SQLDatabaseCreateUpdateParameters

type SQLDatabaseCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB SQL database.
	Properties *SQLDatabaseCreateUpdateProperties `json:"properties,omitempty"`
}

SQLDatabaseCreateUpdateParameters - Parameters to create and update Cosmos DB SQL database.

func (SQLDatabaseCreateUpdateParameters) MarshalJSON

func (s SQLDatabaseCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLDatabaseCreateUpdateParameters.

type SQLDatabaseCreateUpdateProperties

type SQLDatabaseCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a SQL database
	Resource *SQLDatabaseResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

SQLDatabaseCreateUpdateProperties - Properties to create and update Azure Cosmos DB SQL database.

type SQLDatabaseGetProperties

type SQLDatabaseGetProperties struct {
	Options  *SQLDatabaseGetPropertiesOptions  `json:"options,omitempty"`
	Resource *SQLDatabaseGetPropertiesResource `json:"resource,omitempty"`
}

SQLDatabaseGetProperties - The properties of an Azure Cosmos DB SQL database

type SQLDatabaseGetPropertiesOptions

type SQLDatabaseGetPropertiesOptions struct {
	OptionsResource
}

type SQLDatabaseGetPropertiesResource

type SQLDatabaseGetPropertiesResource struct {
	ExtendedResourceProperties
	SQLDatabaseResource
	// A system generated property that specified the addressable path of the collections resource.
	Colls *string `json:"_colls,omitempty"`

	// A system generated property that specifies the addressable path of the users resource.
	Users *string `json:"_users,omitempty"`
}

func (SQLDatabaseGetPropertiesResource) MarshalJSON

func (s SQLDatabaseGetPropertiesResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLDatabaseGetPropertiesResource.

type SQLDatabaseGetResults

type SQLDatabaseGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB SQL database
	Properties *SQLDatabaseGetProperties `json:"properties,omitempty"`
}

SQLDatabaseGetResults - An Azure Cosmos DB SQL database.

func (SQLDatabaseGetResults) MarshalJSON

func (s SQLDatabaseGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLDatabaseGetResults.

type SQLDatabaseListResult

type SQLDatabaseListResult struct {
	// READ-ONLY; List of SQL databases and their properties.
	Value []*SQLDatabaseGetResults `json:"value,omitempty" azure:"ro"`
}

SQLDatabaseListResult - The List operation response, that contains the SQL databases and their properties.

func (SQLDatabaseListResult) MarshalJSON

func (s SQLDatabaseListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLDatabaseListResult.

type SQLDatabaseResource

type SQLDatabaseResource struct {
	// REQUIRED; Name of the Cosmos DB SQL database
	ID *string `json:"id,omitempty"`
}

SQLDatabaseResource - Cosmos DB SQL database resource object

func (SQLDatabaseResource) MarshalJSON

func (s SQLDatabaseResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLDatabaseResource.

type SQLResourcesBeginCreateUpdateSQLContainerOptions

type SQLResourcesBeginCreateUpdateSQLContainerOptions struct {
}

SQLResourcesBeginCreateUpdateSQLContainerOptions contains the optional parameters for the SQLResources.BeginCreateUpdateSQLContainer method.

type SQLResourcesBeginCreateUpdateSQLDatabaseOptions

type SQLResourcesBeginCreateUpdateSQLDatabaseOptions struct {
}

SQLResourcesBeginCreateUpdateSQLDatabaseOptions contains the optional parameters for the SQLResources.BeginCreateUpdateSQLDatabase method.

type SQLResourcesBeginCreateUpdateSQLRoleAssignmentOptions

type SQLResourcesBeginCreateUpdateSQLRoleAssignmentOptions struct {
}

SQLResourcesBeginCreateUpdateSQLRoleAssignmentOptions contains the optional parameters for the SQLResources.BeginCreateUpdateSQLRoleAssignment method.

type SQLResourcesBeginCreateUpdateSQLRoleDefinitionOptions

type SQLResourcesBeginCreateUpdateSQLRoleDefinitionOptions struct {
}

SQLResourcesBeginCreateUpdateSQLRoleDefinitionOptions contains the optional parameters for the SQLResources.BeginCreateUpdateSQLRoleDefinition method.

type SQLResourcesBeginCreateUpdateSQLStoredProcedureOptions

type SQLResourcesBeginCreateUpdateSQLStoredProcedureOptions struct {
}

SQLResourcesBeginCreateUpdateSQLStoredProcedureOptions contains the optional parameters for the SQLResources.BeginCreateUpdateSQLStoredProcedure method.

type SQLResourcesBeginCreateUpdateSQLTriggerOptions

type SQLResourcesBeginCreateUpdateSQLTriggerOptions struct {
}

SQLResourcesBeginCreateUpdateSQLTriggerOptions contains the optional parameters for the SQLResources.BeginCreateUpdateSQLTrigger method.

type SQLResourcesBeginCreateUpdateSQLUserDefinedFunctionOptions

type SQLResourcesBeginCreateUpdateSQLUserDefinedFunctionOptions struct {
}

SQLResourcesBeginCreateUpdateSQLUserDefinedFunctionOptions contains the optional parameters for the SQLResources.BeginCreateUpdateSQLUserDefinedFunction method.

type SQLResourcesBeginDeleteSQLContainerOptions

type SQLResourcesBeginDeleteSQLContainerOptions struct {
}

SQLResourcesBeginDeleteSQLContainerOptions contains the optional parameters for the SQLResources.BeginDeleteSQLContainer method.

type SQLResourcesBeginDeleteSQLDatabaseOptions

type SQLResourcesBeginDeleteSQLDatabaseOptions struct {
}

SQLResourcesBeginDeleteSQLDatabaseOptions contains the optional parameters for the SQLResources.BeginDeleteSQLDatabase method.

type SQLResourcesBeginDeleteSQLRoleAssignmentOptions

type SQLResourcesBeginDeleteSQLRoleAssignmentOptions struct {
}

SQLResourcesBeginDeleteSQLRoleAssignmentOptions contains the optional parameters for the SQLResources.BeginDeleteSQLRoleAssignment method.

type SQLResourcesBeginDeleteSQLRoleDefinitionOptions

type SQLResourcesBeginDeleteSQLRoleDefinitionOptions struct {
}

SQLResourcesBeginDeleteSQLRoleDefinitionOptions contains the optional parameters for the SQLResources.BeginDeleteSQLRoleDefinition method.

type SQLResourcesBeginDeleteSQLStoredProcedureOptions

type SQLResourcesBeginDeleteSQLStoredProcedureOptions struct {
}

SQLResourcesBeginDeleteSQLStoredProcedureOptions contains the optional parameters for the SQLResources.BeginDeleteSQLStoredProcedure method.

type SQLResourcesBeginDeleteSQLTriggerOptions

type SQLResourcesBeginDeleteSQLTriggerOptions struct {
}

SQLResourcesBeginDeleteSQLTriggerOptions contains the optional parameters for the SQLResources.BeginDeleteSQLTrigger method.

type SQLResourcesBeginDeleteSQLUserDefinedFunctionOptions

type SQLResourcesBeginDeleteSQLUserDefinedFunctionOptions struct {
}

SQLResourcesBeginDeleteSQLUserDefinedFunctionOptions contains the optional parameters for the SQLResources.BeginDeleteSQLUserDefinedFunction method.

type SQLResourcesBeginMigrateSQLContainerToAutoscaleOptions

type SQLResourcesBeginMigrateSQLContainerToAutoscaleOptions struct {
}

SQLResourcesBeginMigrateSQLContainerToAutoscaleOptions contains the optional parameters for the SQLResources.BeginMigrateSQLContainerToAutoscale method.

type SQLResourcesBeginMigrateSQLContainerToManualThroughputOptions

type SQLResourcesBeginMigrateSQLContainerToManualThroughputOptions struct {
}

SQLResourcesBeginMigrateSQLContainerToManualThroughputOptions contains the optional parameters for the SQLResources.BeginMigrateSQLContainerToManualThroughput method.

type SQLResourcesBeginMigrateSQLDatabaseToAutoscaleOptions

type SQLResourcesBeginMigrateSQLDatabaseToAutoscaleOptions struct {
}

SQLResourcesBeginMigrateSQLDatabaseToAutoscaleOptions contains the optional parameters for the SQLResources.BeginMigrateSQLDatabaseToAutoscale method.

type SQLResourcesBeginMigrateSQLDatabaseToManualThroughputOptions

type SQLResourcesBeginMigrateSQLDatabaseToManualThroughputOptions struct {
}

SQLResourcesBeginMigrateSQLDatabaseToManualThroughputOptions contains the optional parameters for the SQLResources.BeginMigrateSQLDatabaseToManualThroughput method.

type SQLResourcesBeginRetrieveContinuousBackupInformationOptions

type SQLResourcesBeginRetrieveContinuousBackupInformationOptions struct {
}

SQLResourcesBeginRetrieveContinuousBackupInformationOptions contains the optional parameters for the SQLResources.BeginRetrieveContinuousBackupInformation method.

type SQLResourcesBeginUpdateSQLContainerThroughputOptions

type SQLResourcesBeginUpdateSQLContainerThroughputOptions struct {
}

SQLResourcesBeginUpdateSQLContainerThroughputOptions contains the optional parameters for the SQLResources.BeginUpdateSQLContainerThroughput method.

type SQLResourcesBeginUpdateSQLDatabaseThroughputOptions

type SQLResourcesBeginUpdateSQLDatabaseThroughputOptions struct {
}

SQLResourcesBeginUpdateSQLDatabaseThroughputOptions contains the optional parameters for the SQLResources.BeginUpdateSQLDatabaseThroughput method.

type SQLResourcesClient

type SQLResourcesClient struct {
	// contains filtered or unexported fields
}

SQLResourcesClient contains the methods for the SQLResources group. Don't use this type directly, use NewSQLResourcesClient() instead.

func NewSQLResourcesClient

func NewSQLResourcesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *SQLResourcesClient

NewSQLResourcesClient creates a new instance of SQLResourcesClient with the specified values.

func (*SQLResourcesClient) BeginCreateUpdateSQLContainer

func (client *SQLResourcesClient) BeginCreateUpdateSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, createUpdateSQLContainerParameters SQLContainerCreateUpdateParameters, options *SQLResourcesBeginCreateUpdateSQLContainerOptions) (SQLResourcesCreateUpdateSQLContainerPollerResponse, error)

BeginCreateUpdateSQLContainer - Create or update an Azure Cosmos DB SQL container If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginCreateUpdateSQLDatabase

func (client *SQLResourcesClient) BeginCreateUpdateSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateSQLDatabaseParameters SQLDatabaseCreateUpdateParameters, options *SQLResourcesBeginCreateUpdateSQLDatabaseOptions) (SQLResourcesCreateUpdateSQLDatabasePollerResponse, error)

BeginCreateUpdateSQLDatabase - Create or update an Azure Cosmos DB SQL database If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginCreateUpdateSQLRoleAssignment

func (client *SQLResourcesClient) BeginCreateUpdateSQLRoleAssignment(ctx context.Context, roleAssignmentID string, resourceGroupName string, accountName string, createUpdateSQLRoleAssignmentParameters SQLRoleAssignmentCreateUpdateParameters, options *SQLResourcesBeginCreateUpdateSQLRoleAssignmentOptions) (SQLResourcesCreateUpdateSQLRoleAssignmentPollerResponse, error)

BeginCreateUpdateSQLRoleAssignment - Creates or updates an Azure Cosmos DB SQL Role Assignment. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginCreateUpdateSQLRoleDefinition

func (client *SQLResourcesClient) BeginCreateUpdateSQLRoleDefinition(ctx context.Context, roleDefinitionID string, resourceGroupName string, accountName string, createUpdateSQLRoleDefinitionParameters SQLRoleDefinitionCreateUpdateParameters, options *SQLResourcesBeginCreateUpdateSQLRoleDefinitionOptions) (SQLResourcesCreateUpdateSQLRoleDefinitionPollerResponse, error)

BeginCreateUpdateSQLRoleDefinition - Creates or updates an Azure Cosmos DB SQL Role Definition. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginCreateUpdateSQLStoredProcedure

func (client *SQLResourcesClient) BeginCreateUpdateSQLStoredProcedure(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, storedProcedureName string, createUpdateSQLStoredProcedureParameters SQLStoredProcedureCreateUpdateParameters, options *SQLResourcesBeginCreateUpdateSQLStoredProcedureOptions) (SQLResourcesCreateUpdateSQLStoredProcedurePollerResponse, error)

BeginCreateUpdateSQLStoredProcedure - Create or update an Azure Cosmos DB SQL storedProcedure If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginCreateUpdateSQLTrigger

func (client *SQLResourcesClient) BeginCreateUpdateSQLTrigger(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, triggerName string, createUpdateSQLTriggerParameters SQLTriggerCreateUpdateParameters, options *SQLResourcesBeginCreateUpdateSQLTriggerOptions) (SQLResourcesCreateUpdateSQLTriggerPollerResponse, error)

BeginCreateUpdateSQLTrigger - Create or update an Azure Cosmos DB SQL trigger If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginCreateUpdateSQLUserDefinedFunction

func (client *SQLResourcesClient) BeginCreateUpdateSQLUserDefinedFunction(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, userDefinedFunctionName string, createUpdateSQLUserDefinedFunctionParameters SQLUserDefinedFunctionCreateUpdateParameters, options *SQLResourcesBeginCreateUpdateSQLUserDefinedFunctionOptions) (SQLResourcesCreateUpdateSQLUserDefinedFunctionPollerResponse, error)

BeginCreateUpdateSQLUserDefinedFunction - Create or update an Azure Cosmos DB SQL userDefinedFunction If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginDeleteSQLContainer

func (client *SQLResourcesClient) BeginDeleteSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *SQLResourcesBeginDeleteSQLContainerOptions) (SQLResourcesDeleteSQLContainerPollerResponse, error)

BeginDeleteSQLContainer - Deletes an existing Azure Cosmos DB SQL container. If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginDeleteSQLDatabase

func (client *SQLResourcesClient) BeginDeleteSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *SQLResourcesBeginDeleteSQLDatabaseOptions) (SQLResourcesDeleteSQLDatabasePollerResponse, error)

BeginDeleteSQLDatabase - Deletes an existing Azure Cosmos DB SQL database. If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginDeleteSQLRoleAssignment

func (client *SQLResourcesClient) BeginDeleteSQLRoleAssignment(ctx context.Context, roleAssignmentID string, resourceGroupName string, accountName string, options *SQLResourcesBeginDeleteSQLRoleAssignmentOptions) (SQLResourcesDeleteSQLRoleAssignmentPollerResponse, error)

BeginDeleteSQLRoleAssignment - Deletes an existing Azure Cosmos DB SQL Role Assignment. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginDeleteSQLRoleDefinition

func (client *SQLResourcesClient) BeginDeleteSQLRoleDefinition(ctx context.Context, roleDefinitionID string, resourceGroupName string, accountName string, options *SQLResourcesBeginDeleteSQLRoleDefinitionOptions) (SQLResourcesDeleteSQLRoleDefinitionPollerResponse, error)

BeginDeleteSQLRoleDefinition - Deletes an existing Azure Cosmos DB SQL Role Definition. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginDeleteSQLStoredProcedure

func (client *SQLResourcesClient) BeginDeleteSQLStoredProcedure(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, storedProcedureName string, options *SQLResourcesBeginDeleteSQLStoredProcedureOptions) (SQLResourcesDeleteSQLStoredProcedurePollerResponse, error)

BeginDeleteSQLStoredProcedure - Deletes an existing Azure Cosmos DB SQL storedProcedure. If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginDeleteSQLTrigger

func (client *SQLResourcesClient) BeginDeleteSQLTrigger(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, triggerName string, options *SQLResourcesBeginDeleteSQLTriggerOptions) (SQLResourcesDeleteSQLTriggerPollerResponse, error)

BeginDeleteSQLTrigger - Deletes an existing Azure Cosmos DB SQL trigger. If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginDeleteSQLUserDefinedFunction

func (client *SQLResourcesClient) BeginDeleteSQLUserDefinedFunction(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, userDefinedFunctionName string, options *SQLResourcesBeginDeleteSQLUserDefinedFunctionOptions) (SQLResourcesDeleteSQLUserDefinedFunctionPollerResponse, error)

BeginDeleteSQLUserDefinedFunction - Deletes an existing Azure Cosmos DB SQL userDefinedFunction. If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginMigrateSQLContainerToAutoscale

func (client *SQLResourcesClient) BeginMigrateSQLContainerToAutoscale(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *SQLResourcesBeginMigrateSQLContainerToAutoscaleOptions) (SQLResourcesMigrateSQLContainerToAutoscalePollerResponse, error)

BeginMigrateSQLContainerToAutoscale - Migrate an Azure Cosmos DB SQL container from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginMigrateSQLContainerToManualThroughput

func (client *SQLResourcesClient) BeginMigrateSQLContainerToManualThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *SQLResourcesBeginMigrateSQLContainerToManualThroughputOptions) (SQLResourcesMigrateSQLContainerToManualThroughputPollerResponse, error)

BeginMigrateSQLContainerToManualThroughput - Migrate an Azure Cosmos DB SQL container from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginMigrateSQLDatabaseToAutoscale

func (client *SQLResourcesClient) BeginMigrateSQLDatabaseToAutoscale(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *SQLResourcesBeginMigrateSQLDatabaseToAutoscaleOptions) (SQLResourcesMigrateSQLDatabaseToAutoscalePollerResponse, error)

BeginMigrateSQLDatabaseToAutoscale - Migrate an Azure Cosmos DB SQL database from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginMigrateSQLDatabaseToManualThroughput

func (client *SQLResourcesClient) BeginMigrateSQLDatabaseToManualThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *SQLResourcesBeginMigrateSQLDatabaseToManualThroughputOptions) (SQLResourcesMigrateSQLDatabaseToManualThroughputPollerResponse, error)

BeginMigrateSQLDatabaseToManualThroughput - Migrate an Azure Cosmos DB SQL database from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginRetrieveContinuousBackupInformation

func (client *SQLResourcesClient) BeginRetrieveContinuousBackupInformation(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, location ContinuousBackupRestoreLocation, options *SQLResourcesBeginRetrieveContinuousBackupInformationOptions) (SQLResourcesRetrieveContinuousBackupInformationPollerResponse, error)

BeginRetrieveContinuousBackupInformation - Retrieves continuous backup information for a container resource. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) BeginUpdateSQLContainerThroughput

func (client *SQLResourcesClient) BeginUpdateSQLContainerThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *SQLResourcesBeginUpdateSQLContainerThroughputOptions) (SQLResourcesUpdateSQLContainerThroughputPollerResponse, error)

BeginUpdateSQLContainerThroughput - Update RUs per second of an Azure Cosmos DB SQL container If the operation fails it returns a generic error.

func (*SQLResourcesClient) BeginUpdateSQLDatabaseThroughput

func (client *SQLResourcesClient) BeginUpdateSQLDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *SQLResourcesBeginUpdateSQLDatabaseThroughputOptions) (SQLResourcesUpdateSQLDatabaseThroughputPollerResponse, error)

BeginUpdateSQLDatabaseThroughput - Update RUs per second of an Azure Cosmos DB SQL database If the operation fails it returns a generic error.

func (*SQLResourcesClient) GetSQLContainer

func (client *SQLResourcesClient) GetSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *SQLResourcesGetSQLContainerOptions) (SQLResourcesGetSQLContainerResponse, error)

GetSQLContainer - Gets the SQL container under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*SQLResourcesClient) GetSQLContainerThroughput

func (client *SQLResourcesClient) GetSQLContainerThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *SQLResourcesGetSQLContainerThroughputOptions) (SQLResourcesGetSQLContainerThroughputResponse, error)

GetSQLContainerThroughput - Gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*SQLResourcesClient) GetSQLDatabase

func (client *SQLResourcesClient) GetSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *SQLResourcesGetSQLDatabaseOptions) (SQLResourcesGetSQLDatabaseResponse, error)

GetSQLDatabase - Gets the SQL database under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*SQLResourcesClient) GetSQLDatabaseThroughput

func (client *SQLResourcesClient) GetSQLDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *SQLResourcesGetSQLDatabaseThroughputOptions) (SQLResourcesGetSQLDatabaseThroughputResponse, error)

GetSQLDatabaseThroughput - Gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*SQLResourcesClient) GetSQLRoleAssignment

func (client *SQLResourcesClient) GetSQLRoleAssignment(ctx context.Context, roleAssignmentID string, resourceGroupName string, accountName string, options *SQLResourcesGetSQLRoleAssignmentOptions) (SQLResourcesGetSQLRoleAssignmentResponse, error)

GetSQLRoleAssignment - Retrieves the properties of an existing Azure Cosmos DB SQL Role Assignment with the given Id. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) GetSQLRoleDefinition

func (client *SQLResourcesClient) GetSQLRoleDefinition(ctx context.Context, roleDefinitionID string, resourceGroupName string, accountName string, options *SQLResourcesGetSQLRoleDefinitionOptions) (SQLResourcesGetSQLRoleDefinitionResponse, error)

GetSQLRoleDefinition - Retrieves the properties of an existing Azure Cosmos DB SQL Role Definition with the given Id. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) GetSQLStoredProcedure

func (client *SQLResourcesClient) GetSQLStoredProcedure(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, storedProcedureName string, options *SQLResourcesGetSQLStoredProcedureOptions) (SQLResourcesGetSQLStoredProcedureResponse, error)

GetSQLStoredProcedure - Gets the SQL storedProcedure under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*SQLResourcesClient) GetSQLTrigger

func (client *SQLResourcesClient) GetSQLTrigger(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, triggerName string, options *SQLResourcesGetSQLTriggerOptions) (SQLResourcesGetSQLTriggerResponse, error)

GetSQLTrigger - Gets the SQL trigger under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*SQLResourcesClient) GetSQLUserDefinedFunction

func (client *SQLResourcesClient) GetSQLUserDefinedFunction(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, userDefinedFunctionName string, options *SQLResourcesGetSQLUserDefinedFunctionOptions) (SQLResourcesGetSQLUserDefinedFunctionResponse, error)

GetSQLUserDefinedFunction - Gets the SQL userDefinedFunction under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*SQLResourcesClient) ListSQLContainers

func (client *SQLResourcesClient) ListSQLContainers(ctx context.Context, resourceGroupName string, accountName string, databaseName string, options *SQLResourcesListSQLContainersOptions) (SQLResourcesListSQLContainersResponse, error)

ListSQLContainers - Lists the SQL container under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*SQLResourcesClient) ListSQLDatabases

func (client *SQLResourcesClient) ListSQLDatabases(ctx context.Context, resourceGroupName string, accountName string, options *SQLResourcesListSQLDatabasesOptions) (SQLResourcesListSQLDatabasesResponse, error)

ListSQLDatabases - Lists the SQL databases under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*SQLResourcesClient) ListSQLRoleAssignments

func (client *SQLResourcesClient) ListSQLRoleAssignments(ctx context.Context, resourceGroupName string, accountName string, options *SQLResourcesListSQLRoleAssignmentsOptions) (SQLResourcesListSQLRoleAssignmentsResponse, error)

ListSQLRoleAssignments - Retrieves the list of all Azure Cosmos DB SQL Role Assignments. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) ListSQLRoleDefinitions

func (client *SQLResourcesClient) ListSQLRoleDefinitions(ctx context.Context, resourceGroupName string, accountName string, options *SQLResourcesListSQLRoleDefinitionsOptions) (SQLResourcesListSQLRoleDefinitionsResponse, error)

ListSQLRoleDefinitions - Retrieves the list of all Azure Cosmos DB SQL Role Definitions. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) ListSQLStoredProcedures

func (client *SQLResourcesClient) ListSQLStoredProcedures(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *SQLResourcesListSQLStoredProceduresOptions) (SQLResourcesListSQLStoredProceduresResponse, error)

ListSQLStoredProcedures - Lists the SQL storedProcedure under an existing Azure Cosmos DB database account. If the operation fails it returns the *CloudError error type.

func (*SQLResourcesClient) ListSQLTriggers

func (client *SQLResourcesClient) ListSQLTriggers(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *SQLResourcesListSQLTriggersOptions) (SQLResourcesListSQLTriggersResponse, error)

ListSQLTriggers - Lists the SQL trigger under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

func (*SQLResourcesClient) ListSQLUserDefinedFunctions

func (client *SQLResourcesClient) ListSQLUserDefinedFunctions(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, options *SQLResourcesListSQLUserDefinedFunctionsOptions) (SQLResourcesListSQLUserDefinedFunctionsResponse, error)

ListSQLUserDefinedFunctions - Lists the SQL userDefinedFunction under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

type SQLResourcesCreateUpdateSQLContainerPoller

type SQLResourcesCreateUpdateSQLContainerPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesCreateUpdateSQLContainerPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesCreateUpdateSQLContainerPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesCreateUpdateSQLContainerPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesCreateUpdateSQLContainerResponse will be returned.

func (*SQLResourcesCreateUpdateSQLContainerPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesCreateUpdateSQLContainerPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesCreateUpdateSQLContainerPollerResponse

type SQLResourcesCreateUpdateSQLContainerPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesCreateUpdateSQLContainerPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLContainerPollerResponse contains the response from method SQLResources.CreateUpdateSQLContainer.

func (SQLResourcesCreateUpdateSQLContainerPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesCreateUpdateSQLContainerPollerResponse) Resume

Resume rehydrates a SQLResourcesCreateUpdateSQLContainerPollerResponse from the provided client and resume token.

type SQLResourcesCreateUpdateSQLContainerResponse

type SQLResourcesCreateUpdateSQLContainerResponse struct {
	SQLResourcesCreateUpdateSQLContainerResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLContainerResponse contains the response from method SQLResources.CreateUpdateSQLContainer.

type SQLResourcesCreateUpdateSQLContainerResult

type SQLResourcesCreateUpdateSQLContainerResult struct {
	SQLContainerGetResults
}

SQLResourcesCreateUpdateSQLContainerResult contains the result from method SQLResources.CreateUpdateSQLContainer.

type SQLResourcesCreateUpdateSQLDatabasePoller

type SQLResourcesCreateUpdateSQLDatabasePoller struct {
	// contains filtered or unexported fields
}

SQLResourcesCreateUpdateSQLDatabasePoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesCreateUpdateSQLDatabasePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesCreateUpdateSQLDatabasePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesCreateUpdateSQLDatabaseResponse will be returned.

func (*SQLResourcesCreateUpdateSQLDatabasePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesCreateUpdateSQLDatabasePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesCreateUpdateSQLDatabasePollerResponse

type SQLResourcesCreateUpdateSQLDatabasePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesCreateUpdateSQLDatabasePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLDatabasePollerResponse contains the response from method SQLResources.CreateUpdateSQLDatabase.

func (SQLResourcesCreateUpdateSQLDatabasePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesCreateUpdateSQLDatabasePollerResponse) Resume

Resume rehydrates a SQLResourcesCreateUpdateSQLDatabasePollerResponse from the provided client and resume token.

type SQLResourcesCreateUpdateSQLDatabaseResponse

type SQLResourcesCreateUpdateSQLDatabaseResponse struct {
	SQLResourcesCreateUpdateSQLDatabaseResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLDatabaseResponse contains the response from method SQLResources.CreateUpdateSQLDatabase.

type SQLResourcesCreateUpdateSQLDatabaseResult

type SQLResourcesCreateUpdateSQLDatabaseResult struct {
	SQLDatabaseGetResults
}

SQLResourcesCreateUpdateSQLDatabaseResult contains the result from method SQLResources.CreateUpdateSQLDatabase.

type SQLResourcesCreateUpdateSQLRoleAssignmentPoller

type SQLResourcesCreateUpdateSQLRoleAssignmentPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesCreateUpdateSQLRoleAssignmentPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesCreateUpdateSQLRoleAssignmentPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesCreateUpdateSQLRoleAssignmentPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesCreateUpdateSQLRoleAssignmentResponse will be returned.

func (*SQLResourcesCreateUpdateSQLRoleAssignmentPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesCreateUpdateSQLRoleAssignmentPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesCreateUpdateSQLRoleAssignmentPollerResponse

type SQLResourcesCreateUpdateSQLRoleAssignmentPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesCreateUpdateSQLRoleAssignmentPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLRoleAssignmentPollerResponse contains the response from method SQLResources.CreateUpdateSQLRoleAssignment.

func (SQLResourcesCreateUpdateSQLRoleAssignmentPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesCreateUpdateSQLRoleAssignmentPollerResponse) Resume

Resume rehydrates a SQLResourcesCreateUpdateSQLRoleAssignmentPollerResponse from the provided client and resume token.

type SQLResourcesCreateUpdateSQLRoleAssignmentResponse

type SQLResourcesCreateUpdateSQLRoleAssignmentResponse struct {
	SQLResourcesCreateUpdateSQLRoleAssignmentResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLRoleAssignmentResponse contains the response from method SQLResources.CreateUpdateSQLRoleAssignment.

type SQLResourcesCreateUpdateSQLRoleAssignmentResult

type SQLResourcesCreateUpdateSQLRoleAssignmentResult struct {
	SQLRoleAssignmentGetResults
}

SQLResourcesCreateUpdateSQLRoleAssignmentResult contains the result from method SQLResources.CreateUpdateSQLRoleAssignment.

type SQLResourcesCreateUpdateSQLRoleDefinitionPoller

type SQLResourcesCreateUpdateSQLRoleDefinitionPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesCreateUpdateSQLRoleDefinitionPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesCreateUpdateSQLRoleDefinitionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesCreateUpdateSQLRoleDefinitionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesCreateUpdateSQLRoleDefinitionResponse will be returned.

func (*SQLResourcesCreateUpdateSQLRoleDefinitionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesCreateUpdateSQLRoleDefinitionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesCreateUpdateSQLRoleDefinitionPollerResponse

type SQLResourcesCreateUpdateSQLRoleDefinitionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesCreateUpdateSQLRoleDefinitionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLRoleDefinitionPollerResponse contains the response from method SQLResources.CreateUpdateSQLRoleDefinition.

func (SQLResourcesCreateUpdateSQLRoleDefinitionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesCreateUpdateSQLRoleDefinitionPollerResponse) Resume

Resume rehydrates a SQLResourcesCreateUpdateSQLRoleDefinitionPollerResponse from the provided client and resume token.

type SQLResourcesCreateUpdateSQLRoleDefinitionResponse

type SQLResourcesCreateUpdateSQLRoleDefinitionResponse struct {
	SQLResourcesCreateUpdateSQLRoleDefinitionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLRoleDefinitionResponse contains the response from method SQLResources.CreateUpdateSQLRoleDefinition.

type SQLResourcesCreateUpdateSQLRoleDefinitionResult

type SQLResourcesCreateUpdateSQLRoleDefinitionResult struct {
	SQLRoleDefinitionGetResults
}

SQLResourcesCreateUpdateSQLRoleDefinitionResult contains the result from method SQLResources.CreateUpdateSQLRoleDefinition.

type SQLResourcesCreateUpdateSQLStoredProcedurePoller

type SQLResourcesCreateUpdateSQLStoredProcedurePoller struct {
	// contains filtered or unexported fields
}

SQLResourcesCreateUpdateSQLStoredProcedurePoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesCreateUpdateSQLStoredProcedurePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesCreateUpdateSQLStoredProcedurePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesCreateUpdateSQLStoredProcedureResponse will be returned.

func (*SQLResourcesCreateUpdateSQLStoredProcedurePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesCreateUpdateSQLStoredProcedurePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesCreateUpdateSQLStoredProcedurePollerResponse

type SQLResourcesCreateUpdateSQLStoredProcedurePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesCreateUpdateSQLStoredProcedurePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLStoredProcedurePollerResponse contains the response from method SQLResources.CreateUpdateSQLStoredProcedure.

func (SQLResourcesCreateUpdateSQLStoredProcedurePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesCreateUpdateSQLStoredProcedurePollerResponse) Resume

Resume rehydrates a SQLResourcesCreateUpdateSQLStoredProcedurePollerResponse from the provided client and resume token.

type SQLResourcesCreateUpdateSQLStoredProcedureResponse

type SQLResourcesCreateUpdateSQLStoredProcedureResponse struct {
	SQLResourcesCreateUpdateSQLStoredProcedureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLStoredProcedureResponse contains the response from method SQLResources.CreateUpdateSQLStoredProcedure.

type SQLResourcesCreateUpdateSQLStoredProcedureResult

type SQLResourcesCreateUpdateSQLStoredProcedureResult struct {
	SQLStoredProcedureGetResults
}

SQLResourcesCreateUpdateSQLStoredProcedureResult contains the result from method SQLResources.CreateUpdateSQLStoredProcedure.

type SQLResourcesCreateUpdateSQLTriggerPoller

type SQLResourcesCreateUpdateSQLTriggerPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesCreateUpdateSQLTriggerPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesCreateUpdateSQLTriggerPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesCreateUpdateSQLTriggerPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesCreateUpdateSQLTriggerResponse will be returned.

func (*SQLResourcesCreateUpdateSQLTriggerPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesCreateUpdateSQLTriggerPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesCreateUpdateSQLTriggerPollerResponse

type SQLResourcesCreateUpdateSQLTriggerPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesCreateUpdateSQLTriggerPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLTriggerPollerResponse contains the response from method SQLResources.CreateUpdateSQLTrigger.

func (SQLResourcesCreateUpdateSQLTriggerPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesCreateUpdateSQLTriggerPollerResponse) Resume

Resume rehydrates a SQLResourcesCreateUpdateSQLTriggerPollerResponse from the provided client and resume token.

type SQLResourcesCreateUpdateSQLTriggerResponse

type SQLResourcesCreateUpdateSQLTriggerResponse struct {
	SQLResourcesCreateUpdateSQLTriggerResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLTriggerResponse contains the response from method SQLResources.CreateUpdateSQLTrigger.

type SQLResourcesCreateUpdateSQLTriggerResult

type SQLResourcesCreateUpdateSQLTriggerResult struct {
	SQLTriggerGetResults
}

SQLResourcesCreateUpdateSQLTriggerResult contains the result from method SQLResources.CreateUpdateSQLTrigger.

type SQLResourcesCreateUpdateSQLUserDefinedFunctionPoller

type SQLResourcesCreateUpdateSQLUserDefinedFunctionPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesCreateUpdateSQLUserDefinedFunctionPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesCreateUpdateSQLUserDefinedFunctionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesCreateUpdateSQLUserDefinedFunctionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesCreateUpdateSQLUserDefinedFunctionResponse will be returned.

func (*SQLResourcesCreateUpdateSQLUserDefinedFunctionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesCreateUpdateSQLUserDefinedFunctionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesCreateUpdateSQLUserDefinedFunctionPollerResponse

type SQLResourcesCreateUpdateSQLUserDefinedFunctionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesCreateUpdateSQLUserDefinedFunctionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLUserDefinedFunctionPollerResponse contains the response from method SQLResources.CreateUpdateSQLUserDefinedFunction.

func (SQLResourcesCreateUpdateSQLUserDefinedFunctionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesCreateUpdateSQLUserDefinedFunctionPollerResponse) Resume

Resume rehydrates a SQLResourcesCreateUpdateSQLUserDefinedFunctionPollerResponse from the provided client and resume token.

type SQLResourcesCreateUpdateSQLUserDefinedFunctionResponse

type SQLResourcesCreateUpdateSQLUserDefinedFunctionResponse struct {
	SQLResourcesCreateUpdateSQLUserDefinedFunctionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesCreateUpdateSQLUserDefinedFunctionResponse contains the response from method SQLResources.CreateUpdateSQLUserDefinedFunction.

type SQLResourcesCreateUpdateSQLUserDefinedFunctionResult

type SQLResourcesCreateUpdateSQLUserDefinedFunctionResult struct {
	SQLUserDefinedFunctionGetResults
}

SQLResourcesCreateUpdateSQLUserDefinedFunctionResult contains the result from method SQLResources.CreateUpdateSQLUserDefinedFunction.

type SQLResourcesDeleteSQLContainerPoller

type SQLResourcesDeleteSQLContainerPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesDeleteSQLContainerPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesDeleteSQLContainerPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesDeleteSQLContainerPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesDeleteSQLContainerResponse will be returned.

func (*SQLResourcesDeleteSQLContainerPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesDeleteSQLContainerPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesDeleteSQLContainerPollerResponse

type SQLResourcesDeleteSQLContainerPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesDeleteSQLContainerPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLContainerPollerResponse contains the response from method SQLResources.DeleteSQLContainer.

func (SQLResourcesDeleteSQLContainerPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesDeleteSQLContainerPollerResponse) Resume

Resume rehydrates a SQLResourcesDeleteSQLContainerPollerResponse from the provided client and resume token.

type SQLResourcesDeleteSQLContainerResponse

type SQLResourcesDeleteSQLContainerResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLContainerResponse contains the response from method SQLResources.DeleteSQLContainer.

type SQLResourcesDeleteSQLDatabasePoller

type SQLResourcesDeleteSQLDatabasePoller struct {
	// contains filtered or unexported fields
}

SQLResourcesDeleteSQLDatabasePoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesDeleteSQLDatabasePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesDeleteSQLDatabasePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesDeleteSQLDatabaseResponse will be returned.

func (*SQLResourcesDeleteSQLDatabasePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesDeleteSQLDatabasePoller) ResumeToken

func (p *SQLResourcesDeleteSQLDatabasePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesDeleteSQLDatabasePollerResponse

type SQLResourcesDeleteSQLDatabasePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesDeleteSQLDatabasePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLDatabasePollerResponse contains the response from method SQLResources.DeleteSQLDatabase.

func (SQLResourcesDeleteSQLDatabasePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesDeleteSQLDatabasePollerResponse) Resume

Resume rehydrates a SQLResourcesDeleteSQLDatabasePollerResponse from the provided client and resume token.

type SQLResourcesDeleteSQLDatabaseResponse

type SQLResourcesDeleteSQLDatabaseResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLDatabaseResponse contains the response from method SQLResources.DeleteSQLDatabase.

type SQLResourcesDeleteSQLRoleAssignmentPoller

type SQLResourcesDeleteSQLRoleAssignmentPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesDeleteSQLRoleAssignmentPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesDeleteSQLRoleAssignmentPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesDeleteSQLRoleAssignmentPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesDeleteSQLRoleAssignmentResponse will be returned.

func (*SQLResourcesDeleteSQLRoleAssignmentPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesDeleteSQLRoleAssignmentPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesDeleteSQLRoleAssignmentPollerResponse

type SQLResourcesDeleteSQLRoleAssignmentPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesDeleteSQLRoleAssignmentPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLRoleAssignmentPollerResponse contains the response from method SQLResources.DeleteSQLRoleAssignment.

func (SQLResourcesDeleteSQLRoleAssignmentPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesDeleteSQLRoleAssignmentPollerResponse) Resume

Resume rehydrates a SQLResourcesDeleteSQLRoleAssignmentPollerResponse from the provided client and resume token.

type SQLResourcesDeleteSQLRoleAssignmentResponse

type SQLResourcesDeleteSQLRoleAssignmentResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLRoleAssignmentResponse contains the response from method SQLResources.DeleteSQLRoleAssignment.

type SQLResourcesDeleteSQLRoleDefinitionPoller

type SQLResourcesDeleteSQLRoleDefinitionPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesDeleteSQLRoleDefinitionPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesDeleteSQLRoleDefinitionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesDeleteSQLRoleDefinitionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesDeleteSQLRoleDefinitionResponse will be returned.

func (*SQLResourcesDeleteSQLRoleDefinitionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesDeleteSQLRoleDefinitionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesDeleteSQLRoleDefinitionPollerResponse

type SQLResourcesDeleteSQLRoleDefinitionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesDeleteSQLRoleDefinitionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLRoleDefinitionPollerResponse contains the response from method SQLResources.DeleteSQLRoleDefinition.

func (SQLResourcesDeleteSQLRoleDefinitionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesDeleteSQLRoleDefinitionPollerResponse) Resume

Resume rehydrates a SQLResourcesDeleteSQLRoleDefinitionPollerResponse from the provided client and resume token.

type SQLResourcesDeleteSQLRoleDefinitionResponse

type SQLResourcesDeleteSQLRoleDefinitionResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLRoleDefinitionResponse contains the response from method SQLResources.DeleteSQLRoleDefinition.

type SQLResourcesDeleteSQLStoredProcedurePoller

type SQLResourcesDeleteSQLStoredProcedurePoller struct {
	// contains filtered or unexported fields
}

SQLResourcesDeleteSQLStoredProcedurePoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesDeleteSQLStoredProcedurePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesDeleteSQLStoredProcedurePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesDeleteSQLStoredProcedureResponse will be returned.

func (*SQLResourcesDeleteSQLStoredProcedurePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesDeleteSQLStoredProcedurePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesDeleteSQLStoredProcedurePollerResponse

type SQLResourcesDeleteSQLStoredProcedurePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesDeleteSQLStoredProcedurePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLStoredProcedurePollerResponse contains the response from method SQLResources.DeleteSQLStoredProcedure.

func (SQLResourcesDeleteSQLStoredProcedurePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesDeleteSQLStoredProcedurePollerResponse) Resume

Resume rehydrates a SQLResourcesDeleteSQLStoredProcedurePollerResponse from the provided client and resume token.

type SQLResourcesDeleteSQLStoredProcedureResponse

type SQLResourcesDeleteSQLStoredProcedureResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLStoredProcedureResponse contains the response from method SQLResources.DeleteSQLStoredProcedure.

type SQLResourcesDeleteSQLTriggerPoller

type SQLResourcesDeleteSQLTriggerPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesDeleteSQLTriggerPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesDeleteSQLTriggerPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesDeleteSQLTriggerPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesDeleteSQLTriggerResponse will be returned.

func (*SQLResourcesDeleteSQLTriggerPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesDeleteSQLTriggerPoller) ResumeToken

func (p *SQLResourcesDeleteSQLTriggerPoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesDeleteSQLTriggerPollerResponse

type SQLResourcesDeleteSQLTriggerPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesDeleteSQLTriggerPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLTriggerPollerResponse contains the response from method SQLResources.DeleteSQLTrigger.

func (SQLResourcesDeleteSQLTriggerPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesDeleteSQLTriggerPollerResponse) Resume

Resume rehydrates a SQLResourcesDeleteSQLTriggerPollerResponse from the provided client and resume token.

type SQLResourcesDeleteSQLTriggerResponse

type SQLResourcesDeleteSQLTriggerResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLTriggerResponse contains the response from method SQLResources.DeleteSQLTrigger.

type SQLResourcesDeleteSQLUserDefinedFunctionPoller

type SQLResourcesDeleteSQLUserDefinedFunctionPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesDeleteSQLUserDefinedFunctionPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesDeleteSQLUserDefinedFunctionPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesDeleteSQLUserDefinedFunctionPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesDeleteSQLUserDefinedFunctionResponse will be returned.

func (*SQLResourcesDeleteSQLUserDefinedFunctionPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesDeleteSQLUserDefinedFunctionPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesDeleteSQLUserDefinedFunctionPollerResponse

type SQLResourcesDeleteSQLUserDefinedFunctionPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesDeleteSQLUserDefinedFunctionPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLUserDefinedFunctionPollerResponse contains the response from method SQLResources.DeleteSQLUserDefinedFunction.

func (SQLResourcesDeleteSQLUserDefinedFunctionPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesDeleteSQLUserDefinedFunctionPollerResponse) Resume

Resume rehydrates a SQLResourcesDeleteSQLUserDefinedFunctionPollerResponse from the provided client and resume token.

type SQLResourcesDeleteSQLUserDefinedFunctionResponse

type SQLResourcesDeleteSQLUserDefinedFunctionResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesDeleteSQLUserDefinedFunctionResponse contains the response from method SQLResources.DeleteSQLUserDefinedFunction.

type SQLResourcesGetSQLContainerOptions

type SQLResourcesGetSQLContainerOptions struct {
}

SQLResourcesGetSQLContainerOptions contains the optional parameters for the SQLResources.GetSQLContainer method.

type SQLResourcesGetSQLContainerResponse

type SQLResourcesGetSQLContainerResponse struct {
	SQLResourcesGetSQLContainerResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLContainerResponse contains the response from method SQLResources.GetSQLContainer.

type SQLResourcesGetSQLContainerResult

type SQLResourcesGetSQLContainerResult struct {
	SQLContainerGetResults
}

SQLResourcesGetSQLContainerResult contains the result from method SQLResources.GetSQLContainer.

type SQLResourcesGetSQLContainerThroughputOptions

type SQLResourcesGetSQLContainerThroughputOptions struct {
}

SQLResourcesGetSQLContainerThroughputOptions contains the optional parameters for the SQLResources.GetSQLContainerThroughput method.

type SQLResourcesGetSQLContainerThroughputResponse

type SQLResourcesGetSQLContainerThroughputResponse struct {
	SQLResourcesGetSQLContainerThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLContainerThroughputResponse contains the response from method SQLResources.GetSQLContainerThroughput.

type SQLResourcesGetSQLContainerThroughputResult

type SQLResourcesGetSQLContainerThroughputResult struct {
	ThroughputSettingsGetResults
}

SQLResourcesGetSQLContainerThroughputResult contains the result from method SQLResources.GetSQLContainerThroughput.

type SQLResourcesGetSQLDatabaseOptions

type SQLResourcesGetSQLDatabaseOptions struct {
}

SQLResourcesGetSQLDatabaseOptions contains the optional parameters for the SQLResources.GetSQLDatabase method.

type SQLResourcesGetSQLDatabaseResponse

type SQLResourcesGetSQLDatabaseResponse struct {
	SQLResourcesGetSQLDatabaseResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLDatabaseResponse contains the response from method SQLResources.GetSQLDatabase.

type SQLResourcesGetSQLDatabaseResult

type SQLResourcesGetSQLDatabaseResult struct {
	SQLDatabaseGetResults
}

SQLResourcesGetSQLDatabaseResult contains the result from method SQLResources.GetSQLDatabase.

type SQLResourcesGetSQLDatabaseThroughputOptions

type SQLResourcesGetSQLDatabaseThroughputOptions struct {
}

SQLResourcesGetSQLDatabaseThroughputOptions contains the optional parameters for the SQLResources.GetSQLDatabaseThroughput method.

type SQLResourcesGetSQLDatabaseThroughputResponse

type SQLResourcesGetSQLDatabaseThroughputResponse struct {
	SQLResourcesGetSQLDatabaseThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLDatabaseThroughputResponse contains the response from method SQLResources.GetSQLDatabaseThroughput.

type SQLResourcesGetSQLDatabaseThroughputResult

type SQLResourcesGetSQLDatabaseThroughputResult struct {
	ThroughputSettingsGetResults
}

SQLResourcesGetSQLDatabaseThroughputResult contains the result from method SQLResources.GetSQLDatabaseThroughput.

type SQLResourcesGetSQLRoleAssignmentOptions

type SQLResourcesGetSQLRoleAssignmentOptions struct {
}

SQLResourcesGetSQLRoleAssignmentOptions contains the optional parameters for the SQLResources.GetSQLRoleAssignment method.

type SQLResourcesGetSQLRoleAssignmentResponse

type SQLResourcesGetSQLRoleAssignmentResponse struct {
	SQLResourcesGetSQLRoleAssignmentResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLRoleAssignmentResponse contains the response from method SQLResources.GetSQLRoleAssignment.

type SQLResourcesGetSQLRoleAssignmentResult

type SQLResourcesGetSQLRoleAssignmentResult struct {
	SQLRoleAssignmentGetResults
}

SQLResourcesGetSQLRoleAssignmentResult contains the result from method SQLResources.GetSQLRoleAssignment.

type SQLResourcesGetSQLRoleDefinitionOptions

type SQLResourcesGetSQLRoleDefinitionOptions struct {
}

SQLResourcesGetSQLRoleDefinitionOptions contains the optional parameters for the SQLResources.GetSQLRoleDefinition method.

type SQLResourcesGetSQLRoleDefinitionResponse

type SQLResourcesGetSQLRoleDefinitionResponse struct {
	SQLResourcesGetSQLRoleDefinitionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLRoleDefinitionResponse contains the response from method SQLResources.GetSQLRoleDefinition.

type SQLResourcesGetSQLRoleDefinitionResult

type SQLResourcesGetSQLRoleDefinitionResult struct {
	SQLRoleDefinitionGetResults
}

SQLResourcesGetSQLRoleDefinitionResult contains the result from method SQLResources.GetSQLRoleDefinition.

type SQLResourcesGetSQLStoredProcedureOptions

type SQLResourcesGetSQLStoredProcedureOptions struct {
}

SQLResourcesGetSQLStoredProcedureOptions contains the optional parameters for the SQLResources.GetSQLStoredProcedure method.

type SQLResourcesGetSQLStoredProcedureResponse

type SQLResourcesGetSQLStoredProcedureResponse struct {
	SQLResourcesGetSQLStoredProcedureResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLStoredProcedureResponse contains the response from method SQLResources.GetSQLStoredProcedure.

type SQLResourcesGetSQLStoredProcedureResult

type SQLResourcesGetSQLStoredProcedureResult struct {
	SQLStoredProcedureGetResults
}

SQLResourcesGetSQLStoredProcedureResult contains the result from method SQLResources.GetSQLStoredProcedure.

type SQLResourcesGetSQLTriggerOptions

type SQLResourcesGetSQLTriggerOptions struct {
}

SQLResourcesGetSQLTriggerOptions contains the optional parameters for the SQLResources.GetSQLTrigger method.

type SQLResourcesGetSQLTriggerResponse

type SQLResourcesGetSQLTriggerResponse struct {
	SQLResourcesGetSQLTriggerResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLTriggerResponse contains the response from method SQLResources.GetSQLTrigger.

type SQLResourcesGetSQLTriggerResult

type SQLResourcesGetSQLTriggerResult struct {
	SQLTriggerGetResults
}

SQLResourcesGetSQLTriggerResult contains the result from method SQLResources.GetSQLTrigger.

type SQLResourcesGetSQLUserDefinedFunctionOptions

type SQLResourcesGetSQLUserDefinedFunctionOptions struct {
}

SQLResourcesGetSQLUserDefinedFunctionOptions contains the optional parameters for the SQLResources.GetSQLUserDefinedFunction method.

type SQLResourcesGetSQLUserDefinedFunctionResponse

type SQLResourcesGetSQLUserDefinedFunctionResponse struct {
	SQLResourcesGetSQLUserDefinedFunctionResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesGetSQLUserDefinedFunctionResponse contains the response from method SQLResources.GetSQLUserDefinedFunction.

type SQLResourcesGetSQLUserDefinedFunctionResult

type SQLResourcesGetSQLUserDefinedFunctionResult struct {
	SQLUserDefinedFunctionGetResults
}

SQLResourcesGetSQLUserDefinedFunctionResult contains the result from method SQLResources.GetSQLUserDefinedFunction.

type SQLResourcesListSQLContainersOptions

type SQLResourcesListSQLContainersOptions struct {
}

SQLResourcesListSQLContainersOptions contains the optional parameters for the SQLResources.ListSQLContainers method.

type SQLResourcesListSQLContainersResponse

type SQLResourcesListSQLContainersResponse struct {
	SQLResourcesListSQLContainersResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesListSQLContainersResponse contains the response from method SQLResources.ListSQLContainers.

type SQLResourcesListSQLContainersResult

type SQLResourcesListSQLContainersResult struct {
	SQLContainerListResult
}

SQLResourcesListSQLContainersResult contains the result from method SQLResources.ListSQLContainers.

type SQLResourcesListSQLDatabasesOptions

type SQLResourcesListSQLDatabasesOptions struct {
}

SQLResourcesListSQLDatabasesOptions contains the optional parameters for the SQLResources.ListSQLDatabases method.

type SQLResourcesListSQLDatabasesResponse

type SQLResourcesListSQLDatabasesResponse struct {
	SQLResourcesListSQLDatabasesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesListSQLDatabasesResponse contains the response from method SQLResources.ListSQLDatabases.

type SQLResourcesListSQLDatabasesResult

type SQLResourcesListSQLDatabasesResult struct {
	SQLDatabaseListResult
}

SQLResourcesListSQLDatabasesResult contains the result from method SQLResources.ListSQLDatabases.

type SQLResourcesListSQLRoleAssignmentsOptions

type SQLResourcesListSQLRoleAssignmentsOptions struct {
}

SQLResourcesListSQLRoleAssignmentsOptions contains the optional parameters for the SQLResources.ListSQLRoleAssignments method.

type SQLResourcesListSQLRoleAssignmentsResponse

type SQLResourcesListSQLRoleAssignmentsResponse struct {
	SQLResourcesListSQLRoleAssignmentsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesListSQLRoleAssignmentsResponse contains the response from method SQLResources.ListSQLRoleAssignments.

type SQLResourcesListSQLRoleAssignmentsResult

type SQLResourcesListSQLRoleAssignmentsResult struct {
	SQLRoleAssignmentListResult
}

SQLResourcesListSQLRoleAssignmentsResult contains the result from method SQLResources.ListSQLRoleAssignments.

type SQLResourcesListSQLRoleDefinitionsOptions

type SQLResourcesListSQLRoleDefinitionsOptions struct {
}

SQLResourcesListSQLRoleDefinitionsOptions contains the optional parameters for the SQLResources.ListSQLRoleDefinitions method.

type SQLResourcesListSQLRoleDefinitionsResponse

type SQLResourcesListSQLRoleDefinitionsResponse struct {
	SQLResourcesListSQLRoleDefinitionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesListSQLRoleDefinitionsResponse contains the response from method SQLResources.ListSQLRoleDefinitions.

type SQLResourcesListSQLRoleDefinitionsResult

type SQLResourcesListSQLRoleDefinitionsResult struct {
	SQLRoleDefinitionListResult
}

SQLResourcesListSQLRoleDefinitionsResult contains the result from method SQLResources.ListSQLRoleDefinitions.

type SQLResourcesListSQLStoredProceduresOptions

type SQLResourcesListSQLStoredProceduresOptions struct {
}

SQLResourcesListSQLStoredProceduresOptions contains the optional parameters for the SQLResources.ListSQLStoredProcedures method.

type SQLResourcesListSQLStoredProceduresResponse

type SQLResourcesListSQLStoredProceduresResponse struct {
	SQLResourcesListSQLStoredProceduresResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesListSQLStoredProceduresResponse contains the response from method SQLResources.ListSQLStoredProcedures.

type SQLResourcesListSQLStoredProceduresResult

type SQLResourcesListSQLStoredProceduresResult struct {
	SQLStoredProcedureListResult
}

SQLResourcesListSQLStoredProceduresResult contains the result from method SQLResources.ListSQLStoredProcedures.

type SQLResourcesListSQLTriggersOptions

type SQLResourcesListSQLTriggersOptions struct {
}

SQLResourcesListSQLTriggersOptions contains the optional parameters for the SQLResources.ListSQLTriggers method.

type SQLResourcesListSQLTriggersResponse

type SQLResourcesListSQLTriggersResponse struct {
	SQLResourcesListSQLTriggersResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesListSQLTriggersResponse contains the response from method SQLResources.ListSQLTriggers.

type SQLResourcesListSQLTriggersResult

type SQLResourcesListSQLTriggersResult struct {
	SQLTriggerListResult
}

SQLResourcesListSQLTriggersResult contains the result from method SQLResources.ListSQLTriggers.

type SQLResourcesListSQLUserDefinedFunctionsOptions

type SQLResourcesListSQLUserDefinedFunctionsOptions struct {
}

SQLResourcesListSQLUserDefinedFunctionsOptions contains the optional parameters for the SQLResources.ListSQLUserDefinedFunctions method.

type SQLResourcesListSQLUserDefinedFunctionsResponse

type SQLResourcesListSQLUserDefinedFunctionsResponse struct {
	SQLResourcesListSQLUserDefinedFunctionsResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesListSQLUserDefinedFunctionsResponse contains the response from method SQLResources.ListSQLUserDefinedFunctions.

type SQLResourcesListSQLUserDefinedFunctionsResult

type SQLResourcesListSQLUserDefinedFunctionsResult struct {
	SQLUserDefinedFunctionListResult
}

SQLResourcesListSQLUserDefinedFunctionsResult contains the result from method SQLResources.ListSQLUserDefinedFunctions.

type SQLResourcesMigrateSQLContainerToAutoscalePoller

type SQLResourcesMigrateSQLContainerToAutoscalePoller struct {
	// contains filtered or unexported fields
}

SQLResourcesMigrateSQLContainerToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesMigrateSQLContainerToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesMigrateSQLContainerToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesMigrateSQLContainerToAutoscaleResponse will be returned.

func (*SQLResourcesMigrateSQLContainerToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesMigrateSQLContainerToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesMigrateSQLContainerToAutoscalePollerResponse

type SQLResourcesMigrateSQLContainerToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesMigrateSQLContainerToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesMigrateSQLContainerToAutoscalePollerResponse contains the response from method SQLResources.MigrateSQLContainerToAutoscale.

func (SQLResourcesMigrateSQLContainerToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesMigrateSQLContainerToAutoscalePollerResponse) Resume

Resume rehydrates a SQLResourcesMigrateSQLContainerToAutoscalePollerResponse from the provided client and resume token.

type SQLResourcesMigrateSQLContainerToAutoscaleResponse

type SQLResourcesMigrateSQLContainerToAutoscaleResponse struct {
	SQLResourcesMigrateSQLContainerToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesMigrateSQLContainerToAutoscaleResponse contains the response from method SQLResources.MigrateSQLContainerToAutoscale.

type SQLResourcesMigrateSQLContainerToAutoscaleResult

type SQLResourcesMigrateSQLContainerToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

SQLResourcesMigrateSQLContainerToAutoscaleResult contains the result from method SQLResources.MigrateSQLContainerToAutoscale.

type SQLResourcesMigrateSQLContainerToManualThroughputPoller

type SQLResourcesMigrateSQLContainerToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesMigrateSQLContainerToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesMigrateSQLContainerToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesMigrateSQLContainerToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesMigrateSQLContainerToManualThroughputResponse will be returned.

func (*SQLResourcesMigrateSQLContainerToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesMigrateSQLContainerToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesMigrateSQLContainerToManualThroughputPollerResponse

type SQLResourcesMigrateSQLContainerToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesMigrateSQLContainerToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesMigrateSQLContainerToManualThroughputPollerResponse contains the response from method SQLResources.MigrateSQLContainerToManualThroughput.

func (SQLResourcesMigrateSQLContainerToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesMigrateSQLContainerToManualThroughputPollerResponse) Resume

Resume rehydrates a SQLResourcesMigrateSQLContainerToManualThroughputPollerResponse from the provided client and resume token.

type SQLResourcesMigrateSQLContainerToManualThroughputResponse

type SQLResourcesMigrateSQLContainerToManualThroughputResponse struct {
	SQLResourcesMigrateSQLContainerToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesMigrateSQLContainerToManualThroughputResponse contains the response from method SQLResources.MigrateSQLContainerToManualThroughput.

type SQLResourcesMigrateSQLContainerToManualThroughputResult

type SQLResourcesMigrateSQLContainerToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

SQLResourcesMigrateSQLContainerToManualThroughputResult contains the result from method SQLResources.MigrateSQLContainerToManualThroughput.

type SQLResourcesMigrateSQLDatabaseToAutoscalePoller

type SQLResourcesMigrateSQLDatabaseToAutoscalePoller struct {
	// contains filtered or unexported fields
}

SQLResourcesMigrateSQLDatabaseToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesMigrateSQLDatabaseToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesMigrateSQLDatabaseToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesMigrateSQLDatabaseToAutoscaleResponse will be returned.

func (*SQLResourcesMigrateSQLDatabaseToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesMigrateSQLDatabaseToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesMigrateSQLDatabaseToAutoscalePollerResponse

type SQLResourcesMigrateSQLDatabaseToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesMigrateSQLDatabaseToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesMigrateSQLDatabaseToAutoscalePollerResponse contains the response from method SQLResources.MigrateSQLDatabaseToAutoscale.

func (SQLResourcesMigrateSQLDatabaseToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesMigrateSQLDatabaseToAutoscalePollerResponse) Resume

Resume rehydrates a SQLResourcesMigrateSQLDatabaseToAutoscalePollerResponse from the provided client and resume token.

type SQLResourcesMigrateSQLDatabaseToAutoscaleResponse

type SQLResourcesMigrateSQLDatabaseToAutoscaleResponse struct {
	SQLResourcesMigrateSQLDatabaseToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesMigrateSQLDatabaseToAutoscaleResponse contains the response from method SQLResources.MigrateSQLDatabaseToAutoscale.

type SQLResourcesMigrateSQLDatabaseToAutoscaleResult

type SQLResourcesMigrateSQLDatabaseToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

SQLResourcesMigrateSQLDatabaseToAutoscaleResult contains the result from method SQLResources.MigrateSQLDatabaseToAutoscale.

type SQLResourcesMigrateSQLDatabaseToManualThroughputPoller

type SQLResourcesMigrateSQLDatabaseToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesMigrateSQLDatabaseToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesMigrateSQLDatabaseToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesMigrateSQLDatabaseToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesMigrateSQLDatabaseToManualThroughputResponse will be returned.

func (*SQLResourcesMigrateSQLDatabaseToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesMigrateSQLDatabaseToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesMigrateSQLDatabaseToManualThroughputPollerResponse

type SQLResourcesMigrateSQLDatabaseToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesMigrateSQLDatabaseToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesMigrateSQLDatabaseToManualThroughputPollerResponse contains the response from method SQLResources.MigrateSQLDatabaseToManualThroughput.

func (SQLResourcesMigrateSQLDatabaseToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesMigrateSQLDatabaseToManualThroughputPollerResponse) Resume

Resume rehydrates a SQLResourcesMigrateSQLDatabaseToManualThroughputPollerResponse from the provided client and resume token.

type SQLResourcesMigrateSQLDatabaseToManualThroughputResponse

type SQLResourcesMigrateSQLDatabaseToManualThroughputResponse struct {
	SQLResourcesMigrateSQLDatabaseToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesMigrateSQLDatabaseToManualThroughputResponse contains the response from method SQLResources.MigrateSQLDatabaseToManualThroughput.

type SQLResourcesMigrateSQLDatabaseToManualThroughputResult

type SQLResourcesMigrateSQLDatabaseToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

SQLResourcesMigrateSQLDatabaseToManualThroughputResult contains the result from method SQLResources.MigrateSQLDatabaseToManualThroughput.

type SQLResourcesRetrieveContinuousBackupInformationPoller

type SQLResourcesRetrieveContinuousBackupInformationPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesRetrieveContinuousBackupInformationPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesRetrieveContinuousBackupInformationPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesRetrieveContinuousBackupInformationPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesRetrieveContinuousBackupInformationResponse will be returned.

func (*SQLResourcesRetrieveContinuousBackupInformationPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesRetrieveContinuousBackupInformationPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesRetrieveContinuousBackupInformationPollerResponse

type SQLResourcesRetrieveContinuousBackupInformationPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesRetrieveContinuousBackupInformationPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesRetrieveContinuousBackupInformationPollerResponse contains the response from method SQLResources.RetrieveContinuousBackupInformation.

func (SQLResourcesRetrieveContinuousBackupInformationPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesRetrieveContinuousBackupInformationPollerResponse) Resume

Resume rehydrates a SQLResourcesRetrieveContinuousBackupInformationPollerResponse from the provided client and resume token.

type SQLResourcesRetrieveContinuousBackupInformationResponse

type SQLResourcesRetrieveContinuousBackupInformationResponse struct {
	SQLResourcesRetrieveContinuousBackupInformationResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesRetrieveContinuousBackupInformationResponse contains the response from method SQLResources.RetrieveContinuousBackupInformation.

type SQLResourcesRetrieveContinuousBackupInformationResult

type SQLResourcesRetrieveContinuousBackupInformationResult struct {
	BackupInformation
}

SQLResourcesRetrieveContinuousBackupInformationResult contains the result from method SQLResources.RetrieveContinuousBackupInformation.

type SQLResourcesUpdateSQLContainerThroughputPoller

type SQLResourcesUpdateSQLContainerThroughputPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesUpdateSQLContainerThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesUpdateSQLContainerThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesUpdateSQLContainerThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesUpdateSQLContainerThroughputResponse will be returned.

func (*SQLResourcesUpdateSQLContainerThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesUpdateSQLContainerThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesUpdateSQLContainerThroughputPollerResponse

type SQLResourcesUpdateSQLContainerThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesUpdateSQLContainerThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesUpdateSQLContainerThroughputPollerResponse contains the response from method SQLResources.UpdateSQLContainerThroughput.

func (SQLResourcesUpdateSQLContainerThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesUpdateSQLContainerThroughputPollerResponse) Resume

Resume rehydrates a SQLResourcesUpdateSQLContainerThroughputPollerResponse from the provided client and resume token.

type SQLResourcesUpdateSQLContainerThroughputResponse

type SQLResourcesUpdateSQLContainerThroughputResponse struct {
	SQLResourcesUpdateSQLContainerThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesUpdateSQLContainerThroughputResponse contains the response from method SQLResources.UpdateSQLContainerThroughput.

type SQLResourcesUpdateSQLContainerThroughputResult

type SQLResourcesUpdateSQLContainerThroughputResult struct {
	ThroughputSettingsGetResults
}

SQLResourcesUpdateSQLContainerThroughputResult contains the result from method SQLResources.UpdateSQLContainerThroughput.

type SQLResourcesUpdateSQLDatabaseThroughputPoller

type SQLResourcesUpdateSQLDatabaseThroughputPoller struct {
	// contains filtered or unexported fields
}

SQLResourcesUpdateSQLDatabaseThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*SQLResourcesUpdateSQLDatabaseThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*SQLResourcesUpdateSQLDatabaseThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final SQLResourcesUpdateSQLDatabaseThroughputResponse will be returned.

func (*SQLResourcesUpdateSQLDatabaseThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*SQLResourcesUpdateSQLDatabaseThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type SQLResourcesUpdateSQLDatabaseThroughputPollerResponse

type SQLResourcesUpdateSQLDatabaseThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *SQLResourcesUpdateSQLDatabaseThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesUpdateSQLDatabaseThroughputPollerResponse contains the response from method SQLResources.UpdateSQLDatabaseThroughput.

func (SQLResourcesUpdateSQLDatabaseThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*SQLResourcesUpdateSQLDatabaseThroughputPollerResponse) Resume

Resume rehydrates a SQLResourcesUpdateSQLDatabaseThroughputPollerResponse from the provided client and resume token.

type SQLResourcesUpdateSQLDatabaseThroughputResponse

type SQLResourcesUpdateSQLDatabaseThroughputResponse struct {
	SQLResourcesUpdateSQLDatabaseThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

SQLResourcesUpdateSQLDatabaseThroughputResponse contains the response from method SQLResources.UpdateSQLDatabaseThroughput.

type SQLResourcesUpdateSQLDatabaseThroughputResult

type SQLResourcesUpdateSQLDatabaseThroughputResult struct {
	ThroughputSettingsGetResults
}

SQLResourcesUpdateSQLDatabaseThroughputResult contains the result from method SQLResources.UpdateSQLDatabaseThroughput.

type SQLRoleAssignmentCreateUpdateParameters

type SQLRoleAssignmentCreateUpdateParameters struct {
	// Properties to create and update an Azure Cosmos DB SQL Role Assignment.
	Properties *SQLRoleAssignmentResource `json:"properties,omitempty"`
}

SQLRoleAssignmentCreateUpdateParameters - Parameters to create and update an Azure Cosmos DB SQL Role Assignment.

type SQLRoleAssignmentGetResults

type SQLRoleAssignmentGetResults struct {
	ARMProxyResource
	// Properties related to the Role Assignment.
	Properties *SQLRoleAssignmentResource `json:"properties,omitempty"`
}

SQLRoleAssignmentGetResults - An Azure Cosmos DB Role Assignment

func (SQLRoleAssignmentGetResults) MarshalJSON

func (s SQLRoleAssignmentGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLRoleAssignmentGetResults.

type SQLRoleAssignmentListResult

type SQLRoleAssignmentListResult struct {
	// READ-ONLY; List of Role Assignments and their properties
	Value []*SQLRoleAssignmentGetResults `json:"value,omitempty" azure:"ro"`
}

SQLRoleAssignmentListResult - The relevant Role Assignments.

func (SQLRoleAssignmentListResult) MarshalJSON

func (s SQLRoleAssignmentListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLRoleAssignmentListResult.

type SQLRoleAssignmentResource

type SQLRoleAssignmentResource struct {
	// The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for
	// the principal is inferred using the tenant
	// associated with the subscription.
	PrincipalID *string `json:"principalId,omitempty"`

	// The unique identifier for the associated Role Definition.
	RoleDefinitionID *string `json:"roleDefinitionId,omitempty"`

	// The data plane resource path for which access is being granted through this Role Assignment.
	Scope *string `json:"scope,omitempty"`
}

SQLRoleAssignmentResource - Azure Cosmos DB SQL Role Assignment resource object.

type SQLRoleDefinitionCreateUpdateParameters

type SQLRoleDefinitionCreateUpdateParameters struct {
	// Properties to create and update an Azure Cosmos DB SQL Role Definition.
	Properties *SQLRoleDefinitionResource `json:"properties,omitempty"`
}

SQLRoleDefinitionCreateUpdateParameters - Parameters to create and update an Azure Cosmos DB SQL Role Definition.

type SQLRoleDefinitionGetResults

type SQLRoleDefinitionGetResults struct {
	ARMProxyResource
	// Properties related to the Role Definition.
	Properties *SQLRoleDefinitionResource `json:"properties,omitempty"`
}

SQLRoleDefinitionGetResults - An Azure Cosmos DB SQL Role Definition.

func (SQLRoleDefinitionGetResults) MarshalJSON

func (s SQLRoleDefinitionGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLRoleDefinitionGetResults.

type SQLRoleDefinitionListResult

type SQLRoleDefinitionListResult struct {
	// READ-ONLY; List of Role Definitions and their properties.
	Value []*SQLRoleDefinitionGetResults `json:"value,omitempty" azure:"ro"`
}

SQLRoleDefinitionListResult - The relevant Role Definitions.

func (SQLRoleDefinitionListResult) MarshalJSON

func (s SQLRoleDefinitionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLRoleDefinitionListResult.

type SQLRoleDefinitionResource

type SQLRoleDefinitionResource struct {
	// A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role
	// Definition on the entire database account or any
	// underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note
	// that resources referenced in assignable Scopes need
	// not exist.
	AssignableScopes []*string `json:"assignableScopes,omitempty"`

	// The set of operations allowed through this Role Definition.
	Permissions []*Permission `json:"permissions,omitempty"`

	// A user-friendly name for the Role Definition. Must be unique for the database account.
	RoleName *string `json:"roleName,omitempty"`

	// Indicates whether the Role Definition was built-in or user created.
	Type *RoleDefinitionType `json:"type,omitempty"`
}

SQLRoleDefinitionResource - Azure Cosmos DB SQL Role Definition resource object.

func (SQLRoleDefinitionResource) MarshalJSON

func (s SQLRoleDefinitionResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLRoleDefinitionResource.

type SQLStoredProcedureCreateUpdateParameters

type SQLStoredProcedureCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB storedProcedure.
	Properties *SQLStoredProcedureCreateUpdateProperties `json:"properties,omitempty"`
}

SQLStoredProcedureCreateUpdateParameters - Parameters to create and update Cosmos DB storedProcedure.

func (SQLStoredProcedureCreateUpdateParameters) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type SQLStoredProcedureCreateUpdateParameters.

type SQLStoredProcedureCreateUpdateProperties

type SQLStoredProcedureCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a storedProcedure
	Resource *SQLStoredProcedureResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

SQLStoredProcedureCreateUpdateProperties - Properties to create and update Azure Cosmos DB storedProcedure.

type SQLStoredProcedureGetProperties

type SQLStoredProcedureGetProperties struct {
	Resource *SQLStoredProcedureGetPropertiesResource `json:"resource,omitempty"`
}

SQLStoredProcedureGetProperties - The properties of an Azure Cosmos DB StoredProcedure

type SQLStoredProcedureGetPropertiesResource

type SQLStoredProcedureGetPropertiesResource struct {
	ExtendedResourceProperties
	SQLStoredProcedureResource
}

type SQLStoredProcedureGetResults

type SQLStoredProcedureGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB storedProcedure
	Properties *SQLStoredProcedureGetProperties `json:"properties,omitempty"`
}

SQLStoredProcedureGetResults - An Azure Cosmos DB storedProcedure.

func (SQLStoredProcedureGetResults) MarshalJSON

func (s SQLStoredProcedureGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLStoredProcedureGetResults.

type SQLStoredProcedureListResult

type SQLStoredProcedureListResult struct {
	// READ-ONLY; List of storedProcedures and their properties.
	Value []*SQLStoredProcedureGetResults `json:"value,omitempty" azure:"ro"`
}

SQLStoredProcedureListResult - The List operation response, that contains the storedProcedures and their properties.

func (SQLStoredProcedureListResult) MarshalJSON

func (s SQLStoredProcedureListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLStoredProcedureListResult.

type SQLStoredProcedureResource

type SQLStoredProcedureResource struct {
	// REQUIRED; Name of the Cosmos DB SQL storedProcedure
	ID *string `json:"id,omitempty"`

	// Body of the Stored Procedure
	Body *string `json:"body,omitempty"`
}

SQLStoredProcedureResource - Cosmos DB SQL storedProcedure resource object

func (SQLStoredProcedureResource) MarshalJSON

func (s SQLStoredProcedureResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLStoredProcedureResource.

type SQLTriggerCreateUpdateParameters

type SQLTriggerCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB trigger.
	Properties *SQLTriggerCreateUpdateProperties `json:"properties,omitempty"`
}

SQLTriggerCreateUpdateParameters - Parameters to create and update Cosmos DB trigger.

func (SQLTriggerCreateUpdateParameters) MarshalJSON

func (s SQLTriggerCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLTriggerCreateUpdateParameters.

type SQLTriggerCreateUpdateProperties

type SQLTriggerCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a trigger
	Resource *SQLTriggerResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

SQLTriggerCreateUpdateProperties - Properties to create and update Azure Cosmos DB trigger.

type SQLTriggerGetProperties

type SQLTriggerGetProperties struct {
	Resource *SQLTriggerGetPropertiesResource `json:"resource,omitempty"`
}

SQLTriggerGetProperties - The properties of an Azure Cosmos DB trigger

type SQLTriggerGetPropertiesResource

type SQLTriggerGetPropertiesResource struct {
	ExtendedResourceProperties
	SQLTriggerResource
}

type SQLTriggerGetResults

type SQLTriggerGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB trigger
	Properties *SQLTriggerGetProperties `json:"properties,omitempty"`
}

SQLTriggerGetResults - An Azure Cosmos DB trigger.

func (SQLTriggerGetResults) MarshalJSON

func (s SQLTriggerGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLTriggerGetResults.

type SQLTriggerListResult

type SQLTriggerListResult struct {
	// READ-ONLY; List of triggers and their properties.
	Value []*SQLTriggerGetResults `json:"value,omitempty" azure:"ro"`
}

SQLTriggerListResult - The List operation response, that contains the triggers and their properties.

func (SQLTriggerListResult) MarshalJSON

func (s SQLTriggerListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLTriggerListResult.

type SQLTriggerResource

type SQLTriggerResource struct {
	// REQUIRED; Name of the Cosmos DB SQL trigger
	ID *string `json:"id,omitempty"`

	// Body of the Trigger
	Body *string `json:"body,omitempty"`

	// The operation the trigger is associated with
	TriggerOperation *TriggerOperation `json:"triggerOperation,omitempty"`

	// Type of the Trigger
	TriggerType *TriggerType `json:"triggerType,omitempty"`
}

SQLTriggerResource - Cosmos DB SQL trigger resource object

func (SQLTriggerResource) MarshalJSON

func (s SQLTriggerResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLTriggerResource.

type SQLUserDefinedFunctionCreateUpdateParameters

type SQLUserDefinedFunctionCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB userDefinedFunction.
	Properties *SQLUserDefinedFunctionCreateUpdateProperties `json:"properties,omitempty"`
}

SQLUserDefinedFunctionCreateUpdateParameters - Parameters to create and update Cosmos DB userDefinedFunction.

func (SQLUserDefinedFunctionCreateUpdateParameters) MarshalJSON

MarshalJSON implements the json.Marshaller interface for type SQLUserDefinedFunctionCreateUpdateParameters.

type SQLUserDefinedFunctionCreateUpdateProperties

type SQLUserDefinedFunctionCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a userDefinedFunction
	Resource *SQLUserDefinedFunctionResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

SQLUserDefinedFunctionCreateUpdateProperties - Properties to create and update Azure Cosmos DB userDefinedFunction.

type SQLUserDefinedFunctionGetProperties

type SQLUserDefinedFunctionGetProperties struct {
	Resource *SQLUserDefinedFunctionGetPropertiesResource `json:"resource,omitempty"`
}

SQLUserDefinedFunctionGetProperties - The properties of an Azure Cosmos DB userDefinedFunction

type SQLUserDefinedFunctionGetPropertiesResource

type SQLUserDefinedFunctionGetPropertiesResource struct {
	ExtendedResourceProperties
	SQLUserDefinedFunctionResource
}

type SQLUserDefinedFunctionGetResults

type SQLUserDefinedFunctionGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB userDefinedFunction
	Properties *SQLUserDefinedFunctionGetProperties `json:"properties,omitempty"`
}

SQLUserDefinedFunctionGetResults - An Azure Cosmos DB userDefinedFunction.

func (SQLUserDefinedFunctionGetResults) MarshalJSON

func (s SQLUserDefinedFunctionGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLUserDefinedFunctionGetResults.

type SQLUserDefinedFunctionListResult

type SQLUserDefinedFunctionListResult struct {
	// READ-ONLY; List of userDefinedFunctions and their properties.
	Value []*SQLUserDefinedFunctionGetResults `json:"value,omitempty" azure:"ro"`
}

SQLUserDefinedFunctionListResult - The List operation response, that contains the userDefinedFunctions and their properties.

func (SQLUserDefinedFunctionListResult) MarshalJSON

func (s SQLUserDefinedFunctionListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLUserDefinedFunctionListResult.

type SQLUserDefinedFunctionResource

type SQLUserDefinedFunctionResource struct {
	// REQUIRED; Name of the Cosmos DB SQL userDefinedFunction
	ID *string `json:"id,omitempty"`

	// Body of the User Defined Function
	Body *string `json:"body,omitempty"`
}

SQLUserDefinedFunctionResource - Cosmos DB SQL userDefinedFunction resource object

func (SQLUserDefinedFunctionResource) MarshalJSON

func (s SQLUserDefinedFunctionResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SQLUserDefinedFunctionResource.

type SeedNode

type SeedNode struct {
	// IP address of this seed node.
	IPAddress *string `json:"ipAddress,omitempty"`
}

type ServerVersion

type ServerVersion string

ServerVersion - Describes the ServerVersion of an a MongoDB account.

const (
	ServerVersionFour0  ServerVersion = "4.0"
	ServerVersionThree2 ServerVersion = "3.2"
	ServerVersionThree6 ServerVersion = "3.6"
)

func PossibleServerVersionValues

func PossibleServerVersionValues() []ServerVersion

PossibleServerVersionValues returns the possible values for the ServerVersion const type.

func (ServerVersion) ToPtr

func (c ServerVersion) ToPtr() *ServerVersion

ToPtr returns a *ServerVersion pointing to the current value.

type SpatialSpec

type SpatialSpec struct {
	// The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*)
	Path *string `json:"path,omitempty"`

	// List of path's spatial type
	Types []*SpatialType `json:"types,omitempty"`
}

func (SpatialSpec) MarshalJSON

func (s SpatialSpec) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SpatialSpec.

type SpatialType

type SpatialType string

SpatialType - Indicates the spatial type of index.

const (
	SpatialTypeLineString   SpatialType = "LineString"
	SpatialTypeMultiPolygon SpatialType = "MultiPolygon"
	SpatialTypePoint        SpatialType = "Point"
	SpatialTypePolygon      SpatialType = "Polygon"
)

func PossibleSpatialTypeValues

func PossibleSpatialTypeValues() []SpatialType

PossibleSpatialTypeValues returns the possible values for the SpatialType const type.

func (SpatialType) ToPtr

func (c SpatialType) ToPtr() *SpatialType

ToPtr returns a *SpatialType pointing to the current value.

type SystemData

type SystemData struct {
	// The timestamp of resource creation (UTC).
	CreatedAt *time.Time `json:"createdAt,omitempty"`

	// The identity that created the resource.
	CreatedBy *string `json:"createdBy,omitempty"`

	// The type of identity that created the resource.
	CreatedByType *CreatedByType `json:"createdByType,omitempty"`

	// The timestamp of resource last modification (UTC)
	LastModifiedAt *time.Time `json:"lastModifiedAt,omitempty"`

	// The identity that last modified the resource.
	LastModifiedBy *string `json:"lastModifiedBy,omitempty"`

	// The type of identity that last modified the resource.
	LastModifiedByType *CreatedByType `json:"lastModifiedByType,omitempty"`
}

SystemData - Metadata pertaining to creation and last modification of the resource.

func (SystemData) MarshalJSON

func (s SystemData) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type SystemData.

func (*SystemData) UnmarshalJSON

func (s *SystemData) UnmarshalJSON(data []byte) error

UnmarshalJSON implements the json.Unmarshaller interface for type SystemData.

type TableCreateUpdateParameters

type TableCreateUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to create and update Azure Cosmos DB Table.
	Properties *TableCreateUpdateProperties `json:"properties,omitempty"`
}

TableCreateUpdateParameters - Parameters to create and update Cosmos DB Table.

func (TableCreateUpdateParameters) MarshalJSON

func (t TableCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TableCreateUpdateParameters.

type TableCreateUpdateProperties

type TableCreateUpdateProperties struct {
	// REQUIRED; The standard JSON format of a Table
	Resource *TableResource `json:"resource,omitempty"`

	// A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
	Options *CreateUpdateOptions `json:"options,omitempty"`
}

TableCreateUpdateProperties - Properties to create and update Azure Cosmos DB Table.

type TableGetProperties

type TableGetProperties struct {
	Options  *TableGetPropertiesOptions  `json:"options,omitempty"`
	Resource *TableGetPropertiesResource `json:"resource,omitempty"`
}

TableGetProperties - The properties of an Azure Cosmos Table

type TableGetPropertiesOptions

type TableGetPropertiesOptions struct {
	OptionsResource
}

type TableGetPropertiesResource

type TableGetPropertiesResource struct {
	ExtendedResourceProperties
	TableResource
}

type TableGetResults

type TableGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB Table
	Properties *TableGetProperties `json:"properties,omitempty"`
}

TableGetResults - An Azure Cosmos DB Table.

func (TableGetResults) MarshalJSON

func (t TableGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TableGetResults.

type TableListResult

type TableListResult struct {
	// READ-ONLY; List of Table and their properties.
	Value []*TableGetResults `json:"value,omitempty" azure:"ro"`
}

TableListResult - The List operation response, that contains the Table and their properties.

func (TableListResult) MarshalJSON

func (t TableListResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TableListResult.

type TableResource

type TableResource struct {
	// REQUIRED; Name of the Cosmos DB table
	ID *string `json:"id,omitempty"`
}

TableResource - Cosmos DB table resource object

func (TableResource) MarshalJSON

func (t TableResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type TableResource.

type TableResourcesBeginCreateUpdateTableOptions

type TableResourcesBeginCreateUpdateTableOptions struct {
}

TableResourcesBeginCreateUpdateTableOptions contains the optional parameters for the TableResources.BeginCreateUpdateTable method.

type TableResourcesBeginDeleteTableOptions

type TableResourcesBeginDeleteTableOptions struct {
}

TableResourcesBeginDeleteTableOptions contains the optional parameters for the TableResources.BeginDeleteTable method.

type TableResourcesBeginMigrateTableToAutoscaleOptions

type TableResourcesBeginMigrateTableToAutoscaleOptions struct {
}

TableResourcesBeginMigrateTableToAutoscaleOptions contains the optional parameters for the TableResources.BeginMigrateTableToAutoscale method.

type TableResourcesBeginMigrateTableToManualThroughputOptions

type TableResourcesBeginMigrateTableToManualThroughputOptions struct {
}

TableResourcesBeginMigrateTableToManualThroughputOptions contains the optional parameters for the TableResources.BeginMigrateTableToManualThroughput method.

type TableResourcesBeginUpdateTableThroughputOptions

type TableResourcesBeginUpdateTableThroughputOptions struct {
}

TableResourcesBeginUpdateTableThroughputOptions contains the optional parameters for the TableResources.BeginUpdateTableThroughput method.

type TableResourcesClient

type TableResourcesClient struct {
	// contains filtered or unexported fields
}

TableResourcesClient contains the methods for the TableResources group. Don't use this type directly, use NewTableResourcesClient() instead.

func NewTableResourcesClient

func NewTableResourcesClient(subscriptionID string, credential azcore.TokenCredential, options *arm.ClientOptions) *TableResourcesClient

NewTableResourcesClient creates a new instance of TableResourcesClient with the specified values.

func (*TableResourcesClient) BeginCreateUpdateTable

func (client *TableResourcesClient) BeginCreateUpdateTable(ctx context.Context, resourceGroupName string, accountName string, tableName string, createUpdateTableParameters TableCreateUpdateParameters, options *TableResourcesBeginCreateUpdateTableOptions) (TableResourcesCreateUpdateTablePollerResponse, error)

BeginCreateUpdateTable - Create or update an Azure Cosmos DB Table If the operation fails it returns a generic error.

func (*TableResourcesClient) BeginDeleteTable

func (client *TableResourcesClient) BeginDeleteTable(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *TableResourcesBeginDeleteTableOptions) (TableResourcesDeleteTablePollerResponse, error)

BeginDeleteTable - Deletes an existing Azure Cosmos DB Table. If the operation fails it returns a generic error.

func (*TableResourcesClient) BeginMigrateTableToAutoscale

func (client *TableResourcesClient) BeginMigrateTableToAutoscale(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *TableResourcesBeginMigrateTableToAutoscaleOptions) (TableResourcesMigrateTableToAutoscalePollerResponse, error)

BeginMigrateTableToAutoscale - Migrate an Azure Cosmos DB Table from manual throughput to autoscale If the operation fails it returns the *CloudError error type.

func (*TableResourcesClient) BeginMigrateTableToManualThroughput

func (client *TableResourcesClient) BeginMigrateTableToManualThroughput(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *TableResourcesBeginMigrateTableToManualThroughputOptions) (TableResourcesMigrateTableToManualThroughputPollerResponse, error)

BeginMigrateTableToManualThroughput - Migrate an Azure Cosmos DB Table from autoscale to manual throughput If the operation fails it returns the *CloudError error type.

func (*TableResourcesClient) BeginUpdateTableThroughput

func (client *TableResourcesClient) BeginUpdateTableThroughput(ctx context.Context, resourceGroupName string, accountName string, tableName string, updateThroughputParameters ThroughputSettingsUpdateParameters, options *TableResourcesBeginUpdateTableThroughputOptions) (TableResourcesUpdateTableThroughputPollerResponse, error)

BeginUpdateTableThroughput - Update RUs per second of an Azure Cosmos DB Table If the operation fails it returns a generic error.

func (*TableResourcesClient) GetTable

func (client *TableResourcesClient) GetTable(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *TableResourcesGetTableOptions) (TableResourcesGetTableResponse, error)

GetTable - Gets the Tables under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*TableResourcesClient) GetTableThroughput

func (client *TableResourcesClient) GetTableThroughput(ctx context.Context, resourceGroupName string, accountName string, tableName string, options *TableResourcesGetTableThroughputOptions) (TableResourcesGetTableThroughputResponse, error)

GetTableThroughput - Gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name. If the operation fails it returns a generic error.

func (*TableResourcesClient) ListTables

func (client *TableResourcesClient) ListTables(ctx context.Context, resourceGroupName string, accountName string, options *TableResourcesListTablesOptions) (TableResourcesListTablesResponse, error)

ListTables - Lists the Tables under an existing Azure Cosmos DB database account. If the operation fails it returns a generic error.

type TableResourcesCreateUpdateTablePoller

type TableResourcesCreateUpdateTablePoller struct {
	// contains filtered or unexported fields
}

TableResourcesCreateUpdateTablePoller provides polling facilities until the operation reaches a terminal state.

func (*TableResourcesCreateUpdateTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*TableResourcesCreateUpdateTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TableResourcesCreateUpdateTableResponse will be returned.

func (*TableResourcesCreateUpdateTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*TableResourcesCreateUpdateTablePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type TableResourcesCreateUpdateTablePollerResponse

type TableResourcesCreateUpdateTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *TableResourcesCreateUpdateTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesCreateUpdateTablePollerResponse contains the response from method TableResources.CreateUpdateTable.

func (TableResourcesCreateUpdateTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*TableResourcesCreateUpdateTablePollerResponse) Resume

Resume rehydrates a TableResourcesCreateUpdateTablePollerResponse from the provided client and resume token.

type TableResourcesCreateUpdateTableResponse

type TableResourcesCreateUpdateTableResponse struct {
	TableResourcesCreateUpdateTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesCreateUpdateTableResponse contains the response from method TableResources.CreateUpdateTable.

type TableResourcesCreateUpdateTableResult

type TableResourcesCreateUpdateTableResult struct {
	TableGetResults
}

TableResourcesCreateUpdateTableResult contains the result from method TableResources.CreateUpdateTable.

type TableResourcesDeleteTablePoller

type TableResourcesDeleteTablePoller struct {
	// contains filtered or unexported fields
}

TableResourcesDeleteTablePoller provides polling facilities until the operation reaches a terminal state.

func (*TableResourcesDeleteTablePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*TableResourcesDeleteTablePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TableResourcesDeleteTableResponse will be returned.

func (*TableResourcesDeleteTablePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*TableResourcesDeleteTablePoller) ResumeToken

func (p *TableResourcesDeleteTablePoller) ResumeToken() (string, error)

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type TableResourcesDeleteTablePollerResponse

type TableResourcesDeleteTablePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *TableResourcesDeleteTablePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesDeleteTablePollerResponse contains the response from method TableResources.DeleteTable.

func (TableResourcesDeleteTablePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*TableResourcesDeleteTablePollerResponse) Resume

Resume rehydrates a TableResourcesDeleteTablePollerResponse from the provided client and resume token.

type TableResourcesDeleteTableResponse

type TableResourcesDeleteTableResponse struct {
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesDeleteTableResponse contains the response from method TableResources.DeleteTable.

type TableResourcesGetTableOptions

type TableResourcesGetTableOptions struct {
}

TableResourcesGetTableOptions contains the optional parameters for the TableResources.GetTable method.

type TableResourcesGetTableResponse

type TableResourcesGetTableResponse struct {
	TableResourcesGetTableResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesGetTableResponse contains the response from method TableResources.GetTable.

type TableResourcesGetTableResult

type TableResourcesGetTableResult struct {
	TableGetResults
}

TableResourcesGetTableResult contains the result from method TableResources.GetTable.

type TableResourcesGetTableThroughputOptions

type TableResourcesGetTableThroughputOptions struct {
}

TableResourcesGetTableThroughputOptions contains the optional parameters for the TableResources.GetTableThroughput method.

type TableResourcesGetTableThroughputResponse

type TableResourcesGetTableThroughputResponse struct {
	TableResourcesGetTableThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesGetTableThroughputResponse contains the response from method TableResources.GetTableThroughput.

type TableResourcesGetTableThroughputResult

type TableResourcesGetTableThroughputResult struct {
	ThroughputSettingsGetResults
}

TableResourcesGetTableThroughputResult contains the result from method TableResources.GetTableThroughput.

type TableResourcesListTablesOptions

type TableResourcesListTablesOptions struct {
}

TableResourcesListTablesOptions contains the optional parameters for the TableResources.ListTables method.

type TableResourcesListTablesResponse

type TableResourcesListTablesResponse struct {
	TableResourcesListTablesResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesListTablesResponse contains the response from method TableResources.ListTables.

type TableResourcesListTablesResult

type TableResourcesListTablesResult struct {
	TableListResult
}

TableResourcesListTablesResult contains the result from method TableResources.ListTables.

type TableResourcesMigrateTableToAutoscalePoller

type TableResourcesMigrateTableToAutoscalePoller struct {
	// contains filtered or unexported fields
}

TableResourcesMigrateTableToAutoscalePoller provides polling facilities until the operation reaches a terminal state.

func (*TableResourcesMigrateTableToAutoscalePoller) Done

Done returns true if the LRO has reached a terminal state.

func (*TableResourcesMigrateTableToAutoscalePoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TableResourcesMigrateTableToAutoscaleResponse will be returned.

func (*TableResourcesMigrateTableToAutoscalePoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*TableResourcesMigrateTableToAutoscalePoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type TableResourcesMigrateTableToAutoscalePollerResponse

type TableResourcesMigrateTableToAutoscalePollerResponse struct {
	// Poller contains an initialized poller.
	Poller *TableResourcesMigrateTableToAutoscalePoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesMigrateTableToAutoscalePollerResponse contains the response from method TableResources.MigrateTableToAutoscale.

func (TableResourcesMigrateTableToAutoscalePollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*TableResourcesMigrateTableToAutoscalePollerResponse) Resume

Resume rehydrates a TableResourcesMigrateTableToAutoscalePollerResponse from the provided client and resume token.

type TableResourcesMigrateTableToAutoscaleResponse

type TableResourcesMigrateTableToAutoscaleResponse struct {
	TableResourcesMigrateTableToAutoscaleResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesMigrateTableToAutoscaleResponse contains the response from method TableResources.MigrateTableToAutoscale.

type TableResourcesMigrateTableToAutoscaleResult

type TableResourcesMigrateTableToAutoscaleResult struct {
	ThroughputSettingsGetResults
}

TableResourcesMigrateTableToAutoscaleResult contains the result from method TableResources.MigrateTableToAutoscale.

type TableResourcesMigrateTableToManualThroughputPoller

type TableResourcesMigrateTableToManualThroughputPoller struct {
	// contains filtered or unexported fields
}

TableResourcesMigrateTableToManualThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*TableResourcesMigrateTableToManualThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*TableResourcesMigrateTableToManualThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TableResourcesMigrateTableToManualThroughputResponse will be returned.

func (*TableResourcesMigrateTableToManualThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*TableResourcesMigrateTableToManualThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type TableResourcesMigrateTableToManualThroughputPollerResponse

type TableResourcesMigrateTableToManualThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *TableResourcesMigrateTableToManualThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesMigrateTableToManualThroughputPollerResponse contains the response from method TableResources.MigrateTableToManualThroughput.

func (TableResourcesMigrateTableToManualThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*TableResourcesMigrateTableToManualThroughputPollerResponse) Resume

Resume rehydrates a TableResourcesMigrateTableToManualThroughputPollerResponse from the provided client and resume token.

type TableResourcesMigrateTableToManualThroughputResponse

type TableResourcesMigrateTableToManualThroughputResponse struct {
	TableResourcesMigrateTableToManualThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesMigrateTableToManualThroughputResponse contains the response from method TableResources.MigrateTableToManualThroughput.

type TableResourcesMigrateTableToManualThroughputResult

type TableResourcesMigrateTableToManualThroughputResult struct {
	ThroughputSettingsGetResults
}

TableResourcesMigrateTableToManualThroughputResult contains the result from method TableResources.MigrateTableToManualThroughput.

type TableResourcesUpdateTableThroughputPoller

type TableResourcesUpdateTableThroughputPoller struct {
	// contains filtered or unexported fields
}

TableResourcesUpdateTableThroughputPoller provides polling facilities until the operation reaches a terminal state.

func (*TableResourcesUpdateTableThroughputPoller) Done

Done returns true if the LRO has reached a terminal state.

func (*TableResourcesUpdateTableThroughputPoller) FinalResponse

FinalResponse performs a final GET to the service and returns the final response for the polling operation. If there is an error performing the final GET then an error is returned. If the final GET succeeded then the final TableResourcesUpdateTableThroughputResponse will be returned.

func (*TableResourcesUpdateTableThroughputPoller) Poll

Poll fetches the latest state of the LRO. It returns an HTTP response or error. If the LRO has completed successfully, the poller's state is updated and the HTTP response is returned. If the LRO has completed with failure or was cancelled, the poller's state is updated and the error is returned. If the LRO has not reached a terminal state, the poller's state is updated and the latest HTTP response is returned. If Poll fails, the poller's state is unmodified and the error is returned. Calling Poll on an LRO that has reached a terminal state will return the final HTTP response or error.

func (*TableResourcesUpdateTableThroughputPoller) ResumeToken

ResumeToken returns a value representing the poller that can be used to resume the LRO at a later time. ResumeTokens are unique per service operation.

type TableResourcesUpdateTableThroughputPollerResponse

type TableResourcesUpdateTableThroughputPollerResponse struct {
	// Poller contains an initialized poller.
	Poller *TableResourcesUpdateTableThroughputPoller

	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesUpdateTableThroughputPollerResponse contains the response from method TableResources.UpdateTableThroughput.

func (TableResourcesUpdateTableThroughputPollerResponse) PollUntilDone

PollUntilDone will poll the service endpoint until a terminal state is reached or an error is received. freq: the time to wait between intervals in absence of a Retry-After header. Allowed minimum is one second. A good starting value is 30 seconds. Note that some resources might benefit from a different value.

func (*TableResourcesUpdateTableThroughputPollerResponse) Resume

Resume rehydrates a TableResourcesUpdateTableThroughputPollerResponse from the provided client and resume token.

type TableResourcesUpdateTableThroughputResponse

type TableResourcesUpdateTableThroughputResponse struct {
	TableResourcesUpdateTableThroughputResult
	// RawResponse contains the underlying HTTP response.
	RawResponse *http.Response
}

TableResourcesUpdateTableThroughputResponse contains the response from method TableResources.UpdateTableThroughput.

type TableResourcesUpdateTableThroughputResult

type TableResourcesUpdateTableThroughputResult struct {
	ThroughputSettingsGetResults
}

TableResourcesUpdateTableThroughputResult contains the result from method TableResources.UpdateTableThroughput.

type ThroughputPolicyResource

type ThroughputPolicyResource struct {
	// Represents the percentage by which throughput can increase every time throughput policy kicks in.
	IncrementPercent *int32 `json:"incrementPercent,omitempty"`

	// Determines whether the ThroughputPolicy is active or not
	IsEnabled *bool `json:"isEnabled,omitempty"`
}

ThroughputPolicyResource - Cosmos DB resource throughput policy

type ThroughputSettingsGetProperties

type ThroughputSettingsGetProperties struct {
	Resource *ThroughputSettingsGetPropertiesResource `json:"resource,omitempty"`
}

ThroughputSettingsGetProperties - The properties of an Azure Cosmos DB resource throughput

type ThroughputSettingsGetPropertiesResource

type ThroughputSettingsGetPropertiesResource struct {
	ExtendedResourceProperties
	ThroughputSettingsResource
}

type ThroughputSettingsGetResults

type ThroughputSettingsGetResults struct {
	ARMResourceProperties
	// The properties of an Azure Cosmos DB resource throughput
	Properties *ThroughputSettingsGetProperties `json:"properties,omitempty"`
}

ThroughputSettingsGetResults - An Azure Cosmos DB resource throughput.

func (ThroughputSettingsGetResults) MarshalJSON

func (t ThroughputSettingsGetResults) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ThroughputSettingsGetResults.

type ThroughputSettingsResource

type ThroughputSettingsResource struct {
	// Cosmos DB resource for autoscale settings. Either throughput is required or autoscaleSettings is required, but not both.
	AutoscaleSettings *AutoscaleSettingsResource `json:"autoscaleSettings,omitempty"`

	// Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both.
	Throughput *int32 `json:"throughput,omitempty"`

	// READ-ONLY; The minimum throughput of the resource
	MinimumThroughput *string `json:"minimumThroughput,omitempty" azure:"ro"`

	// READ-ONLY; The throughput replace is pending
	OfferReplacePending *string `json:"offerReplacePending,omitempty" azure:"ro"`
}

ThroughputSettingsResource - Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both.

func (ThroughputSettingsResource) MarshalJSON

func (t ThroughputSettingsResource) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ThroughputSettingsResource.

type ThroughputSettingsUpdateParameters

type ThroughputSettingsUpdateParameters struct {
	ARMResourceProperties
	// REQUIRED; Properties to update Azure Cosmos DB resource throughput.
	Properties *ThroughputSettingsUpdateProperties `json:"properties,omitempty"`
}

ThroughputSettingsUpdateParameters - Parameters to update Cosmos DB resource throughput.

func (ThroughputSettingsUpdateParameters) MarshalJSON

func (t ThroughputSettingsUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type ThroughputSettingsUpdateParameters.

type ThroughputSettingsUpdateProperties

type ThroughputSettingsUpdateProperties struct {
	// REQUIRED; The standard JSON format of a resource throughput
	Resource *ThroughputSettingsResource `json:"resource,omitempty"`
}

ThroughputSettingsUpdateProperties - Properties to update Azure Cosmos DB resource throughput.

type TriggerOperation

type TriggerOperation string

TriggerOperation - The operation the trigger is associated with

const (
	TriggerOperationAll     TriggerOperation = "All"
	TriggerOperationCreate  TriggerOperation = "Create"
	TriggerOperationDelete  TriggerOperation = "Delete"
	TriggerOperationReplace TriggerOperation = "Replace"
	TriggerOperationUpdate  TriggerOperation = "Update"
)

func PossibleTriggerOperationValues

func PossibleTriggerOperationValues() []TriggerOperation

PossibleTriggerOperationValues returns the possible values for the TriggerOperation const type.

func (TriggerOperation) ToPtr

ToPtr returns a *TriggerOperation pointing to the current value.

type TriggerType

type TriggerType string

TriggerType - Type of the Trigger

const (
	TriggerTypePost TriggerType = "Post"
	TriggerTypePre  TriggerType = "Pre"
)

func PossibleTriggerTypeValues

func PossibleTriggerTypeValues() []TriggerType

PossibleTriggerTypeValues returns the possible values for the TriggerType const type.

func (TriggerType) ToPtr

func (c TriggerType) ToPtr() *TriggerType

ToPtr returns a *TriggerType pointing to the current value.

type UniqueKey

type UniqueKey struct {
	// List of paths must be unique for each document in the Azure Cosmos DB service
	Paths []*string `json:"paths,omitempty"`
}

UniqueKey - The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.

func (UniqueKey) MarshalJSON

func (u UniqueKey) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UniqueKey.

type UniqueKeyPolicy

type UniqueKeyPolicy struct {
	// List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service.
	UniqueKeys []*UniqueKey `json:"uniqueKeys,omitempty"`
}

UniqueKeyPolicy - The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service.

func (UniqueKeyPolicy) MarshalJSON

func (u UniqueKeyPolicy) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UniqueKeyPolicy.

type UnitType

type UnitType string

UnitType - The unit of the metric.

const (
	UnitTypeBytes          UnitType = "Bytes"
	UnitTypeBytesPerSecond UnitType = "BytesPerSecond"
	UnitTypeCount          UnitType = "Count"
	UnitTypeCountPerSecond UnitType = "CountPerSecond"
	UnitTypeMilliseconds   UnitType = "Milliseconds"
	UnitTypePercent        UnitType = "Percent"
	UnitTypeSeconds        UnitType = "Seconds"
)

func PossibleUnitTypeValues

func PossibleUnitTypeValues() []UnitType

PossibleUnitTypeValues returns the possible values for the UnitType const type.

func (UnitType) ToPtr

func (c UnitType) ToPtr() *UnitType

ToPtr returns a *UnitType pointing to the current value.

type Usage

type Usage struct {
	// READ-ONLY; Current value for this metric
	CurrentValue *int64 `json:"currentValue,omitempty" azure:"ro"`

	// READ-ONLY; Maximum value for this metric
	Limit *int64 `json:"limit,omitempty" azure:"ro"`

	// READ-ONLY; The name information for the metric.
	Name *MetricName `json:"name,omitempty" azure:"ro"`

	// READ-ONLY; The quota period used to summarize the usage values.
	QuotaPeriod *string `json:"quotaPeriod,omitempty" azure:"ro"`

	// READ-ONLY; The unit of the metric.
	Unit *UnitType `json:"unit,omitempty" azure:"ro"`
}

Usage - The usage data for a usage request.

type UsagesResult

type UsagesResult struct {
	// READ-ONLY; The list of usages for the database. A usage is a point in time metric
	Value []*Usage `json:"value,omitempty" azure:"ro"`
}

UsagesResult - The response to a list usage request.

func (UsagesResult) MarshalJSON

func (u UsagesResult) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaller interface for type UsagesResult.

type VirtualNetworkRule

type VirtualNetworkRule struct {
	// Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}.
	ID *string `json:"id,omitempty"`

	// Create firewall rule before the virtual network has vnet service endpoint enabled.
	IgnoreMissingVNetServiceEndpoint *bool `json:"ignoreMissingVNetServiceEndpoint,omitempty"`
}

VirtualNetworkRule - Virtual Network ACL Rule object

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL