azure-sdk-for-go: github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb Index | Files | Directories

package documentdb

import "github.com/Azure/azure-sdk-for-go/services/cosmos-db/mgmt/2015-04-08/documentdb"

Package documentdb implements the Azure ARM Documentdb service API version 2015-04-08.

Azure Cosmos DB Database Service Resource Provider REST API

Index

Package Files

client.go collection.go collectionpartition.go collectionpartitionregion.go collectionregion.go database.go databaseaccountregion.go databaseaccounts.go models.go operations.go partitionkeyrangeid.go partitionkeyrangeidregion.go percentile.go percentilesourcetarget.go percentiletarget.go version.go

Constants

const (
    // DefaultBaseURI is the default URI used for the service Documentdb
    DefaultBaseURI = "https://management.azure.com"
)

func UserAgent Uses

func UserAgent() string

UserAgent returns the UserAgent string to use when sending http.Requests.

func Version Uses

func Version() string

Version returns the semantic version (see http://semver.org) of the client.

type BaseClient Uses

type BaseClient struct {
    autorest.Client
    BaseURI        string
    SubscriptionID string
}

BaseClient is the base client for Documentdb.

func New Uses

func New(subscriptionID string) BaseClient

New creates an instance of the BaseClient client.

func NewWithBaseURI Uses

func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient

NewWithBaseURI creates an instance of the BaseClient client.

type Capability Uses

type Capability struct {
    // Name - 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 CassandraKeyspace Uses

type CassandraKeyspace struct {
    autorest.Response `json:"-"`
    // CassandraKeyspaceProperties - The properties of an Azure Cosmos DB Cassandra keyspace
    *CassandraKeyspaceProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The unique resource identifier of the database account.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the database account.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of Azure resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource group to which the resource belongs.
    Location *string            `json:"location,omitempty"`
    Tags     map[string]*string `json:"tags"`
}

CassandraKeyspace an Azure Cosmos DB Cassandra keyspace.

func (CassandraKeyspace) MarshalJSON Uses

func (ck CassandraKeyspace) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CassandraKeyspace.

func (*CassandraKeyspace) UnmarshalJSON Uses

func (ck *CassandraKeyspace) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CassandraKeyspace struct.

type CassandraKeyspaceCreateUpdateParameters Uses

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

CassandraKeyspaceCreateUpdateParameters parameters to create and update Cosmos DB Cassandra keyspace.

func (CassandraKeyspaceCreateUpdateParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CassandraKeyspaceCreateUpdateParameters.

func (*CassandraKeyspaceCreateUpdateParameters) UnmarshalJSON Uses

func (ckcup *CassandraKeyspaceCreateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CassandraKeyspaceCreateUpdateParameters struct.

type CassandraKeyspaceCreateUpdateProperties Uses

type CassandraKeyspaceCreateUpdateProperties struct {
    // Resource - The standard JSON format of a Cassandra keyspace
    Resource *CassandraKeyspaceResource `json:"resource,omitempty"`
    // Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
    Options map[string]*string `json:"options"`
}

CassandraKeyspaceCreateUpdateProperties properties to create and update Azure Cosmos DB Cassandra keyspace.

func (CassandraKeyspaceCreateUpdateProperties) MarshalJSON Uses

func (ckcup CassandraKeyspaceCreateUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CassandraKeyspaceCreateUpdateProperties.

type CassandraKeyspaceListResult Uses

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

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

type CassandraKeyspaceProperties Uses

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

CassandraKeyspaceProperties the properties of an Azure Cosmos DB Cassandra keyspace

type CassandraKeyspaceResource Uses

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

CassandraKeyspaceResource cosmos DB Cassandra keyspace id object

type CassandraPartitionKey Uses

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

CassandraPartitionKey cosmos DB Cassandra table partition key

type CassandraSchema Uses

type CassandraSchema struct {
    // Columns - List of Cassandra table columns.
    Columns *[]Column `json:"columns,omitempty"`
    // PartitionKeys - List of partition key.
    PartitionKeys *[]CassandraPartitionKey `json:"partitionKeys,omitempty"`
    // ClusterKeys - List of cluster key.
    ClusterKeys *[]ClusterKey `json:"clusterKeys,omitempty"`
}

CassandraSchema cosmos DB Cassandra table schema

type CassandraTable Uses

type CassandraTable struct {
    autorest.Response `json:"-"`
    // CassandraTableProperties - The properties of an Azure Cosmos DB Cassandra table
    *CassandraTableProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The unique resource identifier of the database account.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the database account.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of Azure resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource group to which the resource belongs.
    Location *string            `json:"location,omitempty"`
    Tags     map[string]*string `json:"tags"`
}

CassandraTable an Azure Cosmos DB Cassandra table.

func (CassandraTable) MarshalJSON Uses

func (ct CassandraTable) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CassandraTable.

func (*CassandraTable) UnmarshalJSON Uses

func (ct *CassandraTable) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CassandraTable struct.

type CassandraTableCreateUpdateParameters Uses

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

CassandraTableCreateUpdateParameters parameters to create and update Cosmos DB Cassandra table.

func (CassandraTableCreateUpdateParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for CassandraTableCreateUpdateParameters.

func (*CassandraTableCreateUpdateParameters) UnmarshalJSON Uses

func (ctcup *CassandraTableCreateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for CassandraTableCreateUpdateParameters struct.

type CassandraTableCreateUpdateProperties Uses

type CassandraTableCreateUpdateProperties struct {
    // Resource - The standard JSON format of a Cassandra table
    Resource *CassandraTableResource `json:"resource,omitempty"`
    // Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
    Options map[string]*string `json:"options"`
}

CassandraTableCreateUpdateProperties properties to create and update Azure Cosmos DB Cassandra table.

func (CassandraTableCreateUpdateProperties) MarshalJSON Uses

func (ctcup CassandraTableCreateUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for CassandraTableCreateUpdateProperties.

type CassandraTableListResult Uses

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

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

type CassandraTableProperties Uses

type CassandraTableProperties struct {
    // ID - Name of the Cosmos DB Cassandra table
    ID  *string `json:"id,omitempty"`
    // DefaultTTL - Time to live of the Cosmos DB Cassandra table
    DefaultTTL *int32 `json:"defaultTtl,omitempty"`
    // Schema - Schema of the Cosmos DB Cassandra table
    Schema *CassandraSchema `json:"schema,omitempty"`
}

CassandraTableProperties the properties of an Azure Cosmos DB Cassandra table

type CassandraTableResource Uses

type CassandraTableResource struct {
    // ID - Name of the Cosmos DB Cassandra table
    ID  *string `json:"id,omitempty"`
    // DefaultTTL - Time to live of the Cosmos DB Cassandra table
    DefaultTTL *int32 `json:"defaultTtl,omitempty"`
    // Schema - Schema of the Cosmos DB Cassandra table
    Schema *CassandraSchema `json:"schema,omitempty"`
}

CassandraTableResource cosmos DB Cassandra table id object

type ClusterKey Uses

type ClusterKey struct {
    // Name - Name of the Cosmos DB Cassandra table cluster key
    Name *string `json:"name,omitempty"`
    // OrderBy - 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 CollectionClient Uses

type CollectionClient struct {
    BaseClient
}

CollectionClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewCollectionClient Uses

func NewCollectionClient(subscriptionID string) CollectionClient

NewCollectionClient creates an instance of the CollectionClient client.

func NewCollectionClientWithBaseURI Uses

func NewCollectionClientWithBaseURI(baseURI string, subscriptionID string) CollectionClient

NewCollectionClientWithBaseURI creates an instance of the CollectionClient client.

func (CollectionClient) ListMetricDefinitions Uses

func (client CollectionClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string) (result MetricDefinitionsListResult, err error)

ListMetricDefinitions retrieves metric definitions for the given collection. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid.

func (CollectionClient) ListMetricDefinitionsPreparer Uses

func (client CollectionClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string) (*http.Request, error)

ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request.

func (CollectionClient) ListMetricDefinitionsResponder Uses

func (client CollectionClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionsListResult, err error)

ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always closes the http.Response Body.

func (CollectionClient) ListMetricDefinitionsSender Uses

func (client CollectionClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)

ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the http.Response Body if it receives an error.

func (CollectionClient) ListMetrics Uses

func (client CollectionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result MetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given database account and collection. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (CollectionClient) ListMetricsPreparer Uses

func (client CollectionClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (CollectionClient) ListMetricsResponder Uses

func (client CollectionClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (CollectionClient) ListMetricsSender Uses

func (client CollectionClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

func (CollectionClient) ListUsages Uses

func (client CollectionClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result UsagesResult, err error)

ListUsages retrieves the usages (most recent storage data) for the given collection. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid. filter - 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).

func (CollectionClient) ListUsagesPreparer Uses

func (client CollectionClient) ListUsagesPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (*http.Request, error)

ListUsagesPreparer prepares the ListUsages request.

func (CollectionClient) ListUsagesResponder Uses

func (client CollectionClient) ListUsagesResponder(resp *http.Response) (result UsagesResult, err error)

ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.

func (CollectionClient) ListUsagesSender Uses

func (client CollectionClient) ListUsagesSender(req *http.Request) (*http.Response, error)

ListUsagesSender sends the ListUsages request. The method will close the http.Response Body if it receives an error.

type CollectionPartitionClient Uses

type CollectionPartitionClient struct {
    BaseClient
}

CollectionPartitionClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewCollectionPartitionClient Uses

func NewCollectionPartitionClient(subscriptionID string) CollectionPartitionClient

NewCollectionPartitionClient creates an instance of the CollectionPartitionClient client.

func NewCollectionPartitionClientWithBaseURI Uses

func NewCollectionPartitionClientWithBaseURI(baseURI string, subscriptionID string) CollectionPartitionClient

NewCollectionPartitionClientWithBaseURI creates an instance of the CollectionPartitionClient client.

func (CollectionPartitionClient) ListMetrics Uses

func (client CollectionPartitionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result PartitionMetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given collection, split by partition. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (CollectionPartitionClient) ListMetricsPreparer Uses

func (client CollectionPartitionClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (CollectionPartitionClient) ListMetricsResponder Uses

func (client CollectionPartitionClient) ListMetricsResponder(resp *http.Response) (result PartitionMetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (CollectionPartitionClient) ListMetricsSender Uses

func (client CollectionPartitionClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

func (CollectionPartitionClient) ListUsages Uses

func (client CollectionPartitionClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (result PartitionUsagesResult, err error)

ListUsages retrieves the usages (most recent storage data) for the given collection, split by partition. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid. filter - 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).

func (CollectionPartitionClient) ListUsagesPreparer Uses

func (client CollectionPartitionClient) ListUsagesPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, filter string) (*http.Request, error)

ListUsagesPreparer prepares the ListUsages request.

func (CollectionPartitionClient) ListUsagesResponder Uses

func (client CollectionPartitionClient) ListUsagesResponder(resp *http.Response) (result PartitionUsagesResult, err error)

ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.

func (CollectionPartitionClient) ListUsagesSender Uses

func (client CollectionPartitionClient) ListUsagesSender(req *http.Request) (*http.Response, error)

ListUsagesSender sends the ListUsages request. The method will close the http.Response Body if it receives an error.

type CollectionPartitionRegionClient Uses

type CollectionPartitionRegionClient struct {
    BaseClient
}

CollectionPartitionRegionClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewCollectionPartitionRegionClient Uses

func NewCollectionPartitionRegionClient(subscriptionID string) CollectionPartitionRegionClient

NewCollectionPartitionRegionClient creates an instance of the CollectionPartitionRegionClient client.

func NewCollectionPartitionRegionClientWithBaseURI Uses

func NewCollectionPartitionRegionClientWithBaseURI(baseURI string, subscriptionID string) CollectionPartitionRegionClient

NewCollectionPartitionRegionClientWithBaseURI creates an instance of the CollectionPartitionRegionClient client.

func (CollectionPartitionRegionClient) ListMetrics Uses

func (client CollectionPartitionRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string) (result PartitionMetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given collection and region, split by partition. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. region - cosmos DB region, with spaces between words and each word capitalized. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (CollectionPartitionRegionClient) ListMetricsPreparer Uses

func (client CollectionPartitionRegionClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (CollectionPartitionRegionClient) ListMetricsResponder Uses

func (client CollectionPartitionRegionClient) ListMetricsResponder(resp *http.Response) (result PartitionMetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (CollectionPartitionRegionClient) ListMetricsSender Uses

func (client CollectionPartitionRegionClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

type CollectionRegionClient Uses

type CollectionRegionClient struct {
    BaseClient
}

CollectionRegionClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewCollectionRegionClient Uses

func NewCollectionRegionClient(subscriptionID string) CollectionRegionClient

NewCollectionRegionClient creates an instance of the CollectionRegionClient client.

func NewCollectionRegionClientWithBaseURI Uses

func NewCollectionRegionClientWithBaseURI(baseURI string, subscriptionID string) CollectionRegionClient

NewCollectionRegionClientWithBaseURI creates an instance of the CollectionRegionClient client.

func (CollectionRegionClient) ListMetrics Uses

func (client CollectionRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string) (result MetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given database account, collection and region. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. region - cosmos DB region, with spaces between words and each word capitalized. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (CollectionRegionClient) ListMetricsPreparer Uses

func (client CollectionRegionClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (CollectionRegionClient) ListMetricsResponder Uses

func (client CollectionRegionClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (CollectionRegionClient) ListMetricsSender Uses

func (client CollectionRegionClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

type Column Uses

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

Column cosmos DB Cassandra table column

type ConflictResolutionMode Uses

type ConflictResolutionMode string

ConflictResolutionMode enumerates the values for conflict resolution mode.

const (
    // Custom ...
    Custom ConflictResolutionMode = "Custom"
    // LastWriterWins ...
    LastWriterWins ConflictResolutionMode = "LastWriterWins"
)

func PossibleConflictResolutionModeValues Uses

func PossibleConflictResolutionModeValues() []ConflictResolutionMode

PossibleConflictResolutionModeValues returns an array of possible values for the ConflictResolutionMode const type.

type ConflictResolutionPolicy Uses

type ConflictResolutionPolicy struct {
    // Mode - Indicates the conflict resolution mode. Possible values include: 'LastWriterWins', 'Custom'
    Mode ConflictResolutionMode `json:"mode,omitempty"`
    // ConflictResolutionPath - The conflict resolution path in the case of LastWriterWins mode.
    ConflictResolutionPath *string `json:"conflictResolutionPath,omitempty"`
    // ConflictResolutionProcedure - The procedure to resolve conflicts in the case of custom mode.
    ConflictResolutionProcedure *string `json:"conflictResolutionProcedure,omitempty"`
}

ConflictResolutionPolicy the conflict resolution policy for the container.

type ConnectorOffer Uses

type ConnectorOffer string

ConnectorOffer enumerates the values for connector offer.

const (
    // Small ...
    Small ConnectorOffer = "Small"
)

func PossibleConnectorOfferValues Uses

func PossibleConnectorOfferValues() []ConnectorOffer

PossibleConnectorOfferValues returns an array of possible values for the ConnectorOffer const type.

type ConsistencyPolicy Uses

type ConsistencyPolicy struct {
    // DefaultConsistencyLevel - The default consistency level and configuration settings of the Cosmos DB account. Possible values include: 'Eventual', 'Session', 'BoundedStaleness', 'Strong', 'ConsistentPrefix'
    DefaultConsistencyLevel DefaultConsistencyLevel `json:"defaultConsistencyLevel,omitempty"`
    // MaxStalenessPrefix - 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"`
    // MaxIntervalInSeconds - 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"`
}

ConsistencyPolicy the consistency policy for the Cosmos DB database account.

type ContainerPartitionKey Uses

type ContainerPartitionKey struct {
    // Paths - List of paths using which data within the container can be partitioned
    Paths *[]string `json:"paths,omitempty"`
    // Kind - Indicates the kind of algorithm used for partitioning. Possible values include: 'PartitionKindHash', 'PartitionKindRange'
    Kind PartitionKind `json:"kind,omitempty"`
}

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

type DataType Uses

type DataType string

DataType enumerates the values for data type.

const (
    // LineString ...
    LineString DataType = "LineString"
    // MultiPolygon ...
    MultiPolygon DataType = "MultiPolygon"
    // Number ...
    Number DataType = "Number"
    // Point ...
    Point DataType = "Point"
    // Polygon ...
    Polygon DataType = "Polygon"
    // String ...
    String DataType = "String"
)

func PossibleDataTypeValues Uses

func PossibleDataTypeValues() []DataType

PossibleDataTypeValues returns an array of possible values for the DataType const type.

type DatabaseAccount Uses

type DatabaseAccount struct {
    autorest.Response `json:"-"`
    // Kind - Indicates the type of database account. This can only be set at database account creation. Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse'
    Kind                       DatabaseAccountKind `json:"kind,omitempty"`
    *DatabaseAccountProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The unique resource identifier of the database account.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the database account.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of Azure resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource group to which the resource belongs.
    Location *string            `json:"location,omitempty"`
    Tags     map[string]*string `json:"tags"`
}

DatabaseAccount an Azure Cosmos DB database account.

func (DatabaseAccount) MarshalJSON Uses

func (da DatabaseAccount) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabaseAccount.

func (*DatabaseAccount) UnmarshalJSON Uses

func (da *DatabaseAccount) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DatabaseAccount struct.

type DatabaseAccountConnectionString Uses

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

DatabaseAccountConnectionString connection string for the Cosmos DB account

type DatabaseAccountCreateUpdateParameters Uses

type DatabaseAccountCreateUpdateParameters struct {
    // Kind - Indicates the type of database account. This can only be set at database account creation. Possible values include: 'GlobalDocumentDB', 'MongoDB', 'Parse'
    Kind                                   DatabaseAccountKind `json:"kind,omitempty"`
    *DatabaseAccountCreateUpdateProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The unique resource identifier of the database account.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the database account.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of Azure resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource group to which the resource belongs.
    Location *string            `json:"location,omitempty"`
    Tags     map[string]*string `json:"tags"`
}

DatabaseAccountCreateUpdateParameters parameters to create and update Cosmos DB database accounts.

func (DatabaseAccountCreateUpdateParameters) MarshalJSON Uses

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

MarshalJSON is the custom marshaler for DatabaseAccountCreateUpdateParameters.

func (*DatabaseAccountCreateUpdateParameters) UnmarshalJSON Uses

func (dacup *DatabaseAccountCreateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DatabaseAccountCreateUpdateParameters struct.

type DatabaseAccountCreateUpdateProperties Uses

type DatabaseAccountCreateUpdateProperties struct {
    // ConsistencyPolicy - The consistency policy for the Cosmos DB account.
    ConsistencyPolicy *ConsistencyPolicy `json:"consistencyPolicy,omitempty"`
    // Locations - An array that contains the georeplication locations enabled for the Cosmos DB account.
    Locations *[]Location `json:"locations,omitempty"`
    // DatabaseAccountOfferType - The offer type for the database
    DatabaseAccountOfferType *string `json:"databaseAccountOfferType,omitempty"`
    // IPRangeFilter - Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
    IPRangeFilter *string `json:"ipRangeFilter,omitempty"`
    // IsVirtualNetworkFilterEnabled - Flag to indicate whether to enable/disable Virtual Network ACL rules.
    IsVirtualNetworkFilterEnabled *bool `json:"isVirtualNetworkFilterEnabled,omitempty"`
    // EnableAutomaticFailover - 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"`
    // Capabilities - List of Cosmos DB capabilities for the account
    Capabilities *[]Capability `json:"capabilities,omitempty"`
    // VirtualNetworkRules - List of Virtual Network ACL rules configured for the Cosmos DB account.
    VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
    // EnableMultipleWriteLocations - Enables the account to write in multiple locations
    EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"`
    // EnableCassandraConnector - Enables the cassandra connector on the Cosmos DB C* account
    EnableCassandraConnector *bool `json:"enableCassandraConnector,omitempty"`
    // ConnectorOffer - The cassandra connector offer type for the Cosmos DB database C* account. Possible values include: 'Small'
    ConnectorOffer ConnectorOffer `json:"connectorOffer,omitempty"`
}

DatabaseAccountCreateUpdateProperties properties to create and update Azure Cosmos DB database accounts.

type DatabaseAccountKind Uses

type DatabaseAccountKind string

DatabaseAccountKind enumerates the values for database account kind.

const (
    // GlobalDocumentDB ...
    GlobalDocumentDB DatabaseAccountKind = "GlobalDocumentDB"
    // MongoDB ...
    MongoDB DatabaseAccountKind = "MongoDB"
    // Parse ...
    Parse DatabaseAccountKind = "Parse"
)

func PossibleDatabaseAccountKindValues Uses

func PossibleDatabaseAccountKindValues() []DatabaseAccountKind

PossibleDatabaseAccountKindValues returns an array of possible values for the DatabaseAccountKind const type.

type DatabaseAccountListConnectionStringsResult Uses

type DatabaseAccountListConnectionStringsResult struct {
    autorest.Response `json:"-"`
    // ConnectionStrings - 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.

type DatabaseAccountListKeysResult Uses

type DatabaseAccountListKeysResult struct {
    autorest.Response `json:"-"`
    // PrimaryMasterKey - READ-ONLY; Base 64 encoded value of the primary read-write key.
    PrimaryMasterKey *string `json:"primaryMasterKey,omitempty"`
    // SecondaryMasterKey - READ-ONLY; Base 64 encoded value of the secondary read-write key.
    SecondaryMasterKey *string `json:"secondaryMasterKey,omitempty"`
    // PrimaryReadonlyMasterKey - READ-ONLY; Base 64 encoded value of the primary read-only key.
    PrimaryReadonlyMasterKey *string `json:"primaryReadonlyMasterKey,omitempty"`
    // SecondaryReadonlyMasterKey - READ-ONLY; Base 64 encoded value of the secondary read-only key.
    SecondaryReadonlyMasterKey *string `json:"secondaryReadonlyMasterKey,omitempty"`
}

DatabaseAccountListKeysResult the access keys for the given database account.

type DatabaseAccountListReadOnlyKeysResult Uses

type DatabaseAccountListReadOnlyKeysResult struct {
    autorest.Response `json:"-"`
    // PrimaryReadonlyMasterKey - READ-ONLY; Base 64 encoded value of the primary read-only key.
    PrimaryReadonlyMasterKey *string `json:"primaryReadonlyMasterKey,omitempty"`
    // SecondaryReadonlyMasterKey - READ-ONLY; Base 64 encoded value of the secondary read-only key.
    SecondaryReadonlyMasterKey *string `json:"secondaryReadonlyMasterKey,omitempty"`
}

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

type DatabaseAccountOfferType Uses

type DatabaseAccountOfferType string

DatabaseAccountOfferType enumerates the values for database account offer type.

const (
    // Standard ...
    Standard DatabaseAccountOfferType = "Standard"
)

func PossibleDatabaseAccountOfferTypeValues Uses

func PossibleDatabaseAccountOfferTypeValues() []DatabaseAccountOfferType

PossibleDatabaseAccountOfferTypeValues returns an array of possible values for the DatabaseAccountOfferType const type.

type DatabaseAccountPatchParameters Uses

type DatabaseAccountPatchParameters struct {
    Tags                            map[string]*string `json:"tags"`
    *DatabaseAccountPatchProperties `json:"properties,omitempty"`
}

DatabaseAccountPatchParameters parameters for patching Azure Cosmos DB database account properties.

func (DatabaseAccountPatchParameters) MarshalJSON Uses

func (dapp DatabaseAccountPatchParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for DatabaseAccountPatchParameters.

func (*DatabaseAccountPatchParameters) UnmarshalJSON Uses

func (dapp *DatabaseAccountPatchParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for DatabaseAccountPatchParameters struct.

type DatabaseAccountPatchProperties Uses

type DatabaseAccountPatchProperties struct {
    // Capabilities - List of Cosmos DB capabilities for the account
    Capabilities *[]Capability `json:"capabilities,omitempty"`
}

DatabaseAccountPatchProperties properties to update Azure Cosmos DB database accounts.

type DatabaseAccountProperties Uses

type DatabaseAccountProperties struct {
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // DocumentEndpoint - READ-ONLY; The connection endpoint for the Cosmos DB database account.
    DocumentEndpoint *string `json:"documentEndpoint,omitempty"`
    // DatabaseAccountOfferType - READ-ONLY; The offer type for the Cosmos DB database account. Default value: Standard. Possible values include: 'Standard'
    DatabaseAccountOfferType DatabaseAccountOfferType `json:"databaseAccountOfferType,omitempty"`
    // IPRangeFilter - Cosmos DB Firewall Support: This value specifies the set of IP addresses or IP address ranges in CIDR form to be included as the allowed list of client IPs for a given database account. IP addresses/ranges must be comma separated and must not contain any spaces.
    IPRangeFilter *string `json:"ipRangeFilter,omitempty"`
    // IsVirtualNetworkFilterEnabled - Flag to indicate whether to enable/disable Virtual Network ACL rules.
    IsVirtualNetworkFilterEnabled *bool `json:"isVirtualNetworkFilterEnabled,omitempty"`
    // EnableAutomaticFailover - 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"`
    // ConsistencyPolicy - The consistency policy for the Cosmos DB database account.
    ConsistencyPolicy *ConsistencyPolicy `json:"consistencyPolicy,omitempty"`
    // Capabilities - List of Cosmos DB capabilities for the account
    Capabilities *[]Capability `json:"capabilities,omitempty"`
    // WriteLocations - READ-ONLY; An array that contains the write location for the Cosmos DB account.
    WriteLocations *[]Location `json:"writeLocations,omitempty"`
    // ReadLocations - READ-ONLY; An array that contains of the read locations enabled for the Cosmos DB account.
    ReadLocations *[]Location `json:"readLocations,omitempty"`
    // FailoverPolicies - READ-ONLY; An array that contains the regions ordered by their failover priorities.
    FailoverPolicies *[]FailoverPolicy `json:"failoverPolicies,omitempty"`
    // VirtualNetworkRules - List of Virtual Network ACL rules configured for the Cosmos DB account.
    VirtualNetworkRules *[]VirtualNetworkRule `json:"virtualNetworkRules,omitempty"`
    // EnableMultipleWriteLocations - Enables the account to write in multiple locations
    EnableMultipleWriteLocations *bool `json:"enableMultipleWriteLocations,omitempty"`
    // EnableCassandraConnector - Enables the cassandra connector on the Cosmos DB C* account
    EnableCassandraConnector *bool `json:"enableCassandraConnector,omitempty"`
    // ConnectorOffer - The cassandra connector offer type for the Cosmos DB database C* account. Possible values include: 'Small'
    ConnectorOffer ConnectorOffer `json:"connectorOffer,omitempty"`
}

DatabaseAccountProperties properties for the database account.

type DatabaseAccountRegenerateKeyParameters Uses

type DatabaseAccountRegenerateKeyParameters struct {
    // KeyKind - The access key to regenerate. Possible values include: 'Primary', 'Secondary', 'PrimaryReadonly', 'SecondaryReadonly'
    KeyKind KeyKind `json:"keyKind,omitempty"`
}

DatabaseAccountRegenerateKeyParameters parameters to regenerate the keys within the database account.

type DatabaseAccountRegionClient Uses

type DatabaseAccountRegionClient struct {
    BaseClient
}

DatabaseAccountRegionClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewDatabaseAccountRegionClient Uses

func NewDatabaseAccountRegionClient(subscriptionID string) DatabaseAccountRegionClient

NewDatabaseAccountRegionClient creates an instance of the DatabaseAccountRegionClient client.

func NewDatabaseAccountRegionClientWithBaseURI Uses

func NewDatabaseAccountRegionClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAccountRegionClient

NewDatabaseAccountRegionClientWithBaseURI creates an instance of the DatabaseAccountRegionClient client.

func (DatabaseAccountRegionClient) ListMetrics Uses

func (client DatabaseAccountRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, filter string) (result MetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given database account and region. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. region - cosmos DB region, with spaces between words and each word capitalized. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (DatabaseAccountRegionClient) ListMetricsPreparer Uses

func (client DatabaseAccountRegionClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, region string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (DatabaseAccountRegionClient) ListMetricsResponder Uses

func (client DatabaseAccountRegionClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (DatabaseAccountRegionClient) ListMetricsSender Uses

func (client DatabaseAccountRegionClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

type DatabaseAccountsClient Uses

type DatabaseAccountsClient struct {
    BaseClient
}

DatabaseAccountsClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewDatabaseAccountsClient Uses

func NewDatabaseAccountsClient(subscriptionID string) DatabaseAccountsClient

NewDatabaseAccountsClient creates an instance of the DatabaseAccountsClient client.

func NewDatabaseAccountsClientWithBaseURI Uses

func NewDatabaseAccountsClientWithBaseURI(baseURI string, subscriptionID string) DatabaseAccountsClient

NewDatabaseAccountsClientWithBaseURI creates an instance of the DatabaseAccountsClient client.

func (DatabaseAccountsClient) CheckNameExists Uses

func (client DatabaseAccountsClient) CheckNameExists(ctx context.Context, accountName string) (result autorest.Response, err error)

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. Parameters: accountName - cosmos DB database account name.

func (DatabaseAccountsClient) CheckNameExistsPreparer Uses

func (client DatabaseAccountsClient) CheckNameExistsPreparer(ctx context.Context, accountName string) (*http.Request, error)

CheckNameExistsPreparer prepares the CheckNameExists request.

func (DatabaseAccountsClient) CheckNameExistsResponder Uses

func (client DatabaseAccountsClient) CheckNameExistsResponder(resp *http.Response) (result autorest.Response, err error)

CheckNameExistsResponder handles the response to the CheckNameExists request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CheckNameExistsSender Uses

func (client DatabaseAccountsClient) CheckNameExistsSender(req *http.Request) (*http.Response, error)

CheckNameExistsSender sends the CheckNameExists request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateOrUpdate Uses

func (client DatabaseAccountsClient) CreateOrUpdate(ctx context.Context, resourceGroupName string, accountName string, createUpdateParameters DatabaseAccountCreateUpdateParameters) (result DatabaseAccountsCreateOrUpdateFuture, err error)

CreateOrUpdate creates or updates an Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. createUpdateParameters - the parameters to provide for the current database account.

func (DatabaseAccountsClient) CreateOrUpdatePreparer Uses

func (client DatabaseAccountsClient) CreateOrUpdatePreparer(ctx context.Context, resourceGroupName string, accountName string, createUpdateParameters DatabaseAccountCreateUpdateParameters) (*http.Request, error)

CreateOrUpdatePreparer prepares the CreateOrUpdate request.

func (DatabaseAccountsClient) CreateOrUpdateResponder Uses

func (client DatabaseAccountsClient) CreateOrUpdateResponder(resp *http.Response) (result DatabaseAccount, err error)

CreateOrUpdateResponder handles the response to the CreateOrUpdate request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateOrUpdateSender Uses

func (client DatabaseAccountsClient) CreateOrUpdateSender(req *http.Request) (future DatabaseAccountsCreateOrUpdateFuture, err error)

CreateOrUpdateSender sends the CreateOrUpdate request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateCassandraKeyspace Uses

func (client DatabaseAccountsClient) CreateUpdateCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, createUpdateCassandraKeyspaceParameters CassandraKeyspaceCreateUpdateParameters) (result DatabaseAccountsCreateUpdateCassandraKeyspaceFuture, err error)

CreateUpdateCassandraKeyspace create or update an Azure Cosmos DB Cassandra keyspace Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name. createUpdateCassandraKeyspaceParameters - the parameters to provide for the current Cassandra keyspace.

func (DatabaseAccountsClient) CreateUpdateCassandraKeyspacePreparer Uses

func (client DatabaseAccountsClient) CreateUpdateCassandraKeyspacePreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, createUpdateCassandraKeyspaceParameters CassandraKeyspaceCreateUpdateParameters) (*http.Request, error)

CreateUpdateCassandraKeyspacePreparer prepares the CreateUpdateCassandraKeyspace request.

func (DatabaseAccountsClient) CreateUpdateCassandraKeyspaceResponder Uses

func (client DatabaseAccountsClient) CreateUpdateCassandraKeyspaceResponder(resp *http.Response) (result CassandraKeyspace, err error)

CreateUpdateCassandraKeyspaceResponder handles the response to the CreateUpdateCassandraKeyspace request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateCassandraKeyspaceSender Uses

func (client DatabaseAccountsClient) CreateUpdateCassandraKeyspaceSender(req *http.Request) (future DatabaseAccountsCreateUpdateCassandraKeyspaceFuture, err error)

CreateUpdateCassandraKeyspaceSender sends the CreateUpdateCassandraKeyspace request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateCassandraTable Uses

func (client DatabaseAccountsClient) CreateUpdateCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, createUpdateCassandraTableParameters CassandraTableCreateUpdateParameters) (result DatabaseAccountsCreateUpdateCassandraTableFuture, err error)

CreateUpdateCassandraTable create or update an Azure Cosmos DB Cassandra Table Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name. tableName - cosmos DB table name. createUpdateCassandraTableParameters - the parameters to provide for the current Cassandra Table.

func (DatabaseAccountsClient) CreateUpdateCassandraTablePreparer Uses

func (client DatabaseAccountsClient) CreateUpdateCassandraTablePreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, createUpdateCassandraTableParameters CassandraTableCreateUpdateParameters) (*http.Request, error)

CreateUpdateCassandraTablePreparer prepares the CreateUpdateCassandraTable request.

func (DatabaseAccountsClient) CreateUpdateCassandraTableResponder Uses

func (client DatabaseAccountsClient) CreateUpdateCassandraTableResponder(resp *http.Response) (result CassandraTable, err error)

CreateUpdateCassandraTableResponder handles the response to the CreateUpdateCassandraTable request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateCassandraTableSender Uses

func (client DatabaseAccountsClient) CreateUpdateCassandraTableSender(req *http.Request) (future DatabaseAccountsCreateUpdateCassandraTableFuture, err error)

CreateUpdateCassandraTableSender sends the CreateUpdateCassandraTable request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateGremlinDatabase Uses

func (client DatabaseAccountsClient) CreateUpdateGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateGremlinDatabaseParameters GremlinDatabaseCreateUpdateParameters) (result DatabaseAccountsCreateUpdateGremlinDatabaseFuture, err error)

CreateUpdateGremlinDatabase create or update an Azure Cosmos DB Gremlin database Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. createUpdateGremlinDatabaseParameters - the parameters to provide for the current Gremlin database.

func (DatabaseAccountsClient) CreateUpdateGremlinDatabasePreparer Uses

func (client DatabaseAccountsClient) CreateUpdateGremlinDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateGremlinDatabaseParameters GremlinDatabaseCreateUpdateParameters) (*http.Request, error)

CreateUpdateGremlinDatabasePreparer prepares the CreateUpdateGremlinDatabase request.

func (DatabaseAccountsClient) CreateUpdateGremlinDatabaseResponder Uses

func (client DatabaseAccountsClient) CreateUpdateGremlinDatabaseResponder(resp *http.Response) (result GremlinDatabase, err error)

CreateUpdateGremlinDatabaseResponder handles the response to the CreateUpdateGremlinDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateGremlinDatabaseSender Uses

func (client DatabaseAccountsClient) CreateUpdateGremlinDatabaseSender(req *http.Request) (future DatabaseAccountsCreateUpdateGremlinDatabaseFuture, err error)

CreateUpdateGremlinDatabaseSender sends the CreateUpdateGremlinDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateGremlinGraph Uses

func (client DatabaseAccountsClient) CreateUpdateGremlinGraph(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, createUpdateGremlinGraphParameters GremlinGraphCreateUpdateParameters) (result DatabaseAccountsCreateUpdateGremlinGraphFuture, err error)

CreateUpdateGremlinGraph create or update an Azure Cosmos DB Gremlin graph Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. graphName - cosmos DB graph name. createUpdateGremlinGraphParameters - the parameters to provide for the current Gremlin graph.

func (DatabaseAccountsClient) CreateUpdateGremlinGraphPreparer Uses

func (client DatabaseAccountsClient) CreateUpdateGremlinGraphPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, createUpdateGremlinGraphParameters GremlinGraphCreateUpdateParameters) (*http.Request, error)

CreateUpdateGremlinGraphPreparer prepares the CreateUpdateGremlinGraph request.

func (DatabaseAccountsClient) CreateUpdateGremlinGraphResponder Uses

func (client DatabaseAccountsClient) CreateUpdateGremlinGraphResponder(resp *http.Response) (result GremlinGraph, err error)

CreateUpdateGremlinGraphResponder handles the response to the CreateUpdateGremlinGraph request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateGremlinGraphSender Uses

func (client DatabaseAccountsClient) CreateUpdateGremlinGraphSender(req *http.Request) (future DatabaseAccountsCreateUpdateGremlinGraphFuture, err error)

CreateUpdateGremlinGraphSender sends the CreateUpdateGremlinGraph request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateMongoDBCollection Uses

func (client DatabaseAccountsClient) CreateUpdateMongoDBCollection(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, createUpdateMongoDBCollectionParameters MongoDBCollectionCreateUpdateParameters) (result DatabaseAccountsCreateUpdateMongoDBCollectionFuture, err error)

CreateUpdateMongoDBCollection create or update an Azure Cosmos DB MongoDB Collection Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. collectionName - cosmos DB collection name. createUpdateMongoDBCollectionParameters - the parameters to provide for the current MongoDB Collection.

func (DatabaseAccountsClient) CreateUpdateMongoDBCollectionPreparer Uses

func (client DatabaseAccountsClient) CreateUpdateMongoDBCollectionPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, createUpdateMongoDBCollectionParameters MongoDBCollectionCreateUpdateParameters) (*http.Request, error)

CreateUpdateMongoDBCollectionPreparer prepares the CreateUpdateMongoDBCollection request.

func (DatabaseAccountsClient) CreateUpdateMongoDBCollectionResponder Uses

func (client DatabaseAccountsClient) CreateUpdateMongoDBCollectionResponder(resp *http.Response) (result MongoDBCollection, err error)

CreateUpdateMongoDBCollectionResponder handles the response to the CreateUpdateMongoDBCollection request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateMongoDBCollectionSender Uses

func (client DatabaseAccountsClient) CreateUpdateMongoDBCollectionSender(req *http.Request) (future DatabaseAccountsCreateUpdateMongoDBCollectionFuture, err error)

CreateUpdateMongoDBCollectionSender sends the CreateUpdateMongoDBCollection request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateMongoDBDatabase Uses

func (client DatabaseAccountsClient) CreateUpdateMongoDBDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateMongoDBDatabaseParameters MongoDBDatabaseCreateUpdateParameters) (result DatabaseAccountsCreateUpdateMongoDBDatabaseFuture, err error)

CreateUpdateMongoDBDatabase create or updates Azure Cosmos DB MongoDB database Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. createUpdateMongoDBDatabaseParameters - the parameters to provide for the current MongoDB database.

func (DatabaseAccountsClient) CreateUpdateMongoDBDatabasePreparer Uses

func (client DatabaseAccountsClient) CreateUpdateMongoDBDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateMongoDBDatabaseParameters MongoDBDatabaseCreateUpdateParameters) (*http.Request, error)

CreateUpdateMongoDBDatabasePreparer prepares the CreateUpdateMongoDBDatabase request.

func (DatabaseAccountsClient) CreateUpdateMongoDBDatabaseResponder Uses

func (client DatabaseAccountsClient) CreateUpdateMongoDBDatabaseResponder(resp *http.Response) (result MongoDBDatabase, err error)

CreateUpdateMongoDBDatabaseResponder handles the response to the CreateUpdateMongoDBDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateMongoDBDatabaseSender Uses

func (client DatabaseAccountsClient) CreateUpdateMongoDBDatabaseSender(req *http.Request) (future DatabaseAccountsCreateUpdateMongoDBDatabaseFuture, err error)

CreateUpdateMongoDBDatabaseSender sends the CreateUpdateMongoDBDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateSQLContainer Uses

func (client DatabaseAccountsClient) CreateUpdateSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, createUpdateSQLContainerParameters SQLContainerCreateUpdateParameters) (result DatabaseAccountsCreateUpdateSQLContainerFuture, err error)

CreateUpdateSQLContainer create or update an Azure Cosmos DB SQL container Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. containerName - cosmos DB container name. createUpdateSQLContainerParameters - the parameters to provide for the current SQL container.

func (DatabaseAccountsClient) CreateUpdateSQLContainerPreparer Uses

func (client DatabaseAccountsClient) CreateUpdateSQLContainerPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, createUpdateSQLContainerParameters SQLContainerCreateUpdateParameters) (*http.Request, error)

CreateUpdateSQLContainerPreparer prepares the CreateUpdateSQLContainer request.

func (DatabaseAccountsClient) CreateUpdateSQLContainerResponder Uses

func (client DatabaseAccountsClient) CreateUpdateSQLContainerResponder(resp *http.Response) (result SQLContainer, err error)

CreateUpdateSQLContainerResponder handles the response to the CreateUpdateSQLContainer request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateSQLContainerSender Uses

func (client DatabaseAccountsClient) CreateUpdateSQLContainerSender(req *http.Request) (future DatabaseAccountsCreateUpdateSQLContainerFuture, err error)

CreateUpdateSQLContainerSender sends the CreateUpdateSQLContainer request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateSQLDatabase Uses

func (client DatabaseAccountsClient) CreateUpdateSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateSQLDatabaseParameters SQLDatabaseCreateUpdateParameters) (result DatabaseAccountsCreateUpdateSQLDatabaseFuture, err error)

CreateUpdateSQLDatabase create or update an Azure Cosmos DB SQL database Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. createUpdateSQLDatabaseParameters - the parameters to provide for the current SQL database.

func (DatabaseAccountsClient) CreateUpdateSQLDatabasePreparer Uses

func (client DatabaseAccountsClient) CreateUpdateSQLDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, createUpdateSQLDatabaseParameters SQLDatabaseCreateUpdateParameters) (*http.Request, error)

CreateUpdateSQLDatabasePreparer prepares the CreateUpdateSQLDatabase request.

func (DatabaseAccountsClient) CreateUpdateSQLDatabaseResponder Uses

func (client DatabaseAccountsClient) CreateUpdateSQLDatabaseResponder(resp *http.Response) (result SQLDatabase, err error)

CreateUpdateSQLDatabaseResponder handles the response to the CreateUpdateSQLDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateSQLDatabaseSender Uses

func (client DatabaseAccountsClient) CreateUpdateSQLDatabaseSender(req *http.Request) (future DatabaseAccountsCreateUpdateSQLDatabaseFuture, err error)

CreateUpdateSQLDatabaseSender sends the CreateUpdateSQLDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) CreateUpdateTable Uses

func (client DatabaseAccountsClient) CreateUpdateTable(ctx context.Context, resourceGroupName string, accountName string, tableName string, createUpdateTableParameters TableCreateUpdateParameters) (result DatabaseAccountsCreateUpdateTableFuture, err error)

CreateUpdateTable create or update an Azure Cosmos DB Table Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. tableName - cosmos DB table name. createUpdateTableParameters - the parameters to provide for the current Table.

func (DatabaseAccountsClient) CreateUpdateTablePreparer Uses

func (client DatabaseAccountsClient) CreateUpdateTablePreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string, createUpdateTableParameters TableCreateUpdateParameters) (*http.Request, error)

CreateUpdateTablePreparer prepares the CreateUpdateTable request.

func (DatabaseAccountsClient) CreateUpdateTableResponder Uses

func (client DatabaseAccountsClient) CreateUpdateTableResponder(resp *http.Response) (result Table, err error)

CreateUpdateTableResponder handles the response to the CreateUpdateTable request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) CreateUpdateTableSender Uses

func (client DatabaseAccountsClient) CreateUpdateTableSender(req *http.Request) (future DatabaseAccountsCreateUpdateTableFuture, err error)

CreateUpdateTableSender sends the CreateUpdateTable request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) Delete Uses

func (client DatabaseAccountsClient) Delete(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountsDeleteFuture, err error)

Delete deletes an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) DeleteCassandraKeyspace Uses

func (client DatabaseAccountsClient) DeleteCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string) (result DatabaseAccountsDeleteCassandraKeyspaceFuture, err error)

DeleteCassandraKeyspace deletes an existing Azure Cosmos DB Cassandra keyspace. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name.

func (DatabaseAccountsClient) DeleteCassandraKeyspacePreparer Uses

func (client DatabaseAccountsClient) DeleteCassandraKeyspacePreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string) (*http.Request, error)

DeleteCassandraKeyspacePreparer prepares the DeleteCassandraKeyspace request.

func (DatabaseAccountsClient) DeleteCassandraKeyspaceResponder Uses

func (client DatabaseAccountsClient) DeleteCassandraKeyspaceResponder(resp *http.Response) (result autorest.Response, err error)

DeleteCassandraKeyspaceResponder handles the response to the DeleteCassandraKeyspace request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteCassandraKeyspaceSender Uses

func (client DatabaseAccountsClient) DeleteCassandraKeyspaceSender(req *http.Request) (future DatabaseAccountsDeleteCassandraKeyspaceFuture, err error)

DeleteCassandraKeyspaceSender sends the DeleteCassandraKeyspace request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeleteCassandraTable Uses

func (client DatabaseAccountsClient) DeleteCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string) (result DatabaseAccountsDeleteCassandraTableFuture, err error)

DeleteCassandraTable deletes an existing Azure Cosmos DB Cassandra table. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name. tableName - cosmos DB table name.

func (DatabaseAccountsClient) DeleteCassandraTablePreparer Uses

func (client DatabaseAccountsClient) DeleteCassandraTablePreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string) (*http.Request, error)

DeleteCassandraTablePreparer prepares the DeleteCassandraTable request.

func (DatabaseAccountsClient) DeleteCassandraTableResponder Uses

func (client DatabaseAccountsClient) DeleteCassandraTableResponder(resp *http.Response) (result autorest.Response, err error)

DeleteCassandraTableResponder handles the response to the DeleteCassandraTable request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteCassandraTableSender Uses

func (client DatabaseAccountsClient) DeleteCassandraTableSender(req *http.Request) (future DatabaseAccountsDeleteCassandraTableFuture, err error)

DeleteCassandraTableSender sends the DeleteCassandraTable request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeleteGremlinDatabase Uses

func (client DatabaseAccountsClient) DeleteGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result DatabaseAccountsDeleteGremlinDatabaseFuture, err error)

DeleteGremlinDatabase deletes an existing Azure Cosmos DB Gremlin database. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) DeleteGremlinDatabasePreparer Uses

func (client DatabaseAccountsClient) DeleteGremlinDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

DeleteGremlinDatabasePreparer prepares the DeleteGremlinDatabase request.

func (DatabaseAccountsClient) DeleteGremlinDatabaseResponder Uses

func (client DatabaseAccountsClient) DeleteGremlinDatabaseResponder(resp *http.Response) (result autorest.Response, err error)

DeleteGremlinDatabaseResponder handles the response to the DeleteGremlinDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteGremlinDatabaseSender Uses

func (client DatabaseAccountsClient) DeleteGremlinDatabaseSender(req *http.Request) (future DatabaseAccountsDeleteGremlinDatabaseFuture, err error)

DeleteGremlinDatabaseSender sends the DeleteGremlinDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeleteGremlinGraph Uses

func (client DatabaseAccountsClient) DeleteGremlinGraph(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string) (result DatabaseAccountsDeleteGremlinGraphFuture, err error)

DeleteGremlinGraph deletes an existing Azure Cosmos DB Gremlin graph. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. graphName - cosmos DB graph name.

func (DatabaseAccountsClient) DeleteGremlinGraphPreparer Uses

func (client DatabaseAccountsClient) DeleteGremlinGraphPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string) (*http.Request, error)

DeleteGremlinGraphPreparer prepares the DeleteGremlinGraph request.

func (DatabaseAccountsClient) DeleteGremlinGraphResponder Uses

func (client DatabaseAccountsClient) DeleteGremlinGraphResponder(resp *http.Response) (result autorest.Response, err error)

DeleteGremlinGraphResponder handles the response to the DeleteGremlinGraph request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteGremlinGraphSender Uses

func (client DatabaseAccountsClient) DeleteGremlinGraphSender(req *http.Request) (future DatabaseAccountsDeleteGremlinGraphFuture, err error)

DeleteGremlinGraphSender sends the DeleteGremlinGraph request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeleteMongoDBCollection Uses

func (client DatabaseAccountsClient) DeleteMongoDBCollection(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string) (result DatabaseAccountsDeleteMongoDBCollectionFuture, err error)

DeleteMongoDBCollection deletes an existing Azure Cosmos DB MongoDB Collection. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. collectionName - cosmos DB collection name.

func (DatabaseAccountsClient) DeleteMongoDBCollectionPreparer Uses

func (client DatabaseAccountsClient) DeleteMongoDBCollectionPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string) (*http.Request, error)

DeleteMongoDBCollectionPreparer prepares the DeleteMongoDBCollection request.

func (DatabaseAccountsClient) DeleteMongoDBCollectionResponder Uses

func (client DatabaseAccountsClient) DeleteMongoDBCollectionResponder(resp *http.Response) (result autorest.Response, err error)

DeleteMongoDBCollectionResponder handles the response to the DeleteMongoDBCollection request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteMongoDBCollectionSender Uses

func (client DatabaseAccountsClient) DeleteMongoDBCollectionSender(req *http.Request) (future DatabaseAccountsDeleteMongoDBCollectionFuture, err error)

DeleteMongoDBCollectionSender sends the DeleteMongoDBCollection request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeleteMongoDBDatabase Uses

func (client DatabaseAccountsClient) DeleteMongoDBDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result DatabaseAccountsDeleteMongoDBDatabaseFuture, err error)

DeleteMongoDBDatabase deletes an existing Azure Cosmos DB MongoDB database. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) DeleteMongoDBDatabasePreparer Uses

func (client DatabaseAccountsClient) DeleteMongoDBDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

DeleteMongoDBDatabasePreparer prepares the DeleteMongoDBDatabase request.

func (DatabaseAccountsClient) DeleteMongoDBDatabaseResponder Uses

func (client DatabaseAccountsClient) DeleteMongoDBDatabaseResponder(resp *http.Response) (result autorest.Response, err error)

DeleteMongoDBDatabaseResponder handles the response to the DeleteMongoDBDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteMongoDBDatabaseSender Uses

func (client DatabaseAccountsClient) DeleteMongoDBDatabaseSender(req *http.Request) (future DatabaseAccountsDeleteMongoDBDatabaseFuture, err error)

DeleteMongoDBDatabaseSender sends the DeleteMongoDBDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeletePreparer Uses

func (client DatabaseAccountsClient) DeletePreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

DeletePreparer prepares the Delete request.

func (DatabaseAccountsClient) DeleteResponder Uses

func (client DatabaseAccountsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)

DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteSQLContainer Uses

func (client DatabaseAccountsClient) DeleteSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string) (result DatabaseAccountsDeleteSQLContainerFuture, err error)

DeleteSQLContainer deletes an existing Azure Cosmos DB SQL container. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. containerName - cosmos DB container name.

func (DatabaseAccountsClient) DeleteSQLContainerPreparer Uses

func (client DatabaseAccountsClient) DeleteSQLContainerPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string) (*http.Request, error)

DeleteSQLContainerPreparer prepares the DeleteSQLContainer request.

func (DatabaseAccountsClient) DeleteSQLContainerResponder Uses

func (client DatabaseAccountsClient) DeleteSQLContainerResponder(resp *http.Response) (result autorest.Response, err error)

DeleteSQLContainerResponder handles the response to the DeleteSQLContainer request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteSQLContainerSender Uses

func (client DatabaseAccountsClient) DeleteSQLContainerSender(req *http.Request) (future DatabaseAccountsDeleteSQLContainerFuture, err error)

DeleteSQLContainerSender sends the DeleteSQLContainer request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeleteSQLDatabase Uses

func (client DatabaseAccountsClient) DeleteSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result DatabaseAccountsDeleteSQLDatabaseFuture, err error)

DeleteSQLDatabase deletes an existing Azure Cosmos DB SQL database. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) DeleteSQLDatabasePreparer Uses

func (client DatabaseAccountsClient) DeleteSQLDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

DeleteSQLDatabasePreparer prepares the DeleteSQLDatabase request.

func (DatabaseAccountsClient) DeleteSQLDatabaseResponder Uses

func (client DatabaseAccountsClient) DeleteSQLDatabaseResponder(resp *http.Response) (result autorest.Response, err error)

DeleteSQLDatabaseResponder handles the response to the DeleteSQLDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteSQLDatabaseSender Uses

func (client DatabaseAccountsClient) DeleteSQLDatabaseSender(req *http.Request) (future DatabaseAccountsDeleteSQLDatabaseFuture, err error)

DeleteSQLDatabaseSender sends the DeleteSQLDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeleteSender Uses

func (client DatabaseAccountsClient) DeleteSender(req *http.Request) (future DatabaseAccountsDeleteFuture, err error)

DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) DeleteTable Uses

func (client DatabaseAccountsClient) DeleteTable(ctx context.Context, resourceGroupName string, accountName string, tableName string) (result DatabaseAccountsDeleteTableFuture, err error)

DeleteTable deletes an existing Azure Cosmos DB Table. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. tableName - cosmos DB table name.

func (DatabaseAccountsClient) DeleteTablePreparer Uses

func (client DatabaseAccountsClient) DeleteTablePreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string) (*http.Request, error)

DeleteTablePreparer prepares the DeleteTable request.

func (DatabaseAccountsClient) DeleteTableResponder Uses

func (client DatabaseAccountsClient) DeleteTableResponder(resp *http.Response) (result autorest.Response, err error)

DeleteTableResponder handles the response to the DeleteTable request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) DeleteTableSender Uses

func (client DatabaseAccountsClient) DeleteTableSender(req *http.Request) (future DatabaseAccountsDeleteTableFuture, err error)

DeleteTableSender sends the DeleteTable request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) FailoverPriorityChange Uses

func (client DatabaseAccountsClient) FailoverPriorityChange(ctx context.Context, resourceGroupName string, accountName string, failoverParameters FailoverPolicies) (result DatabaseAccountsFailoverPriorityChangeFuture, err error)

FailoverPriorityChange 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. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. failoverParameters - the new failover policies for the database account.

func (DatabaseAccountsClient) FailoverPriorityChangePreparer Uses

func (client DatabaseAccountsClient) FailoverPriorityChangePreparer(ctx context.Context, resourceGroupName string, accountName string, failoverParameters FailoverPolicies) (*http.Request, error)

FailoverPriorityChangePreparer prepares the FailoverPriorityChange request.

func (DatabaseAccountsClient) FailoverPriorityChangeResponder Uses

func (client DatabaseAccountsClient) FailoverPriorityChangeResponder(resp *http.Response) (result autorest.Response, err error)

FailoverPriorityChangeResponder handles the response to the FailoverPriorityChange request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) FailoverPriorityChangeSender Uses

func (client DatabaseAccountsClient) FailoverPriorityChangeSender(req *http.Request) (future DatabaseAccountsFailoverPriorityChangeFuture, err error)

FailoverPriorityChangeSender sends the FailoverPriorityChange request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) Get Uses

func (client DatabaseAccountsClient) Get(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccount, err error)

Get retrieves the properties of an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) GetCassandraKeyspace Uses

func (client DatabaseAccountsClient) GetCassandraKeyspace(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string) (result CassandraKeyspace, err error)

GetCassandraKeyspace gets the Cassandra keyspaces under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name.

func (DatabaseAccountsClient) GetCassandraKeyspacePreparer Uses

func (client DatabaseAccountsClient) GetCassandraKeyspacePreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string) (*http.Request, error)

GetCassandraKeyspacePreparer prepares the GetCassandraKeyspace request.

func (DatabaseAccountsClient) GetCassandraKeyspaceResponder Uses

func (client DatabaseAccountsClient) GetCassandraKeyspaceResponder(resp *http.Response) (result CassandraKeyspace, err error)

GetCassandraKeyspaceResponder handles the response to the GetCassandraKeyspace request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetCassandraKeyspaceSender Uses

func (client DatabaseAccountsClient) GetCassandraKeyspaceSender(req *http.Request) (*http.Response, error)

GetCassandraKeyspaceSender sends the GetCassandraKeyspace request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetCassandraKeyspaceThroughput Uses

func (client DatabaseAccountsClient) GetCassandraKeyspaceThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string) (result Throughput, err error)

GetCassandraKeyspaceThroughput gets the RUs per second of the Cassandra Keyspace under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name.

func (DatabaseAccountsClient) GetCassandraKeyspaceThroughputPreparer Uses

func (client DatabaseAccountsClient) GetCassandraKeyspaceThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string) (*http.Request, error)

GetCassandraKeyspaceThroughputPreparer prepares the GetCassandraKeyspaceThroughput request.

func (DatabaseAccountsClient) GetCassandraKeyspaceThroughputResponder Uses

func (client DatabaseAccountsClient) GetCassandraKeyspaceThroughputResponder(resp *http.Response) (result Throughput, err error)

GetCassandraKeyspaceThroughputResponder handles the response to the GetCassandraKeyspaceThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetCassandraKeyspaceThroughputSender Uses

func (client DatabaseAccountsClient) GetCassandraKeyspaceThroughputSender(req *http.Request) (*http.Response, error)

GetCassandraKeyspaceThroughputSender sends the GetCassandraKeyspaceThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetCassandraTable Uses

func (client DatabaseAccountsClient) GetCassandraTable(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string) (result CassandraTable, err error)

GetCassandraTable gets the Cassandra table under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name. tableName - cosmos DB table name.

func (DatabaseAccountsClient) GetCassandraTablePreparer Uses

func (client DatabaseAccountsClient) GetCassandraTablePreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string) (*http.Request, error)

GetCassandraTablePreparer prepares the GetCassandraTable request.

func (DatabaseAccountsClient) GetCassandraTableResponder Uses

func (client DatabaseAccountsClient) GetCassandraTableResponder(resp *http.Response) (result CassandraTable, err error)

GetCassandraTableResponder handles the response to the GetCassandraTable request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetCassandraTableSender Uses

func (client DatabaseAccountsClient) GetCassandraTableSender(req *http.Request) (*http.Response, error)

GetCassandraTableSender sends the GetCassandraTable request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetCassandraTableThroughput Uses

func (client DatabaseAccountsClient) GetCassandraTableThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string) (result Throughput, err error)

GetCassandraTableThroughput gets the RUs per second of the Cassandra table under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name. tableName - cosmos DB table name.

func (DatabaseAccountsClient) GetCassandraTableThroughputPreparer Uses

func (client DatabaseAccountsClient) GetCassandraTableThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string) (*http.Request, error)

GetCassandraTableThroughputPreparer prepares the GetCassandraTableThroughput request.

func (DatabaseAccountsClient) GetCassandraTableThroughputResponder Uses

func (client DatabaseAccountsClient) GetCassandraTableThroughputResponder(resp *http.Response) (result Throughput, err error)

GetCassandraTableThroughputResponder handles the response to the GetCassandraTableThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetCassandraTableThroughputSender Uses

func (client DatabaseAccountsClient) GetCassandraTableThroughputSender(req *http.Request) (*http.Response, error)

GetCassandraTableThroughputSender sends the GetCassandraTableThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetGremlinDatabase Uses

func (client DatabaseAccountsClient) GetGremlinDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result GremlinDatabase, err error)

GetGremlinDatabase gets the Gremlin databases under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) GetGremlinDatabasePreparer Uses

func (client DatabaseAccountsClient) GetGremlinDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

GetGremlinDatabasePreparer prepares the GetGremlinDatabase request.

func (DatabaseAccountsClient) GetGremlinDatabaseResponder Uses

func (client DatabaseAccountsClient) GetGremlinDatabaseResponder(resp *http.Response) (result GremlinDatabase, err error)

GetGremlinDatabaseResponder handles the response to the GetGremlinDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetGremlinDatabaseSender Uses

func (client DatabaseAccountsClient) GetGremlinDatabaseSender(req *http.Request) (*http.Response, error)

GetGremlinDatabaseSender sends the GetGremlinDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetGremlinDatabaseThroughput Uses

func (client DatabaseAccountsClient) GetGremlinDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result Throughput, err error)

GetGremlinDatabaseThroughput gets the RUs per second of the Gremlin database under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) GetGremlinDatabaseThroughputPreparer Uses

func (client DatabaseAccountsClient) GetGremlinDatabaseThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

GetGremlinDatabaseThroughputPreparer prepares the GetGremlinDatabaseThroughput request.

func (DatabaseAccountsClient) GetGremlinDatabaseThroughputResponder Uses

func (client DatabaseAccountsClient) GetGremlinDatabaseThroughputResponder(resp *http.Response) (result Throughput, err error)

GetGremlinDatabaseThroughputResponder handles the response to the GetGremlinDatabaseThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetGremlinDatabaseThroughputSender Uses

func (client DatabaseAccountsClient) GetGremlinDatabaseThroughputSender(req *http.Request) (*http.Response, error)

GetGremlinDatabaseThroughputSender sends the GetGremlinDatabaseThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetGremlinGraph Uses

func (client DatabaseAccountsClient) GetGremlinGraph(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string) (result GremlinGraph, err error)

GetGremlinGraph gets the Gremlin graph under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. graphName - cosmos DB graph name.

func (DatabaseAccountsClient) GetGremlinGraphPreparer Uses

func (client DatabaseAccountsClient) GetGremlinGraphPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string) (*http.Request, error)

GetGremlinGraphPreparer prepares the GetGremlinGraph request.

func (DatabaseAccountsClient) GetGremlinGraphResponder Uses

func (client DatabaseAccountsClient) GetGremlinGraphResponder(resp *http.Response) (result GremlinGraph, err error)

GetGremlinGraphResponder handles the response to the GetGremlinGraph request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetGremlinGraphSender Uses

func (client DatabaseAccountsClient) GetGremlinGraphSender(req *http.Request) (*http.Response, error)

GetGremlinGraphSender sends the GetGremlinGraph request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetGremlinGraphThroughput Uses

func (client DatabaseAccountsClient) GetGremlinGraphThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string) (result Throughput, err error)

GetGremlinGraphThroughput gets the Gremlin graph throughput under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. graphName - cosmos DB graph name.

func (DatabaseAccountsClient) GetGremlinGraphThroughputPreparer Uses

func (client DatabaseAccountsClient) GetGremlinGraphThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string) (*http.Request, error)

GetGremlinGraphThroughputPreparer prepares the GetGremlinGraphThroughput request.

func (DatabaseAccountsClient) GetGremlinGraphThroughputResponder Uses

func (client DatabaseAccountsClient) GetGremlinGraphThroughputResponder(resp *http.Response) (result Throughput, err error)

GetGremlinGraphThroughputResponder handles the response to the GetGremlinGraphThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetGremlinGraphThroughputSender Uses

func (client DatabaseAccountsClient) GetGremlinGraphThroughputSender(req *http.Request) (*http.Response, error)

GetGremlinGraphThroughputSender sends the GetGremlinGraphThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetMongoDBCollection Uses

func (client DatabaseAccountsClient) GetMongoDBCollection(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string) (result MongoDBCollection, err error)

GetMongoDBCollection gets the MongoDB collection under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. collectionName - cosmos DB collection name.

func (DatabaseAccountsClient) GetMongoDBCollectionPreparer Uses

func (client DatabaseAccountsClient) GetMongoDBCollectionPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string) (*http.Request, error)

GetMongoDBCollectionPreparer prepares the GetMongoDBCollection request.

func (DatabaseAccountsClient) GetMongoDBCollectionResponder Uses

func (client DatabaseAccountsClient) GetMongoDBCollectionResponder(resp *http.Response) (result MongoDBCollection, err error)

GetMongoDBCollectionResponder handles the response to the GetMongoDBCollection request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetMongoDBCollectionSender Uses

func (client DatabaseAccountsClient) GetMongoDBCollectionSender(req *http.Request) (*http.Response, error)

GetMongoDBCollectionSender sends the GetMongoDBCollection request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetMongoDBCollectionThroughput Uses

func (client DatabaseAccountsClient) GetMongoDBCollectionThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string) (result Throughput, err error)

GetMongoDBCollectionThroughput gets the RUs per second of the MongoDB collection under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. collectionName - cosmos DB collection name.

func (DatabaseAccountsClient) GetMongoDBCollectionThroughputPreparer Uses

func (client DatabaseAccountsClient) GetMongoDBCollectionThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string) (*http.Request, error)

GetMongoDBCollectionThroughputPreparer prepares the GetMongoDBCollectionThroughput request.

func (DatabaseAccountsClient) GetMongoDBCollectionThroughputResponder Uses

func (client DatabaseAccountsClient) GetMongoDBCollectionThroughputResponder(resp *http.Response) (result Throughput, err error)

GetMongoDBCollectionThroughputResponder handles the response to the GetMongoDBCollectionThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetMongoDBCollectionThroughputSender Uses

func (client DatabaseAccountsClient) GetMongoDBCollectionThroughputSender(req *http.Request) (*http.Response, error)

GetMongoDBCollectionThroughputSender sends the GetMongoDBCollectionThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetMongoDBDatabase Uses

func (client DatabaseAccountsClient) GetMongoDBDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result MongoDBDatabase, err error)

GetMongoDBDatabase gets the MongoDB databases under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) GetMongoDBDatabasePreparer Uses

func (client DatabaseAccountsClient) GetMongoDBDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

GetMongoDBDatabasePreparer prepares the GetMongoDBDatabase request.

func (DatabaseAccountsClient) GetMongoDBDatabaseResponder Uses

func (client DatabaseAccountsClient) GetMongoDBDatabaseResponder(resp *http.Response) (result MongoDBDatabase, err error)

GetMongoDBDatabaseResponder handles the response to the GetMongoDBDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetMongoDBDatabaseSender Uses

func (client DatabaseAccountsClient) GetMongoDBDatabaseSender(req *http.Request) (*http.Response, error)

GetMongoDBDatabaseSender sends the GetMongoDBDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetMongoDBDatabaseThroughput Uses

func (client DatabaseAccountsClient) GetMongoDBDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result Throughput, err error)

GetMongoDBDatabaseThroughput gets the RUs per second of the MongoDB database under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) GetMongoDBDatabaseThroughputPreparer Uses

func (client DatabaseAccountsClient) GetMongoDBDatabaseThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

GetMongoDBDatabaseThroughputPreparer prepares the GetMongoDBDatabaseThroughput request.

func (DatabaseAccountsClient) GetMongoDBDatabaseThroughputResponder Uses

func (client DatabaseAccountsClient) GetMongoDBDatabaseThroughputResponder(resp *http.Response) (result Throughput, err error)

GetMongoDBDatabaseThroughputResponder handles the response to the GetMongoDBDatabaseThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetMongoDBDatabaseThroughputSender Uses

func (client DatabaseAccountsClient) GetMongoDBDatabaseThroughputSender(req *http.Request) (*http.Response, error)

GetMongoDBDatabaseThroughputSender sends the GetMongoDBDatabaseThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetPreparer Uses

func (client DatabaseAccountsClient) GetPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetPreparer prepares the Get request.

func (DatabaseAccountsClient) GetReadOnlyKeys Uses

func (client DatabaseAccountsClient) GetReadOnlyKeys(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountListReadOnlyKeysResult, err error)

GetReadOnlyKeys lists the read-only access keys for the specified Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) GetReadOnlyKeysPreparer Uses

func (client DatabaseAccountsClient) GetReadOnlyKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

GetReadOnlyKeysPreparer prepares the GetReadOnlyKeys request.

func (DatabaseAccountsClient) GetReadOnlyKeysResponder Uses

func (client DatabaseAccountsClient) GetReadOnlyKeysResponder(resp *http.Response) (result DatabaseAccountListReadOnlyKeysResult, err error)

GetReadOnlyKeysResponder handles the response to the GetReadOnlyKeys request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetReadOnlyKeysSender Uses

func (client DatabaseAccountsClient) GetReadOnlyKeysSender(req *http.Request) (*http.Response, error)

GetReadOnlyKeysSender sends the GetReadOnlyKeys request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetResponder Uses

func (client DatabaseAccountsClient) GetResponder(resp *http.Response) (result DatabaseAccount, err error)

GetResponder handles the response to the Get request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetSQLContainer Uses

func (client DatabaseAccountsClient) GetSQLContainer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string) (result SQLContainer, err error)

GetSQLContainer gets the SQL container under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. containerName - cosmos DB container name.

func (DatabaseAccountsClient) GetSQLContainerPreparer Uses

func (client DatabaseAccountsClient) GetSQLContainerPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string) (*http.Request, error)

GetSQLContainerPreparer prepares the GetSQLContainer request.

func (DatabaseAccountsClient) GetSQLContainerResponder Uses

func (client DatabaseAccountsClient) GetSQLContainerResponder(resp *http.Response) (result SQLContainer, err error)

GetSQLContainerResponder handles the response to the GetSQLContainer request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetSQLContainerSender Uses

func (client DatabaseAccountsClient) GetSQLContainerSender(req *http.Request) (*http.Response, error)

GetSQLContainerSender sends the GetSQLContainer request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetSQLContainerThroughput Uses

func (client DatabaseAccountsClient) GetSQLContainerThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string) (result Throughput, err error)

GetSQLContainerThroughput gets the RUs per second of the SQL container under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. containerName - cosmos DB container name.

func (DatabaseAccountsClient) GetSQLContainerThroughputPreparer Uses

func (client DatabaseAccountsClient) GetSQLContainerThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string) (*http.Request, error)

GetSQLContainerThroughputPreparer prepares the GetSQLContainerThroughput request.

func (DatabaseAccountsClient) GetSQLContainerThroughputResponder Uses

func (client DatabaseAccountsClient) GetSQLContainerThroughputResponder(resp *http.Response) (result Throughput, err error)

GetSQLContainerThroughputResponder handles the response to the GetSQLContainerThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetSQLContainerThroughputSender Uses

func (client DatabaseAccountsClient) GetSQLContainerThroughputSender(req *http.Request) (*http.Response, error)

GetSQLContainerThroughputSender sends the GetSQLContainerThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetSQLDatabase Uses

func (client DatabaseAccountsClient) GetSQLDatabase(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result SQLDatabase, err error)

GetSQLDatabase gets the SQL database under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) GetSQLDatabasePreparer Uses

func (client DatabaseAccountsClient) GetSQLDatabasePreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

GetSQLDatabasePreparer prepares the GetSQLDatabase request.

func (DatabaseAccountsClient) GetSQLDatabaseResponder Uses

func (client DatabaseAccountsClient) GetSQLDatabaseResponder(resp *http.Response) (result SQLDatabase, err error)

GetSQLDatabaseResponder handles the response to the GetSQLDatabase request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetSQLDatabaseSender Uses

func (client DatabaseAccountsClient) GetSQLDatabaseSender(req *http.Request) (*http.Response, error)

GetSQLDatabaseSender sends the GetSQLDatabase request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetSQLDatabaseThroughput Uses

func (client DatabaseAccountsClient) GetSQLDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result Throughput, err error)

GetSQLDatabaseThroughput gets the RUs per second of the SQL database under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) GetSQLDatabaseThroughputPreparer Uses

func (client DatabaseAccountsClient) GetSQLDatabaseThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

GetSQLDatabaseThroughputPreparer prepares the GetSQLDatabaseThroughput request.

func (DatabaseAccountsClient) GetSQLDatabaseThroughputResponder Uses

func (client DatabaseAccountsClient) GetSQLDatabaseThroughputResponder(resp *http.Response) (result Throughput, err error)

GetSQLDatabaseThroughputResponder handles the response to the GetSQLDatabaseThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetSQLDatabaseThroughputSender Uses

func (client DatabaseAccountsClient) GetSQLDatabaseThroughputSender(req *http.Request) (*http.Response, error)

GetSQLDatabaseThroughputSender sends the GetSQLDatabaseThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetSender Uses

func (client DatabaseAccountsClient) GetSender(req *http.Request) (*http.Response, error)

GetSender sends the Get request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetTable Uses

func (client DatabaseAccountsClient) GetTable(ctx context.Context, resourceGroupName string, accountName string, tableName string) (result Table, err error)

GetTable gets the Tables under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. tableName - cosmos DB table name.

func (DatabaseAccountsClient) GetTablePreparer Uses

func (client DatabaseAccountsClient) GetTablePreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string) (*http.Request, error)

GetTablePreparer prepares the GetTable request.

func (DatabaseAccountsClient) GetTableResponder Uses

func (client DatabaseAccountsClient) GetTableResponder(resp *http.Response) (result Table, err error)

GetTableResponder handles the response to the GetTable request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetTableSender Uses

func (client DatabaseAccountsClient) GetTableSender(req *http.Request) (*http.Response, error)

GetTableSender sends the GetTable request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) GetTableThroughput Uses

func (client DatabaseAccountsClient) GetTableThroughput(ctx context.Context, resourceGroupName string, accountName string, tableName string) (result Throughput, err error)

GetTableThroughput gets the RUs per second of the Table under an existing Azure Cosmos DB database account with the provided name. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. tableName - cosmos DB table name.

func (DatabaseAccountsClient) GetTableThroughputPreparer Uses

func (client DatabaseAccountsClient) GetTableThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string) (*http.Request, error)

GetTableThroughputPreparer prepares the GetTableThroughput request.

func (DatabaseAccountsClient) GetTableThroughputResponder Uses

func (client DatabaseAccountsClient) GetTableThroughputResponder(resp *http.Response) (result Throughput, err error)

GetTableThroughputResponder handles the response to the GetTableThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) GetTableThroughputSender Uses

func (client DatabaseAccountsClient) GetTableThroughputSender(req *http.Request) (*http.Response, error)

GetTableThroughputSender sends the GetTableThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) List Uses

func (client DatabaseAccountsClient) List(ctx context.Context) (result DatabaseAccountsListResult, err error)

List lists all the Azure Cosmos DB database accounts available under the subscription.

func (DatabaseAccountsClient) ListByResourceGroup Uses

func (client DatabaseAccountsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result DatabaseAccountsListResult, err error)

ListByResourceGroup lists all the Azure Cosmos DB database accounts available under the given resource group. Parameters: resourceGroupName - name of an Azure resource group.

func (DatabaseAccountsClient) ListByResourceGroupPreparer Uses

func (client DatabaseAccountsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)

ListByResourceGroupPreparer prepares the ListByResourceGroup request.

func (DatabaseAccountsClient) ListByResourceGroupResponder Uses

func (client DatabaseAccountsClient) ListByResourceGroupResponder(resp *http.Response) (result DatabaseAccountsListResult, err error)

ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListByResourceGroupSender Uses

func (client DatabaseAccountsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)

ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListCassandraKeyspaces Uses

func (client DatabaseAccountsClient) ListCassandraKeyspaces(ctx context.Context, resourceGroupName string, accountName string) (result CassandraKeyspaceListResult, err error)

ListCassandraKeyspaces lists the Cassandra keyspaces under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListCassandraKeyspacesPreparer Uses

func (client DatabaseAccountsClient) ListCassandraKeyspacesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListCassandraKeyspacesPreparer prepares the ListCassandraKeyspaces request.

func (DatabaseAccountsClient) ListCassandraKeyspacesResponder Uses

func (client DatabaseAccountsClient) ListCassandraKeyspacesResponder(resp *http.Response) (result CassandraKeyspaceListResult, err error)

ListCassandraKeyspacesResponder handles the response to the ListCassandraKeyspaces request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListCassandraKeyspacesSender Uses

func (client DatabaseAccountsClient) ListCassandraKeyspacesSender(req *http.Request) (*http.Response, error)

ListCassandraKeyspacesSender sends the ListCassandraKeyspaces request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListCassandraTables Uses

func (client DatabaseAccountsClient) ListCassandraTables(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string) (result CassandraTableListResult, err error)

ListCassandraTables lists the Cassandra table under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name.

func (DatabaseAccountsClient) ListCassandraTablesPreparer Uses

func (client DatabaseAccountsClient) ListCassandraTablesPreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string) (*http.Request, error)

ListCassandraTablesPreparer prepares the ListCassandraTables request.

func (DatabaseAccountsClient) ListCassandraTablesResponder Uses

func (client DatabaseAccountsClient) ListCassandraTablesResponder(resp *http.Response) (result CassandraTableListResult, err error)

ListCassandraTablesResponder handles the response to the ListCassandraTables request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListCassandraTablesSender Uses

func (client DatabaseAccountsClient) ListCassandraTablesSender(req *http.Request) (*http.Response, error)

ListCassandraTablesSender sends the ListCassandraTables request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListConnectionStrings Uses

func (client DatabaseAccountsClient) ListConnectionStrings(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountListConnectionStringsResult, err error)

ListConnectionStrings lists the connection strings for the specified Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListConnectionStringsPreparer Uses

func (client DatabaseAccountsClient) ListConnectionStringsPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListConnectionStringsPreparer prepares the ListConnectionStrings request.

func (DatabaseAccountsClient) ListConnectionStringsResponder Uses

func (client DatabaseAccountsClient) ListConnectionStringsResponder(resp *http.Response) (result DatabaseAccountListConnectionStringsResult, err error)

ListConnectionStringsResponder handles the response to the ListConnectionStrings request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListConnectionStringsSender Uses

func (client DatabaseAccountsClient) ListConnectionStringsSender(req *http.Request) (*http.Response, error)

ListConnectionStringsSender sends the ListConnectionStrings request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListGremlinDatabases Uses

func (client DatabaseAccountsClient) ListGremlinDatabases(ctx context.Context, resourceGroupName string, accountName string) (result GremlinDatabaseListResult, err error)

ListGremlinDatabases lists the Gremlin databases under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListGremlinDatabasesPreparer Uses

func (client DatabaseAccountsClient) ListGremlinDatabasesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListGremlinDatabasesPreparer prepares the ListGremlinDatabases request.

func (DatabaseAccountsClient) ListGremlinDatabasesResponder Uses

func (client DatabaseAccountsClient) ListGremlinDatabasesResponder(resp *http.Response) (result GremlinDatabaseListResult, err error)

ListGremlinDatabasesResponder handles the response to the ListGremlinDatabases request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListGremlinDatabasesSender Uses

func (client DatabaseAccountsClient) ListGremlinDatabasesSender(req *http.Request) (*http.Response, error)

ListGremlinDatabasesSender sends the ListGremlinDatabases request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListGremlinGraphs Uses

func (client DatabaseAccountsClient) ListGremlinGraphs(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result GremlinGraphListResult, err error)

ListGremlinGraphs lists the Gremlin graph under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) ListGremlinGraphsPreparer Uses

func (client DatabaseAccountsClient) ListGremlinGraphsPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

ListGremlinGraphsPreparer prepares the ListGremlinGraphs request.

func (DatabaseAccountsClient) ListGremlinGraphsResponder Uses

func (client DatabaseAccountsClient) ListGremlinGraphsResponder(resp *http.Response) (result GremlinGraphListResult, err error)

ListGremlinGraphsResponder handles the response to the ListGremlinGraphs request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListGremlinGraphsSender Uses

func (client DatabaseAccountsClient) ListGremlinGraphsSender(req *http.Request) (*http.Response, error)

ListGremlinGraphsSender sends the ListGremlinGraphs request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListKeys Uses

func (client DatabaseAccountsClient) ListKeys(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountListKeysResult, err error)

ListKeys lists the access keys for the specified Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListKeysPreparer Uses

func (client DatabaseAccountsClient) ListKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListKeysPreparer prepares the ListKeys request.

func (DatabaseAccountsClient) ListKeysResponder Uses

func (client DatabaseAccountsClient) ListKeysResponder(resp *http.Response) (result DatabaseAccountListKeysResult, err error)

ListKeysResponder handles the response to the ListKeys request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListKeysSender Uses

func (client DatabaseAccountsClient) ListKeysSender(req *http.Request) (*http.Response, error)

ListKeysSender sends the ListKeys request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListMetricDefinitions Uses

func (client DatabaseAccountsClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string) (result MetricDefinitionsListResult, err error)

ListMetricDefinitions retrieves metric definitions for the given database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListMetricDefinitionsPreparer Uses

func (client DatabaseAccountsClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request.

func (DatabaseAccountsClient) ListMetricDefinitionsResponder Uses

func (client DatabaseAccountsClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionsListResult, err error)

ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListMetricDefinitionsSender Uses

func (client DatabaseAccountsClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)

ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListMetrics Uses

func (client DatabaseAccountsClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, filter string) (result MetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (DatabaseAccountsClient) ListMetricsPreparer Uses

func (client DatabaseAccountsClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (DatabaseAccountsClient) ListMetricsResponder Uses

func (client DatabaseAccountsClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListMetricsSender Uses

func (client DatabaseAccountsClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListMongoDBCollections Uses

func (client DatabaseAccountsClient) ListMongoDBCollections(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result MongoDBCollectionListResult, err error)

ListMongoDBCollections lists the MongoDB collection under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) ListMongoDBCollectionsPreparer Uses

func (client DatabaseAccountsClient) ListMongoDBCollectionsPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

ListMongoDBCollectionsPreparer prepares the ListMongoDBCollections request.

func (DatabaseAccountsClient) ListMongoDBCollectionsResponder Uses

func (client DatabaseAccountsClient) ListMongoDBCollectionsResponder(resp *http.Response) (result MongoDBCollectionListResult, err error)

ListMongoDBCollectionsResponder handles the response to the ListMongoDBCollections request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListMongoDBCollectionsSender Uses

func (client DatabaseAccountsClient) ListMongoDBCollectionsSender(req *http.Request) (*http.Response, error)

ListMongoDBCollectionsSender sends the ListMongoDBCollections request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListMongoDBDatabases Uses

func (client DatabaseAccountsClient) ListMongoDBDatabases(ctx context.Context, resourceGroupName string, accountName string) (result MongoDBDatabaseListResult, err error)

ListMongoDBDatabases lists the MongoDB databases under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListMongoDBDatabasesPreparer Uses

func (client DatabaseAccountsClient) ListMongoDBDatabasesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListMongoDBDatabasesPreparer prepares the ListMongoDBDatabases request.

func (DatabaseAccountsClient) ListMongoDBDatabasesResponder Uses

func (client DatabaseAccountsClient) ListMongoDBDatabasesResponder(resp *http.Response) (result MongoDBDatabaseListResult, err error)

ListMongoDBDatabasesResponder handles the response to the ListMongoDBDatabases request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListMongoDBDatabasesSender Uses

func (client DatabaseAccountsClient) ListMongoDBDatabasesSender(req *http.Request) (*http.Response, error)

ListMongoDBDatabasesSender sends the ListMongoDBDatabases request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListPreparer Uses

func (client DatabaseAccountsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (DatabaseAccountsClient) ListReadOnlyKeys Uses

func (client DatabaseAccountsClient) ListReadOnlyKeys(ctx context.Context, resourceGroupName string, accountName string) (result DatabaseAccountListReadOnlyKeysResult, err error)

ListReadOnlyKeys lists the read-only access keys for the specified Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListReadOnlyKeysPreparer Uses

func (client DatabaseAccountsClient) ListReadOnlyKeysPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListReadOnlyKeysPreparer prepares the ListReadOnlyKeys request.

func (DatabaseAccountsClient) ListReadOnlyKeysResponder Uses

func (client DatabaseAccountsClient) ListReadOnlyKeysResponder(resp *http.Response) (result DatabaseAccountListReadOnlyKeysResult, err error)

ListReadOnlyKeysResponder handles the response to the ListReadOnlyKeys request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListReadOnlyKeysSender Uses

func (client DatabaseAccountsClient) ListReadOnlyKeysSender(req *http.Request) (*http.Response, error)

ListReadOnlyKeysSender sends the ListReadOnlyKeys request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListResponder Uses

func (client DatabaseAccountsClient) ListResponder(resp *http.Response) (result DatabaseAccountsListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListSQLContainers Uses

func (client DatabaseAccountsClient) ListSQLContainers(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (result SQLContainerListResult, err error)

ListSQLContainers lists the SQL container under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name.

func (DatabaseAccountsClient) ListSQLContainersPreparer Uses

func (client DatabaseAccountsClient) ListSQLContainersPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string) (*http.Request, error)

ListSQLContainersPreparer prepares the ListSQLContainers request.

func (DatabaseAccountsClient) ListSQLContainersResponder Uses

func (client DatabaseAccountsClient) ListSQLContainersResponder(resp *http.Response) (result SQLContainerListResult, err error)

ListSQLContainersResponder handles the response to the ListSQLContainers request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListSQLContainersSender Uses

func (client DatabaseAccountsClient) ListSQLContainersSender(req *http.Request) (*http.Response, error)

ListSQLContainersSender sends the ListSQLContainers request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListSQLDatabases Uses

func (client DatabaseAccountsClient) ListSQLDatabases(ctx context.Context, resourceGroupName string, accountName string) (result SQLDatabaseListResult, err error)

ListSQLDatabases lists the SQL databases under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListSQLDatabasesPreparer Uses

func (client DatabaseAccountsClient) ListSQLDatabasesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListSQLDatabasesPreparer prepares the ListSQLDatabases request.

func (DatabaseAccountsClient) ListSQLDatabasesResponder Uses

func (client DatabaseAccountsClient) ListSQLDatabasesResponder(resp *http.Response) (result SQLDatabaseListResult, err error)

ListSQLDatabasesResponder handles the response to the ListSQLDatabases request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListSQLDatabasesSender Uses

func (client DatabaseAccountsClient) ListSQLDatabasesSender(req *http.Request) (*http.Response, error)

ListSQLDatabasesSender sends the ListSQLDatabases request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListSender Uses

func (client DatabaseAccountsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListTables Uses

func (client DatabaseAccountsClient) ListTables(ctx context.Context, resourceGroupName string, accountName string) (result TableListResult, err error)

ListTables lists the Tables under an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name.

func (DatabaseAccountsClient) ListTablesPreparer Uses

func (client DatabaseAccountsClient) ListTablesPreparer(ctx context.Context, resourceGroupName string, accountName string) (*http.Request, error)

ListTablesPreparer prepares the ListTables request.

func (DatabaseAccountsClient) ListTablesResponder Uses

func (client DatabaseAccountsClient) ListTablesResponder(resp *http.Response) (result TableListResult, err error)

ListTablesResponder handles the response to the ListTables request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListTablesSender Uses

func (client DatabaseAccountsClient) ListTablesSender(req *http.Request) (*http.Response, error)

ListTablesSender sends the ListTables request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) ListUsages Uses

func (client DatabaseAccountsClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, filter string) (result UsagesResult, err error)

ListUsages retrieves the usages (most recent data) for the given database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. filter - 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).

func (DatabaseAccountsClient) ListUsagesPreparer Uses

func (client DatabaseAccountsClient) ListUsagesPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string) (*http.Request, error)

ListUsagesPreparer prepares the ListUsages request.

func (DatabaseAccountsClient) ListUsagesResponder Uses

func (client DatabaseAccountsClient) ListUsagesResponder(resp *http.Response) (result UsagesResult, err error)

ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) ListUsagesSender Uses

func (client DatabaseAccountsClient) ListUsagesSender(req *http.Request) (*http.Response, error)

ListUsagesSender sends the ListUsages request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) OfflineRegion Uses

func (client DatabaseAccountsClient) OfflineRegion(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOffline RegionForOnlineOffline) (result DatabaseAccountsOfflineRegionFuture, err error)

OfflineRegion offline the specified region for the specified Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. regionParameterForOffline - cosmos DB region to offline for the database account.

func (DatabaseAccountsClient) OfflineRegionPreparer Uses

func (client DatabaseAccountsClient) OfflineRegionPreparer(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOffline RegionForOnlineOffline) (*http.Request, error)

OfflineRegionPreparer prepares the OfflineRegion request.

func (DatabaseAccountsClient) OfflineRegionResponder Uses

func (client DatabaseAccountsClient) OfflineRegionResponder(resp *http.Response) (result autorest.Response, err error)

OfflineRegionResponder handles the response to the OfflineRegion request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) OfflineRegionSender Uses

func (client DatabaseAccountsClient) OfflineRegionSender(req *http.Request) (future DatabaseAccountsOfflineRegionFuture, err error)

OfflineRegionSender sends the OfflineRegion request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) OnlineRegion Uses

func (client DatabaseAccountsClient) OnlineRegion(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOnline RegionForOnlineOffline) (result DatabaseAccountsOnlineRegionFuture, err error)

OnlineRegion online the specified region for the specified Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. regionParameterForOnline - cosmos DB region to online for the database account.

func (DatabaseAccountsClient) OnlineRegionPreparer Uses

func (client DatabaseAccountsClient) OnlineRegionPreparer(ctx context.Context, resourceGroupName string, accountName string, regionParameterForOnline RegionForOnlineOffline) (*http.Request, error)

OnlineRegionPreparer prepares the OnlineRegion request.

func (DatabaseAccountsClient) OnlineRegionResponder Uses

func (client DatabaseAccountsClient) OnlineRegionResponder(resp *http.Response) (result autorest.Response, err error)

OnlineRegionResponder handles the response to the OnlineRegion request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) OnlineRegionSender Uses

func (client DatabaseAccountsClient) OnlineRegionSender(req *http.Request) (future DatabaseAccountsOnlineRegionFuture, err error)

OnlineRegionSender sends the OnlineRegion request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) Patch Uses

func (client DatabaseAccountsClient) Patch(ctx context.Context, resourceGroupName string, accountName string, updateParameters DatabaseAccountPatchParameters) (result DatabaseAccountsPatchFuture, err error)

Patch patches the properties of an existing Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. updateParameters - the tags parameter to patch for the current database account.

func (DatabaseAccountsClient) PatchPreparer Uses

func (client DatabaseAccountsClient) PatchPreparer(ctx context.Context, resourceGroupName string, accountName string, updateParameters DatabaseAccountPatchParameters) (*http.Request, error)

PatchPreparer prepares the Patch request.

func (DatabaseAccountsClient) PatchResponder Uses

func (client DatabaseAccountsClient) PatchResponder(resp *http.Response) (result DatabaseAccount, err error)

PatchResponder handles the response to the Patch request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) PatchSender Uses

func (client DatabaseAccountsClient) PatchSender(req *http.Request) (future DatabaseAccountsPatchFuture, err error)

PatchSender sends the Patch request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) RegenerateKey Uses

func (client DatabaseAccountsClient) RegenerateKey(ctx context.Context, resourceGroupName string, accountName string, keyToRegenerate DatabaseAccountRegenerateKeyParameters) (result DatabaseAccountsRegenerateKeyFuture, err error)

RegenerateKey regenerates an access key for the specified Azure Cosmos DB database account. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyToRegenerate - the name of the key to regenerate.

func (DatabaseAccountsClient) RegenerateKeyPreparer Uses

func (client DatabaseAccountsClient) RegenerateKeyPreparer(ctx context.Context, resourceGroupName string, accountName string, keyToRegenerate DatabaseAccountRegenerateKeyParameters) (*http.Request, error)

RegenerateKeyPreparer prepares the RegenerateKey request.

func (DatabaseAccountsClient) RegenerateKeyResponder Uses

func (client DatabaseAccountsClient) RegenerateKeyResponder(resp *http.Response) (result autorest.Response, err error)

RegenerateKeyResponder handles the response to the RegenerateKey request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) RegenerateKeySender Uses

func (client DatabaseAccountsClient) RegenerateKeySender(req *http.Request) (future DatabaseAccountsRegenerateKeyFuture, err error)

RegenerateKeySender sends the RegenerateKey request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateCassandraKeyspaceThroughput Uses

func (client DatabaseAccountsClient) UpdateCassandraKeyspaceThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateCassandraKeyspaceThroughputFuture, err error)

UpdateCassandraKeyspaceThroughput update RUs per second of an Azure Cosmos DB Cassandra Keyspace Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name. updateThroughputParameters - the RUs per second of the parameters to provide for the current Cassandra Keyspace.

func (DatabaseAccountsClient) UpdateCassandraKeyspaceThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateCassandraKeyspaceThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateCassandraKeyspaceThroughputPreparer prepares the UpdateCassandraKeyspaceThroughput request.

func (DatabaseAccountsClient) UpdateCassandraKeyspaceThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateCassandraKeyspaceThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateCassandraKeyspaceThroughputResponder handles the response to the UpdateCassandraKeyspaceThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateCassandraKeyspaceThroughputSender Uses

func (client DatabaseAccountsClient) UpdateCassandraKeyspaceThroughputSender(req *http.Request) (future DatabaseAccountsUpdateCassandraKeyspaceThroughputFuture, err error)

UpdateCassandraKeyspaceThroughputSender sends the UpdateCassandraKeyspaceThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateCassandraTableThroughput Uses

func (client DatabaseAccountsClient) UpdateCassandraTableThroughput(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateCassandraTableThroughputFuture, err error)

UpdateCassandraTableThroughput update RUs per second of an Azure Cosmos DB Cassandra table Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. keyspaceName - cosmos DB keyspace name. tableName - cosmos DB table name. updateThroughputParameters - the RUs per second of the parameters to provide for the current Cassandra table.

func (DatabaseAccountsClient) UpdateCassandraTableThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateCassandraTableThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, keyspaceName string, tableName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateCassandraTableThroughputPreparer prepares the UpdateCassandraTableThroughput request.

func (DatabaseAccountsClient) UpdateCassandraTableThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateCassandraTableThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateCassandraTableThroughputResponder handles the response to the UpdateCassandraTableThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateCassandraTableThroughputSender Uses

func (client DatabaseAccountsClient) UpdateCassandraTableThroughputSender(req *http.Request) (future DatabaseAccountsUpdateCassandraTableThroughputFuture, err error)

UpdateCassandraTableThroughputSender sends the UpdateCassandraTableThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateGremlinDatabaseThroughput Uses

func (client DatabaseAccountsClient) UpdateGremlinDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateGremlinDatabaseThroughputFuture, err error)

UpdateGremlinDatabaseThroughput update RUs per second of an Azure Cosmos DB Gremlin database Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. updateThroughputParameters - the RUs per second of the parameters to provide for the current Gremlin database.

func (DatabaseAccountsClient) UpdateGremlinDatabaseThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateGremlinDatabaseThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateGremlinDatabaseThroughputPreparer prepares the UpdateGremlinDatabaseThroughput request.

func (DatabaseAccountsClient) UpdateGremlinDatabaseThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateGremlinDatabaseThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateGremlinDatabaseThroughputResponder handles the response to the UpdateGremlinDatabaseThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateGremlinDatabaseThroughputSender Uses

func (client DatabaseAccountsClient) UpdateGremlinDatabaseThroughputSender(req *http.Request) (future DatabaseAccountsUpdateGremlinDatabaseThroughputFuture, err error)

UpdateGremlinDatabaseThroughputSender sends the UpdateGremlinDatabaseThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateGremlinGraphThroughput Uses

func (client DatabaseAccountsClient) UpdateGremlinGraphThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateGremlinGraphThroughputFuture, err error)

UpdateGremlinGraphThroughput update RUs per second of an Azure Cosmos DB Gremlin graph Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. graphName - cosmos DB graph name. updateThroughputParameters - the RUs per second of the parameters to provide for the current Gremlin graph.

func (DatabaseAccountsClient) UpdateGremlinGraphThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateGremlinGraphThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, graphName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateGremlinGraphThroughputPreparer prepares the UpdateGremlinGraphThroughput request.

func (DatabaseAccountsClient) UpdateGremlinGraphThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateGremlinGraphThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateGremlinGraphThroughputResponder handles the response to the UpdateGremlinGraphThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateGremlinGraphThroughputSender Uses

func (client DatabaseAccountsClient) UpdateGremlinGraphThroughputSender(req *http.Request) (future DatabaseAccountsUpdateGremlinGraphThroughputFuture, err error)

UpdateGremlinGraphThroughputSender sends the UpdateGremlinGraphThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateMongoDBCollectionThroughput Uses

func (client DatabaseAccountsClient) UpdateMongoDBCollectionThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateMongoDBCollectionThroughputFuture, err error)

UpdateMongoDBCollectionThroughput update the RUs per second of an Azure Cosmos DB MongoDB collection Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. collectionName - cosmos DB collection name. updateThroughputParameters - the RUs per second of the parameters to provide for the current MongoDB collection.

func (DatabaseAccountsClient) UpdateMongoDBCollectionThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateMongoDBCollectionThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, collectionName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateMongoDBCollectionThroughputPreparer prepares the UpdateMongoDBCollectionThroughput request.

func (DatabaseAccountsClient) UpdateMongoDBCollectionThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateMongoDBCollectionThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateMongoDBCollectionThroughputResponder handles the response to the UpdateMongoDBCollectionThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateMongoDBCollectionThroughputSender Uses

func (client DatabaseAccountsClient) UpdateMongoDBCollectionThroughputSender(req *http.Request) (future DatabaseAccountsUpdateMongoDBCollectionThroughputFuture, err error)

UpdateMongoDBCollectionThroughputSender sends the UpdateMongoDBCollectionThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateMongoDBDatabaseThroughput Uses

func (client DatabaseAccountsClient) UpdateMongoDBDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateMongoDBDatabaseThroughputFuture, err error)

UpdateMongoDBDatabaseThroughput update RUs per second of the an Azure Cosmos DB MongoDB database Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. updateThroughputParameters - the RUs per second of the parameters to provide for the current MongoDB database.

func (DatabaseAccountsClient) UpdateMongoDBDatabaseThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateMongoDBDatabaseThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateMongoDBDatabaseThroughputPreparer prepares the UpdateMongoDBDatabaseThroughput request.

func (DatabaseAccountsClient) UpdateMongoDBDatabaseThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateMongoDBDatabaseThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateMongoDBDatabaseThroughputResponder handles the response to the UpdateMongoDBDatabaseThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateMongoDBDatabaseThroughputSender Uses

func (client DatabaseAccountsClient) UpdateMongoDBDatabaseThroughputSender(req *http.Request) (future DatabaseAccountsUpdateMongoDBDatabaseThroughputFuture, err error)

UpdateMongoDBDatabaseThroughputSender sends the UpdateMongoDBDatabaseThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateSQLContainerThroughput Uses

func (client DatabaseAccountsClient) UpdateSQLContainerThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateSQLContainerThroughputFuture, err error)

UpdateSQLContainerThroughput update RUs per second of an Azure Cosmos DB SQL container Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. containerName - cosmos DB container name. updateThroughputParameters - the parameters to provide for the RUs per second of the current SQL container.

func (DatabaseAccountsClient) UpdateSQLContainerThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateSQLContainerThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, containerName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateSQLContainerThroughputPreparer prepares the UpdateSQLContainerThroughput request.

func (DatabaseAccountsClient) UpdateSQLContainerThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateSQLContainerThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateSQLContainerThroughputResponder handles the response to the UpdateSQLContainerThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateSQLContainerThroughputSender Uses

func (client DatabaseAccountsClient) UpdateSQLContainerThroughputSender(req *http.Request) (future DatabaseAccountsUpdateSQLContainerThroughputFuture, err error)

UpdateSQLContainerThroughputSender sends the UpdateSQLContainerThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateSQLDatabaseThroughput Uses

func (client DatabaseAccountsClient) UpdateSQLDatabaseThroughput(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateSQLDatabaseThroughputFuture, err error)

UpdateSQLDatabaseThroughput update RUs per second of an Azure Cosmos DB SQL database Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseName - cosmos DB database name. updateThroughputParameters - the parameters to provide for the RUs per second of the current SQL database.

func (DatabaseAccountsClient) UpdateSQLDatabaseThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateSQLDatabaseThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateSQLDatabaseThroughputPreparer prepares the UpdateSQLDatabaseThroughput request.

func (DatabaseAccountsClient) UpdateSQLDatabaseThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateSQLDatabaseThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateSQLDatabaseThroughputResponder handles the response to the UpdateSQLDatabaseThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateSQLDatabaseThroughputSender Uses

func (client DatabaseAccountsClient) UpdateSQLDatabaseThroughputSender(req *http.Request) (future DatabaseAccountsUpdateSQLDatabaseThroughputFuture, err error)

UpdateSQLDatabaseThroughputSender sends the UpdateSQLDatabaseThroughput request. The method will close the http.Response Body if it receives an error.

func (DatabaseAccountsClient) UpdateTableThroughput Uses

func (client DatabaseAccountsClient) UpdateTableThroughput(ctx context.Context, resourceGroupName string, accountName string, tableName string, updateThroughputParameters ThroughputUpdateParameters) (result DatabaseAccountsUpdateTableThroughputFuture, err error)

UpdateTableThroughput update RUs per second of an Azure Cosmos DB Table Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. tableName - cosmos DB table name. updateThroughputParameters - the parameters to provide for the RUs per second of the current Table.

func (DatabaseAccountsClient) UpdateTableThroughputPreparer Uses

func (client DatabaseAccountsClient) UpdateTableThroughputPreparer(ctx context.Context, resourceGroupName string, accountName string, tableName string, updateThroughputParameters ThroughputUpdateParameters) (*http.Request, error)

UpdateTableThroughputPreparer prepares the UpdateTableThroughput request.

func (DatabaseAccountsClient) UpdateTableThroughputResponder Uses

func (client DatabaseAccountsClient) UpdateTableThroughputResponder(resp *http.Response) (result Throughput, err error)

UpdateTableThroughputResponder handles the response to the UpdateTableThroughput request. The method always closes the http.Response Body.

func (DatabaseAccountsClient) UpdateTableThroughputSender Uses

func (client DatabaseAccountsClient) UpdateTableThroughputSender(req *http.Request) (future DatabaseAccountsUpdateTableThroughputFuture, err error)

UpdateTableThroughputSender sends the UpdateTableThroughput request. The method will close the http.Response Body if it receives an error.

type DatabaseAccountsCreateOrUpdateFuture Uses

type DatabaseAccountsCreateOrUpdateFuture struct {
    azure.Future
}

DatabaseAccountsCreateOrUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateOrUpdateFuture) Result Uses

func (future *DatabaseAccountsCreateOrUpdateFuture) Result(client DatabaseAccountsClient) (da DatabaseAccount, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateCassandraKeyspaceFuture Uses

type DatabaseAccountsCreateUpdateCassandraKeyspaceFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateCassandraKeyspaceFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateCassandraKeyspaceFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateCassandraKeyspaceFuture) Result(client DatabaseAccountsClient) (ck CassandraKeyspace, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateCassandraTableFuture Uses

type DatabaseAccountsCreateUpdateCassandraTableFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateCassandraTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateCassandraTableFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateCassandraTableFuture) Result(client DatabaseAccountsClient) (ct CassandraTable, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateGremlinDatabaseFuture Uses

type DatabaseAccountsCreateUpdateGremlinDatabaseFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateGremlinDatabaseFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateGremlinDatabaseFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateGremlinDatabaseFuture) Result(client DatabaseAccountsClient) (gd GremlinDatabase, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateGremlinGraphFuture Uses

type DatabaseAccountsCreateUpdateGremlinGraphFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateGremlinGraphFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateGremlinGraphFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateGremlinGraphFuture) Result(client DatabaseAccountsClient) (gg GremlinGraph, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateMongoDBCollectionFuture Uses

type DatabaseAccountsCreateUpdateMongoDBCollectionFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateMongoDBCollectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateMongoDBCollectionFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateMongoDBCollectionFuture) Result(client DatabaseAccountsClient) (mdc MongoDBCollection, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateMongoDBDatabaseFuture Uses

type DatabaseAccountsCreateUpdateMongoDBDatabaseFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateMongoDBDatabaseFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateMongoDBDatabaseFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateMongoDBDatabaseFuture) Result(client DatabaseAccountsClient) (mdd MongoDBDatabase, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateSQLContainerFuture Uses

type DatabaseAccountsCreateUpdateSQLContainerFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateSQLContainerFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateSQLContainerFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateSQLContainerFuture) Result(client DatabaseAccountsClient) (sc SQLContainer, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateSQLDatabaseFuture Uses

type DatabaseAccountsCreateUpdateSQLDatabaseFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateSQLDatabaseFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateSQLDatabaseFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateSQLDatabaseFuture) Result(client DatabaseAccountsClient) (sd SQLDatabase, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsCreateUpdateTableFuture Uses

type DatabaseAccountsCreateUpdateTableFuture struct {
    azure.Future
}

DatabaseAccountsCreateUpdateTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsCreateUpdateTableFuture) Result Uses

func (future *DatabaseAccountsCreateUpdateTableFuture) Result(client DatabaseAccountsClient) (t Table, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteCassandraKeyspaceFuture Uses

type DatabaseAccountsDeleteCassandraKeyspaceFuture struct {
    azure.Future
}

DatabaseAccountsDeleteCassandraKeyspaceFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteCassandraKeyspaceFuture) Result Uses

func (future *DatabaseAccountsDeleteCassandraKeyspaceFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteCassandraTableFuture Uses

type DatabaseAccountsDeleteCassandraTableFuture struct {
    azure.Future
}

DatabaseAccountsDeleteCassandraTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteCassandraTableFuture) Result Uses

func (future *DatabaseAccountsDeleteCassandraTableFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteFuture Uses

type DatabaseAccountsDeleteFuture struct {
    azure.Future
}

DatabaseAccountsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteFuture) Result Uses

func (future *DatabaseAccountsDeleteFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteGremlinDatabaseFuture Uses

type DatabaseAccountsDeleteGremlinDatabaseFuture struct {
    azure.Future
}

DatabaseAccountsDeleteGremlinDatabaseFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteGremlinDatabaseFuture) Result Uses

func (future *DatabaseAccountsDeleteGremlinDatabaseFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteGremlinGraphFuture Uses

type DatabaseAccountsDeleteGremlinGraphFuture struct {
    azure.Future
}

DatabaseAccountsDeleteGremlinGraphFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteGremlinGraphFuture) Result Uses

func (future *DatabaseAccountsDeleteGremlinGraphFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteMongoDBCollectionFuture Uses

type DatabaseAccountsDeleteMongoDBCollectionFuture struct {
    azure.Future
}

DatabaseAccountsDeleteMongoDBCollectionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteMongoDBCollectionFuture) Result Uses

func (future *DatabaseAccountsDeleteMongoDBCollectionFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteMongoDBDatabaseFuture Uses

type DatabaseAccountsDeleteMongoDBDatabaseFuture struct {
    azure.Future
}

DatabaseAccountsDeleteMongoDBDatabaseFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteMongoDBDatabaseFuture) Result Uses

func (future *DatabaseAccountsDeleteMongoDBDatabaseFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteSQLContainerFuture Uses

type DatabaseAccountsDeleteSQLContainerFuture struct {
    azure.Future
}

DatabaseAccountsDeleteSQLContainerFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteSQLContainerFuture) Result Uses

func (future *DatabaseAccountsDeleteSQLContainerFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteSQLDatabaseFuture Uses

type DatabaseAccountsDeleteSQLDatabaseFuture struct {
    azure.Future
}

DatabaseAccountsDeleteSQLDatabaseFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteSQLDatabaseFuture) Result Uses

func (future *DatabaseAccountsDeleteSQLDatabaseFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsDeleteTableFuture Uses

type DatabaseAccountsDeleteTableFuture struct {
    azure.Future
}

DatabaseAccountsDeleteTableFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsDeleteTableFuture) Result Uses

func (future *DatabaseAccountsDeleteTableFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsFailoverPriorityChangeFuture Uses

type DatabaseAccountsFailoverPriorityChangeFuture struct {
    azure.Future
}

DatabaseAccountsFailoverPriorityChangeFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsFailoverPriorityChangeFuture) Result Uses

func (future *DatabaseAccountsFailoverPriorityChangeFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsListResult Uses

type DatabaseAccountsListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of database account and their properties.
    Value *[]DatabaseAccount `json:"value,omitempty"`
}

DatabaseAccountsListResult the List operation response, that contains the database accounts and their properties.

type DatabaseAccountsOfflineRegionFuture Uses

type DatabaseAccountsOfflineRegionFuture struct {
    azure.Future
}

DatabaseAccountsOfflineRegionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsOfflineRegionFuture) Result Uses

func (future *DatabaseAccountsOfflineRegionFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsOnlineRegionFuture Uses

type DatabaseAccountsOnlineRegionFuture struct {
    azure.Future
}

DatabaseAccountsOnlineRegionFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsOnlineRegionFuture) Result Uses

func (future *DatabaseAccountsOnlineRegionFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsPatchFuture Uses

type DatabaseAccountsPatchFuture struct {
    azure.Future
}

DatabaseAccountsPatchFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsPatchFuture) Result Uses

func (future *DatabaseAccountsPatchFuture) Result(client DatabaseAccountsClient) (da DatabaseAccount, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsRegenerateKeyFuture Uses

type DatabaseAccountsRegenerateKeyFuture struct {
    azure.Future
}

DatabaseAccountsRegenerateKeyFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsRegenerateKeyFuture) Result Uses

func (future *DatabaseAccountsRegenerateKeyFuture) Result(client DatabaseAccountsClient) (ar autorest.Response, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateCassandraKeyspaceThroughputFuture Uses

type DatabaseAccountsUpdateCassandraKeyspaceThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateCassandraKeyspaceThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateCassandraKeyspaceThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateCassandraKeyspaceThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateCassandraTableThroughputFuture Uses

type DatabaseAccountsUpdateCassandraTableThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateCassandraTableThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateCassandraTableThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateCassandraTableThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateGremlinDatabaseThroughputFuture Uses

type DatabaseAccountsUpdateGremlinDatabaseThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateGremlinDatabaseThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateGremlinDatabaseThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateGremlinDatabaseThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateGremlinGraphThroughputFuture Uses

type DatabaseAccountsUpdateGremlinGraphThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateGremlinGraphThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateGremlinGraphThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateGremlinGraphThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateMongoDBCollectionThroughputFuture Uses

type DatabaseAccountsUpdateMongoDBCollectionThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateMongoDBCollectionThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateMongoDBCollectionThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateMongoDBCollectionThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateMongoDBDatabaseThroughputFuture Uses

type DatabaseAccountsUpdateMongoDBDatabaseThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateMongoDBDatabaseThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateMongoDBDatabaseThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateMongoDBDatabaseThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateSQLContainerThroughputFuture Uses

type DatabaseAccountsUpdateSQLContainerThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateSQLContainerThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateSQLContainerThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateSQLContainerThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateSQLDatabaseThroughputFuture Uses

type DatabaseAccountsUpdateSQLDatabaseThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateSQLDatabaseThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateSQLDatabaseThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateSQLDatabaseThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseAccountsUpdateTableThroughputFuture Uses

type DatabaseAccountsUpdateTableThroughputFuture struct {
    azure.Future
}

DatabaseAccountsUpdateTableThroughputFuture an abstraction for monitoring and retrieving the results of a long-running operation.

func (*DatabaseAccountsUpdateTableThroughputFuture) Result Uses

func (future *DatabaseAccountsUpdateTableThroughputFuture) Result(client DatabaseAccountsClient) (t Throughput, err error)

Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.

type DatabaseClient Uses

type DatabaseClient struct {
    BaseClient
}

DatabaseClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewDatabaseClient Uses

func NewDatabaseClient(subscriptionID string) DatabaseClient

NewDatabaseClient creates an instance of the DatabaseClient client.

func NewDatabaseClientWithBaseURI Uses

func NewDatabaseClientWithBaseURI(baseURI string, subscriptionID string) DatabaseClient

NewDatabaseClientWithBaseURI creates an instance of the DatabaseClient client.

func (DatabaseClient) ListMetricDefinitions Uses

func (client DatabaseClient) ListMetricDefinitions(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (result MetricDefinitionsListResult, err error)

ListMetricDefinitions retrieves metric definitions for the given database. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid.

func (DatabaseClient) ListMetricDefinitionsPreparer Uses

func (client DatabaseClient) ListMetricDefinitionsPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string) (*http.Request, error)

ListMetricDefinitionsPreparer prepares the ListMetricDefinitions request.

func (DatabaseClient) ListMetricDefinitionsResponder Uses

func (client DatabaseClient) ListMetricDefinitionsResponder(resp *http.Response) (result MetricDefinitionsListResult, err error)

ListMetricDefinitionsResponder handles the response to the ListMetricDefinitions request. The method always closes the http.Response Body.

func (DatabaseClient) ListMetricDefinitionsSender Uses

func (client DatabaseClient) ListMetricDefinitionsSender(req *http.Request) (*http.Response, error)

ListMetricDefinitionsSender sends the ListMetricDefinitions request. The method will close the http.Response Body if it receives an error.

func (DatabaseClient) ListMetrics Uses

func (client DatabaseClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string) (result MetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given database account and database. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (DatabaseClient) ListMetricsPreparer Uses

func (client DatabaseClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (DatabaseClient) ListMetricsResponder Uses

func (client DatabaseClient) ListMetricsResponder(resp *http.Response) (result MetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (DatabaseClient) ListMetricsSender Uses

func (client DatabaseClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

func (DatabaseClient) ListUsages Uses

func (client DatabaseClient) ListUsages(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string) (result UsagesResult, err error)

ListUsages retrieves the usages (most recent data) for the given database. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid. filter - 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).

func (DatabaseClient) ListUsagesPreparer Uses

func (client DatabaseClient) ListUsagesPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, filter string) (*http.Request, error)

ListUsagesPreparer prepares the ListUsages request.

func (DatabaseClient) ListUsagesResponder Uses

func (client DatabaseClient) ListUsagesResponder(resp *http.Response) (result UsagesResult, err error)

ListUsagesResponder handles the response to the ListUsages request. The method always closes the http.Response Body.

func (DatabaseClient) ListUsagesSender Uses

func (client DatabaseClient) ListUsagesSender(req *http.Request) (*http.Response, error)

ListUsagesSender sends the ListUsages request. The method will close the http.Response Body if it receives an error.

type DefaultConsistencyLevel Uses

type DefaultConsistencyLevel string

DefaultConsistencyLevel enumerates the values for default consistency level.

const (
    // BoundedStaleness ...
    BoundedStaleness DefaultConsistencyLevel = "BoundedStaleness"
    // ConsistentPrefix ...
    ConsistentPrefix DefaultConsistencyLevel = "ConsistentPrefix"
    // Eventual ...
    Eventual DefaultConsistencyLevel = "Eventual"
    // Session ...
    Session DefaultConsistencyLevel = "Session"
    // Strong ...
    Strong DefaultConsistencyLevel = "Strong"
)

func PossibleDefaultConsistencyLevelValues Uses

func PossibleDefaultConsistencyLevelValues() []DefaultConsistencyLevel

PossibleDefaultConsistencyLevelValues returns an array of possible values for the DefaultConsistencyLevel const type.

type ErrorResponse Uses

type ErrorResponse struct {
    // Code - Error code.
    Code *string `json:"code,omitempty"`
    // Message - Error message indicating why the operation failed.
    Message *string `json:"message,omitempty"`
}

ErrorResponse error Response.

type ExcludedPath Uses

type ExcludedPath struct {
    // Path - 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"`
}

ExcludedPath ...

type ExtendedResourceProperties Uses

type ExtendedResourceProperties struct {
    // Rid - A system generated property. A unique identifier.
    Rid *string `json:"_rid,omitempty"`
    // Ts - A system generated property that denotes the last updated timestamp of the resource.
    Ts  interface{} `json:"_ts,omitempty"`
    // Etag - A system generated property representing the resource etag required for optimistic concurrency control.
    Etag *string `json:"_etag,omitempty"`
}

ExtendedResourceProperties the system generated resource properties associated with SQL databases and SQL containers.

type FailoverPolicies Uses

type FailoverPolicies struct {
    // FailoverPolicies - List of failover policies.
    FailoverPolicies *[]FailoverPolicy `json:"failoverPolicies,omitempty"`
}

FailoverPolicies the list of new failover policies for the failover priority change.

type FailoverPolicy Uses

type FailoverPolicy struct {
    // ID - READ-ONLY; The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>.
    ID  *string `json:"id,omitempty"`
    // LocationName - The name of the region in which the database account exists.
    LocationName *string `json:"locationName,omitempty"`
    // FailoverPriority - 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"`
}

FailoverPolicy the failover policy for a given region of a database account.

type GremlinDatabase Uses

type GremlinDatabase struct {
    autorest.Response `json:"-"`
    // GremlinDatabaseProperties - The properties of an Azure Cosmos DB SQL database
    *GremlinDatabaseProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The unique resource identifier of the database account.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the database account.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of Azure resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource group to which the resource belongs.
    Location *string            `json:"location,omitempty"`
    Tags     map[string]*string `json:"tags"`
}

GremlinDatabase an Azure Cosmos DB Gremlin database.

func (GremlinDatabase) MarshalJSON Uses

func (gd GremlinDatabase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GremlinDatabase.

func (*GremlinDatabase) UnmarshalJSON Uses

func (gd *GremlinDatabase) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GremlinDatabase struct.

type GremlinDatabaseCreateUpdateParameters Uses

type GremlinDatabaseCreateUpdateParameters struct {
    // GremlinDatabaseCreateUpdateProperties - Properties to create and update Azure Cosmos DB Gremlin database.
    *GremlinDatabaseCreateUpdateProperties `json:"properties,omitempty"`
}

GremlinDatabaseCreateUpdateParameters parameters to create and update Cosmos DB Gremlin database.

func (GremlinDatabaseCreateUpdateParameters) MarshalJSON Uses

func (gdcup GremlinDatabaseCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GremlinDatabaseCreateUpdateParameters.

func (*GremlinDatabaseCreateUpdateParameters) UnmarshalJSON Uses

func (gdcup *GremlinDatabaseCreateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GremlinDatabaseCreateUpdateParameters struct.

type GremlinDatabaseCreateUpdateProperties Uses

type GremlinDatabaseCreateUpdateProperties struct {
    // Resource - The standard JSON format of a Gremlin database
    Resource *GremlinDatabaseResource `json:"resource,omitempty"`
    // Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
    Options map[string]*string `json:"options"`
}

GremlinDatabaseCreateUpdateProperties properties to create and update Azure Cosmos DB Gremlin database.

func (GremlinDatabaseCreateUpdateProperties) MarshalJSON Uses

func (gdcup GremlinDatabaseCreateUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GremlinDatabaseCreateUpdateProperties.

type GremlinDatabaseListResult Uses

type GremlinDatabaseListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of Gremlin databases and their properties.
    Value *[]GremlinDatabase `json:"value,omitempty"`
}

GremlinDatabaseListResult the List operation response, that contains the Gremlin databases and their properties.

type GremlinDatabaseProperties Uses

type GremlinDatabaseProperties struct {
    // Rid - A system generated property. A unique identifier.
    Rid *string `json:"_rid,omitempty"`
    // Ts - A system generated property that denotes the last updated timestamp of the resource.
    Ts  interface{} `json:"_ts,omitempty"`
    // Etag - A system generated property representing the resource etag required for optimistic concurrency control.
    Etag *string `json:"_etag,omitempty"`
    // ID - Name of the Cosmos DB Gremlin database
    ID  *string `json:"id,omitempty"`
}

GremlinDatabaseProperties the properties of an Azure Cosmos DB SQL database

type GremlinDatabaseResource Uses

type GremlinDatabaseResource struct {
    // ID - Name of the Cosmos DB Gremlin database
    ID *string `json:"id,omitempty"`
}

GremlinDatabaseResource cosmos DB Gremlin database id object

type GremlinGraph Uses

type GremlinGraph struct {
    autorest.Response `json:"-"`
    // GremlinGraphProperties - The properties of an Azure Cosmos DB Gremlin graph
    *GremlinGraphProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The unique resource identifier of the database account.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the database account.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of Azure resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource group to which the resource belongs.
    Location *string            `json:"location,omitempty"`
    Tags     map[string]*string `json:"tags"`
}

GremlinGraph an Azure Cosmos DB Gremlin graph.

func (GremlinGraph) MarshalJSON Uses

func (gg GremlinGraph) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GremlinGraph.

func (*GremlinGraph) UnmarshalJSON Uses

func (gg *GremlinGraph) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GremlinGraph struct.

type GremlinGraphCreateUpdateParameters Uses

type GremlinGraphCreateUpdateParameters struct {
    // GremlinGraphCreateUpdateProperties - Properties to create and update Azure Cosmos DB Gremlin graph.
    *GremlinGraphCreateUpdateProperties `json:"properties,omitempty"`
}

GremlinGraphCreateUpdateParameters parameters to create and update Cosmos DB Gremlin graph.

func (GremlinGraphCreateUpdateParameters) MarshalJSON Uses

func (ggcup GremlinGraphCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GremlinGraphCreateUpdateParameters.

func (*GremlinGraphCreateUpdateParameters) UnmarshalJSON Uses

func (ggcup *GremlinGraphCreateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for GremlinGraphCreateUpdateParameters struct.

type GremlinGraphCreateUpdateProperties Uses

type GremlinGraphCreateUpdateProperties struct {
    // Resource - The standard JSON format of a Gremlin graph
    Resource *GremlinGraphResource `json:"resource,omitempty"`
    // Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
    Options map[string]*string `json:"options"`
}

GremlinGraphCreateUpdateProperties properties to create and update Azure Cosmos DB Gremlin graph.

func (GremlinGraphCreateUpdateProperties) MarshalJSON Uses

func (ggcup GremlinGraphCreateUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for GremlinGraphCreateUpdateProperties.

type GremlinGraphListResult Uses

type GremlinGraphListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of graphs and their properties.
    Value *[]GremlinGraph `json:"value,omitempty"`
}

GremlinGraphListResult the List operation response, that contains the graphs and their properties.

type GremlinGraphProperties Uses

type GremlinGraphProperties struct {
    // ID - Name of the Cosmos DB Gremlin graph
    ID  *string `json:"id,omitempty"`
    // IndexingPolicy - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
    IndexingPolicy *IndexingPolicy `json:"indexingPolicy,omitempty"`
    // PartitionKey - The configuration of the partition key to be used for partitioning data into multiple partitions
    PartitionKey *ContainerPartitionKey `json:"partitionKey,omitempty"`
    // DefaultTTL - Default time to live
    DefaultTTL *int32 `json:"defaultTtl,omitempty"`
    // UniqueKeyPolicy - 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"`
    // ConflictResolutionPolicy - The conflict resolution policy for the graph.
    ConflictResolutionPolicy *ConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"`
    // Rid - A system generated property. A unique identifier.
    Rid *string `json:"_rid,omitempty"`
    // Ts - A system generated property that denotes the last updated timestamp of the resource.
    Ts  interface{} `json:"_ts,omitempty"`
    // Etag - A system generated property representing the resource etag required for optimistic concurrency control.
    Etag *string `json:"_etag,omitempty"`
}

GremlinGraphProperties the properties of an Azure Cosmos DB Gremlin graph

type GremlinGraphResource Uses

type GremlinGraphResource struct {
    // ID - Name of the Cosmos DB Gremlin graph
    ID  *string `json:"id,omitempty"`
    // IndexingPolicy - The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph
    IndexingPolicy *IndexingPolicy `json:"indexingPolicy,omitempty"`
    // PartitionKey - The configuration of the partition key to be used for partitioning data into multiple partitions
    PartitionKey *ContainerPartitionKey `json:"partitionKey,omitempty"`
    // DefaultTTL - Default time to live
    DefaultTTL *int32 `json:"defaultTtl,omitempty"`
    // UniqueKeyPolicy - 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"`
    // ConflictResolutionPolicy - The conflict resolution policy for the graph.
    ConflictResolutionPolicy *ConflictResolutionPolicy `json:"conflictResolutionPolicy,omitempty"`
}

GremlinGraphResource cosmos DB Gremlin graph resource object

type IncludedPath Uses

type IncludedPath struct {
    // Path - 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"`
    // Indexes - List of indexes for this path
    Indexes *[]Indexes `json:"indexes,omitempty"`
}

IncludedPath the paths that are included in indexing

type IndexKind Uses

type IndexKind string

IndexKind enumerates the values for index kind.

const (
    // Hash ...
    Hash IndexKind = "Hash"
    // Range ...
    Range IndexKind = "Range"
    // Spatial ...
    Spatial IndexKind = "Spatial"
)

func PossibleIndexKindValues Uses

func PossibleIndexKindValues() []IndexKind

PossibleIndexKindValues returns an array of possible values for the IndexKind const type.

type Indexes Uses

type Indexes struct {
    // DataType - The datatype for which the indexing behavior is applied to. Possible values include: 'String', 'Number', 'Point', 'Polygon', 'LineString', 'MultiPolygon'
    DataType DataType `json:"dataType,omitempty"`
    // Precision - The precision of the index. -1 is maximum precision.
    Precision *int32 `json:"precision,omitempty"`
    // Kind - Indicates the type of index. Possible values include: 'Hash', 'Range', 'Spatial'
    Kind IndexKind `json:"kind,omitempty"`
}

Indexes the indexes for the path.

type IndexingMode Uses

type IndexingMode string

IndexingMode enumerates the values for indexing mode.

const (
    // Consistent ...
    Consistent IndexingMode = "Consistent"
    // Lazy ...
    Lazy IndexingMode = "Lazy"
    // None ...
    None IndexingMode = "None"
)

func PossibleIndexingModeValues Uses

func PossibleIndexingModeValues() []IndexingMode

PossibleIndexingModeValues returns an array of possible values for the IndexingMode const type.

type IndexingPolicy Uses

type IndexingPolicy struct {
    // Automatic - Indicates if the indexing policy is automatic
    Automatic *bool `json:"automatic,omitempty"`
    // IndexingMode - Indicates the indexing mode. Possible values include: 'Consistent', 'Lazy', 'None'
    IndexingMode IndexingMode `json:"indexingMode,omitempty"`
    // IncludedPaths - List of paths to include in the indexing
    IncludedPaths *[]IncludedPath `json:"includedPaths,omitempty"`
    // ExcludedPaths - List of paths to exclude from indexing
    ExcludedPaths *[]ExcludedPath `json:"excludedPaths,omitempty"`
}

IndexingPolicy cosmos DB indexing policy

type KeyKind Uses

type KeyKind string

KeyKind enumerates the values for key kind.

const (
    // Primary ...
    Primary KeyKind = "primary"
    // PrimaryReadonly ...
    PrimaryReadonly KeyKind = "primaryReadonly"
    // Secondary ...
    Secondary KeyKind = "secondary"
    // SecondaryReadonly ...
    SecondaryReadonly KeyKind = "secondaryReadonly"
)

func PossibleKeyKindValues Uses

func PossibleKeyKindValues() []KeyKind

PossibleKeyKindValues returns an array of possible values for the KeyKind const type.

type Location Uses

type Location struct {
    // ID - READ-ONLY; The unique identifier of the region within the database account. Example: <accountName>-<locationName>.
    ID  *string `json:"id,omitempty"`
    // LocationName - The name of the region.
    LocationName *string `json:"locationName,omitempty"`
    // DocumentEndpoint - READ-ONLY; The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/
    DocumentEndpoint  *string `json:"documentEndpoint,omitempty"`
    ProvisioningState *string `json:"provisioningState,omitempty"`
    // FailoverPriority - 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"`
    // IsZoneRedundant - Flag to indicate whether or not this region is an AvailabilityZone region
    IsZoneRedundant *bool `json:"isZoneRedundant,omitempty"`
}

Location a region in which the Azure Cosmos DB database account is deployed.

type Metric Uses

type Metric struct {
    // StartTime - READ-ONLY; The start time for the metric (ISO-8601 format).
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; The end time for the metric (ISO-8601 format).
    EndTime *date.Time `json:"endTime,omitempty"`
    // TimeGrain - READ-ONLY; The time grain to be used to summarize the metric values.
    TimeGrain *string `json:"timeGrain,omitempty"`
    // Unit - The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
    Unit UnitType `json:"unit,omitempty"`
    // Name - READ-ONLY; The name information for the metric.
    Name *MetricName `json:"name,omitempty"`
    // MetricValues - READ-ONLY; The metric values for the specified time window and timestep.
    MetricValues *[]MetricValue `json:"metricValues,omitempty"`
}

Metric metric data

type MetricAvailability Uses

type MetricAvailability struct {
    // TimeGrain - READ-ONLY; The time grain to be used to summarize the metric values.
    TimeGrain *string `json:"timeGrain,omitempty"`
    // Retention - READ-ONLY; The retention for the metric values.
    Retention *string `json:"retention,omitempty"`
}

MetricAvailability the availability of the metric.

type MetricDefinition Uses

type MetricDefinition struct {
    // MetricAvailabilities - READ-ONLY; The list of metric availabilities for the account.
    MetricAvailabilities *[]MetricAvailability `json:"metricAvailabilities,omitempty"`
    // PrimaryAggregationType - READ-ONLY; The primary aggregation type of the metric. Possible values include: 'PrimaryAggregationTypeNone', 'PrimaryAggregationTypeAverage', 'PrimaryAggregationTypeTotal', 'PrimaryAggregationTypeMinimimum', 'PrimaryAggregationTypeMaximum', 'PrimaryAggregationTypeLast'
    PrimaryAggregationType PrimaryAggregationType `json:"primaryAggregationType,omitempty"`
    // Unit - The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
    Unit UnitType `json:"unit,omitempty"`
    // ResourceURI - READ-ONLY; The resource uri of the database.
    ResourceURI *string `json:"resourceUri,omitempty"`
    // Name - READ-ONLY; The name information for the metric.
    Name *MetricName `json:"name,omitempty"`
}

MetricDefinition the definition of a metric.

type MetricDefinitionsListResult Uses

type MetricDefinitionsListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of metric definitions for the account.
    Value *[]MetricDefinition `json:"value,omitempty"`
}

MetricDefinitionsListResult the response to a list metric definitions request.

type MetricListResult Uses

type MetricListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of metrics for the account.
    Value *[]Metric `json:"value,omitempty"`
}

MetricListResult the response to a list metrics request.

type MetricName Uses

type MetricName struct {
    // Value - READ-ONLY; The name of the metric.
    Value *string `json:"value,omitempty"`
    // LocalizedValue - READ-ONLY; The friendly name of the metric.
    LocalizedValue *string `json:"localizedValue,omitempty"`
}

MetricName a metric name.

type MetricValue Uses

type MetricValue struct {
    // Count - READ-ONLY; The number of values for the metric.
    Count *float64 `json:"_count,omitempty"`
    // Average - READ-ONLY; The average value of the metric.
    Average *float64 `json:"average,omitempty"`
    // Maximum - READ-ONLY; The max value of the metric.
    Maximum *float64 `json:"maximum,omitempty"`
    // Minimum - READ-ONLY; The min value of the metric.
    Minimum *float64 `json:"minimum,omitempty"`
    // Timestamp - READ-ONLY; The metric timestamp (ISO-8601 format).
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Total - READ-ONLY; The total value of the metric.
    Total *float64 `json:"total,omitempty"`
}

MetricValue represents metrics values.

type MongoDBCollection Uses

type MongoDBCollection struct {
    autorest.Response `json:"-"`
    // MongoDBCollectionProperties - The properties of an Azure Cosmos DB MongoDB collection
    *MongoDBCollectionProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The unique resource identifier of the database account.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the database account.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of Azure resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource group to which the resource belongs.
    Location *string            `json:"location,omitempty"`
    Tags     map[string]*string `json:"tags"`
}

MongoDBCollection an Azure Cosmos DB MongoDB collection.

func (MongoDBCollection) MarshalJSON Uses

func (mdc MongoDBCollection) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MongoDBCollection.

func (*MongoDBCollection) UnmarshalJSON Uses

func (mdc *MongoDBCollection) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MongoDBCollection struct.

type MongoDBCollectionCreateUpdateParameters Uses

type MongoDBCollectionCreateUpdateParameters struct {
    // MongoDBCollectionCreateUpdateProperties - Properties to create and update Azure Cosmos DB MongoDB collection.
    *MongoDBCollectionCreateUpdateProperties `json:"properties,omitempty"`
}

MongoDBCollectionCreateUpdateParameters parameters to create and update Cosmos DB MongoDB collection.

func (MongoDBCollectionCreateUpdateParameters) MarshalJSON Uses

func (mdccup MongoDBCollectionCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MongoDBCollectionCreateUpdateParameters.

func (*MongoDBCollectionCreateUpdateParameters) UnmarshalJSON Uses

func (mdccup *MongoDBCollectionCreateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MongoDBCollectionCreateUpdateParameters struct.

type MongoDBCollectionCreateUpdateProperties Uses

type MongoDBCollectionCreateUpdateProperties struct {
    // Resource - The standard JSON format of a MongoDB collection
    Resource *MongoDBCollectionResource `json:"resource,omitempty"`
    // Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
    Options map[string]*string `json:"options"`
}

MongoDBCollectionCreateUpdateProperties properties to create and update Azure Cosmos DB MongoDB collection.

func (MongoDBCollectionCreateUpdateProperties) MarshalJSON Uses

func (mdccup MongoDBCollectionCreateUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MongoDBCollectionCreateUpdateProperties.

type MongoDBCollectionListResult Uses

type MongoDBCollectionListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of MongoDB collections and their properties.
    Value *[]MongoDBCollection `json:"value,omitempty"`
}

MongoDBCollectionListResult the List operation response, that contains the MongoDB collections and their properties.

type MongoDBCollectionProperties Uses

type MongoDBCollectionProperties struct {
    // ID - Name of the Cosmos DB MongoDB collection
    ID  *string `json:"id,omitempty"`
    // ShardKey - A key-value pair of shard keys to be applied for the request.
    ShardKey map[string]*string `json:"shardKey"`
    // Indexes - List of index keys
    Indexes *[]MongoIndex `json:"indexes,omitempty"`
}

MongoDBCollectionProperties the properties of an Azure Cosmos DB MongoDB collection

func (MongoDBCollectionProperties) MarshalJSON Uses

func (mdcp MongoDBCollectionProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MongoDBCollectionProperties.

type MongoDBCollectionResource Uses

type MongoDBCollectionResource struct {
    // ID - Name of the Cosmos DB MongoDB collection
    ID  *string `json:"id,omitempty"`
    // ShardKey - A key-value pair of shard keys to be applied for the request.
    ShardKey map[string]*string `json:"shardKey"`
    // Indexes - List of index keys
    Indexes *[]MongoIndex `json:"indexes,omitempty"`
}

MongoDBCollectionResource cosmos DB MongoDB collection resource object

func (MongoDBCollectionResource) MarshalJSON Uses

func (mdcr MongoDBCollectionResource) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MongoDBCollectionResource.

type MongoDBDatabase Uses

type MongoDBDatabase struct {
    autorest.Response `json:"-"`
    // MongoDBDatabaseProperties - The properties of an Azure Cosmos DB MongoDB database
    *MongoDBDatabaseProperties `json:"properties,omitempty"`
    // ID - READ-ONLY; The unique resource identifier of the database account.
    ID  *string `json:"id,omitempty"`
    // Name - READ-ONLY; The name of the database account.
    Name *string `json:"name,omitempty"`
    // Type - READ-ONLY; The type of Azure resource.
    Type *string `json:"type,omitempty"`
    // Location - The location of the resource group to which the resource belongs.
    Location *string            `json:"location,omitempty"`
    Tags     map[string]*string `json:"tags"`
}

MongoDBDatabase an Azure Cosmos DB MongoDB database.

func (MongoDBDatabase) MarshalJSON Uses

func (mdd MongoDBDatabase) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MongoDBDatabase.

func (*MongoDBDatabase) UnmarshalJSON Uses

func (mdd *MongoDBDatabase) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MongoDBDatabase struct.

type MongoDBDatabaseCreateUpdateParameters Uses

type MongoDBDatabaseCreateUpdateParameters struct {
    // MongoDBDatabaseCreateUpdateProperties - Properties to create and update Azure Cosmos DB MongoDB database.
    *MongoDBDatabaseCreateUpdateProperties `json:"properties,omitempty"`
}

MongoDBDatabaseCreateUpdateParameters parameters to create and update Cosmos DB MongoDB database.

func (MongoDBDatabaseCreateUpdateParameters) MarshalJSON Uses

func (mddcup MongoDBDatabaseCreateUpdateParameters) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MongoDBDatabaseCreateUpdateParameters.

func (*MongoDBDatabaseCreateUpdateParameters) UnmarshalJSON Uses

func (mddcup *MongoDBDatabaseCreateUpdateParameters) UnmarshalJSON(body []byte) error

UnmarshalJSON is the custom unmarshaler for MongoDBDatabaseCreateUpdateParameters struct.

type MongoDBDatabaseCreateUpdateProperties Uses

type MongoDBDatabaseCreateUpdateProperties struct {
    // Resource - The standard JSON format of a MongoDB database
    Resource *MongoDBDatabaseResource `json:"resource,omitempty"`
    // Options - A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
    Options map[string]*string `json:"options"`
}

MongoDBDatabaseCreateUpdateProperties properties to create and update Azure Cosmos DB MongoDB database.

func (MongoDBDatabaseCreateUpdateProperties) MarshalJSON Uses

func (mddcup MongoDBDatabaseCreateUpdateProperties) MarshalJSON() ([]byte, error)

MarshalJSON is the custom marshaler for MongoDBDatabaseCreateUpdateProperties.

type MongoDBDatabaseListResult Uses

type MongoDBDatabaseListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; List of MongoDB databases and their properties.
    Value *[]MongoDBDatabase `json:"value,omitempty"`
}

MongoDBDatabaseListResult the List operation response, that contains the MongoDB databases and their properties.

type MongoDBDatabaseProperties Uses

type MongoDBDatabaseProperties struct {
    // ID - Name of the Cosmos DB MongoDB database
    ID *string `json:"id,omitempty"`
}

MongoDBDatabaseProperties the properties of an Azure Cosmos DB MongoDB database

type MongoDBDatabaseResource Uses

type MongoDBDatabaseResource struct {
    // ID - Name of the Cosmos DB MongoDB database
    ID *string `json:"id,omitempty"`
}

MongoDBDatabaseResource cosmos DB MongoDB database id object

type MongoIndex Uses

type MongoIndex struct {
    // Key - Cosmos DB MongoDB collection index keys
    Key *MongoIndexKeys `json:"key,omitempty"`
    // Options - Cosmos DB MongoDB collection index key options
    Options *MongoIndexOptions `json:"options,omitempty"`
}

MongoIndex cosmos DB MongoDB collection index key

type MongoIndexKeys Uses

type MongoIndexKeys struct {
    // Keys - 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

type MongoIndexOptions Uses

type MongoIndexOptions struct {
    // ExpireAfterSeconds - Expire after seconds
    ExpireAfterSeconds *int32 `json:"expireAfterSeconds,omitempty"`
    // Unique - Is unique or not
    Unique *bool `json:"unique,omitempty"`
}

MongoIndexOptions cosmos DB MongoDB collection index options

type Operation Uses

type Operation struct {
    // Name - Operation name: {provider}/{resource}/{operation}
    Name *string `json:"name,omitempty"`
    // Display - The object that represents the operation.
    Display *OperationDisplay `json:"display,omitempty"`
}

Operation REST API operation

type OperationDisplay Uses

type OperationDisplay struct {
    // Provider - Service provider: Microsoft.ResourceProvider
    Provider *string `json:"Provider,omitempty"`
    // Resource - Resource on which the operation is performed: Profile, endpoint, etc.
    Resource *string `json:"Resource,omitempty"`
    // Operation - Operation type: Read, write, delete, etc.
    Operation *string `json:"Operation,omitempty"`
    // Description - Description of operation
    Description *string `json:"Description,omitempty"`
}

OperationDisplay the object that represents the operation.

type OperationListResult Uses

type OperationListResult struct {
    autorest.Response `json:"-"`
    // Value - List of operations supported by the Resource Provider.
    Value *[]Operation `json:"value,omitempty"`
    // NextLink - URL to get the next set of operation list results if there are any.
    NextLink *string `json:"nextLink,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) IsEmpty Uses

func (olr OperationListResult) IsEmpty() bool

IsEmpty returns true if the ListResult contains no values.

type OperationListResultIterator Uses

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

OperationListResultIterator provides access to a complete listing of Operation values.

func NewOperationListResultIterator Uses

func NewOperationListResultIterator(page OperationListResultPage) OperationListResultIterator

Creates a new instance of the OperationListResultIterator type.

func (*OperationListResultIterator) Next Uses

func (iter *OperationListResultIterator) Next() error

Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultIterator) NextWithContext Uses

func (iter *OperationListResultIterator) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.

func (OperationListResultIterator) NotDone Uses

func (iter OperationListResultIterator) NotDone() bool

NotDone returns true if the enumeration should be started or is not yet complete.

func (OperationListResultIterator) Response Uses

func (iter OperationListResultIterator) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultIterator) Value Uses

func (iter OperationListResultIterator) Value() Operation

Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.

type OperationListResultPage Uses

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

OperationListResultPage contains a page of Operation values.

func NewOperationListResultPage Uses

func NewOperationListResultPage(getNextPage func(context.Context, OperationListResult) (OperationListResult, error)) OperationListResultPage

Creates a new instance of the OperationListResultPage type.

func (*OperationListResultPage) Next Uses

func (page *OperationListResultPage) Next() error

Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.

func (*OperationListResultPage) NextWithContext Uses

func (page *OperationListResultPage) NextWithContext(ctx context.Context) (err error)

NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.

func (OperationListResultPage) NotDone Uses

func (page OperationListResultPage) NotDone() bool

NotDone returns true if the page enumeration should be started or is not yet complete.

func (OperationListResultPage) Response Uses

func (page OperationListResultPage) Response() OperationListResult

Response returns the raw server response from the last page request.

func (OperationListResultPage) Values Uses

func (page OperationListResultPage) Values() []Operation

Values returns the slice of values for the current page or nil if there are no values.

type OperationsClient Uses

type OperationsClient struct {
    BaseClient
}

OperationsClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewOperationsClient Uses

func NewOperationsClient(subscriptionID string) OperationsClient

NewOperationsClient creates an instance of the OperationsClient client.

func NewOperationsClientWithBaseURI Uses

func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient

NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.

func (OperationsClient) List Uses

func (client OperationsClient) List(ctx context.Context) (result OperationListResultPage, err error)

List lists all of the available Cosmos DB Resource Provider operations.

func (OperationsClient) ListComplete Uses

func (client OperationsClient) ListComplete(ctx context.Context) (result OperationListResultIterator, err error)

ListComplete enumerates all values, automatically crossing page boundaries as required.

func (OperationsClient) ListPreparer Uses

func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)

ListPreparer prepares the List request.

func (OperationsClient) ListResponder Uses

func (client OperationsClient) ListResponder(resp *http.Response) (result OperationListResult, err error)

ListResponder handles the response to the List request. The method always closes the http.Response Body.

func (OperationsClient) ListSender Uses

func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)

ListSender sends the List request. The method will close the http.Response Body if it receives an error.

type PartitionKeyRangeIDClient Uses

type PartitionKeyRangeIDClient struct {
    BaseClient
}

PartitionKeyRangeIDClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewPartitionKeyRangeIDClient Uses

func NewPartitionKeyRangeIDClient(subscriptionID string) PartitionKeyRangeIDClient

NewPartitionKeyRangeIDClient creates an instance of the PartitionKeyRangeIDClient client.

func NewPartitionKeyRangeIDClientWithBaseURI Uses

func NewPartitionKeyRangeIDClientWithBaseURI(baseURI string, subscriptionID string) PartitionKeyRangeIDClient

NewPartitionKeyRangeIDClientWithBaseURI creates an instance of the PartitionKeyRangeIDClient client.

func (PartitionKeyRangeIDClient) ListMetrics Uses

func (client PartitionKeyRangeIDClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string) (result PartitionMetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given partition key range id. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid. partitionKeyRangeID - partition Key Range Id for which to get data. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (PartitionKeyRangeIDClient) ListMetricsPreparer Uses

func (client PartitionKeyRangeIDClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (PartitionKeyRangeIDClient) ListMetricsResponder Uses

func (client PartitionKeyRangeIDClient) ListMetricsResponder(resp *http.Response) (result PartitionMetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (PartitionKeyRangeIDClient) ListMetricsSender Uses

func (client PartitionKeyRangeIDClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

type PartitionKeyRangeIDRegionClient Uses

type PartitionKeyRangeIDRegionClient struct {
    BaseClient
}

PartitionKeyRangeIDRegionClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewPartitionKeyRangeIDRegionClient Uses

func NewPartitionKeyRangeIDRegionClient(subscriptionID string) PartitionKeyRangeIDRegionClient

NewPartitionKeyRangeIDRegionClient creates an instance of the PartitionKeyRangeIDRegionClient client.

func NewPartitionKeyRangeIDRegionClientWithBaseURI Uses

func NewPartitionKeyRangeIDRegionClientWithBaseURI(baseURI string, subscriptionID string) PartitionKeyRangeIDRegionClient

NewPartitionKeyRangeIDRegionClientWithBaseURI creates an instance of the PartitionKeyRangeIDRegionClient client.

func (PartitionKeyRangeIDRegionClient) ListMetrics Uses

func (client PartitionKeyRangeIDRegionClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string) (result PartitionMetricListResult, err error)

ListMetrics retrieves the metrics determined by the given filter for the given partition key range id and region. Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. region - cosmos DB region, with spaces between words and each word capitalized. databaseRid - cosmos DB database rid. collectionRid - cosmos DB collection rid. partitionKeyRangeID - partition Key Range Id for which to get data. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (PartitionKeyRangeIDRegionClient) ListMetricsPreparer Uses

func (client PartitionKeyRangeIDRegionClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, region string, databaseRid string, collectionRid string, partitionKeyRangeID string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (PartitionKeyRangeIDRegionClient) ListMetricsResponder Uses

func (client PartitionKeyRangeIDRegionClient) ListMetricsResponder(resp *http.Response) (result PartitionMetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (PartitionKeyRangeIDRegionClient) ListMetricsSender Uses

func (client PartitionKeyRangeIDRegionClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

type PartitionKind Uses

type PartitionKind string

PartitionKind enumerates the values for partition kind.

const (
    // PartitionKindHash ...
    PartitionKindHash PartitionKind = "Hash"
    // PartitionKindRange ...
    PartitionKindRange PartitionKind = "Range"
)

func PossiblePartitionKindValues Uses

func PossiblePartitionKindValues() []PartitionKind

PossiblePartitionKindValues returns an array of possible values for the PartitionKind const type.

type PartitionMetric Uses

type PartitionMetric struct {
    // PartitionID - READ-ONLY; The partition id (GUID identifier) of the metric values.
    PartitionID *string `json:"partitionId,omitempty"`
    // PartitionKeyRangeID - READ-ONLY; The partition key range id (integer identifier) of the metric values.
    PartitionKeyRangeID *string `json:"partitionKeyRangeId,omitempty"`
    // StartTime - READ-ONLY; The start time for the metric (ISO-8601 format).
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; The end time for the metric (ISO-8601 format).
    EndTime *date.Time `json:"endTime,omitempty"`
    // TimeGrain - READ-ONLY; The time grain to be used to summarize the metric values.
    TimeGrain *string `json:"timeGrain,omitempty"`
    // Unit - The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
    Unit UnitType `json:"unit,omitempty"`
    // Name - READ-ONLY; The name information for the metric.
    Name *MetricName `json:"name,omitempty"`
    // MetricValues - READ-ONLY; The metric values for the specified time window and timestep.
    MetricValues *[]MetricValue `json:"metricValues,omitempty"`
}

PartitionMetric the metric values for a single partition.

type PartitionMetricListResult Uses

type PartitionMetricListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of partition-level metrics for the account.
    Value *[]PartitionMetric `json:"value,omitempty"`
}

PartitionMetricListResult the response to a list partition metrics request.

type PartitionUsage Uses

type PartitionUsage struct {
    // PartitionID - READ-ONLY; The partition id (GUID identifier) of the usages.
    PartitionID *string `json:"partitionId,omitempty"`
    // PartitionKeyRangeID - READ-ONLY; The partition key range id (integer identifier) of the usages.
    PartitionKeyRangeID *string `json:"partitionKeyRangeId,omitempty"`
    // Unit - The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
    Unit UnitType `json:"unit,omitempty"`
    // Name - READ-ONLY; The name information for the metric.
    Name *MetricName `json:"name,omitempty"`
    // QuotaPeriod - READ-ONLY; The quota period used to summarize the usage values.
    QuotaPeriod *string `json:"quotaPeriod,omitempty"`
    // Limit - READ-ONLY; Maximum value for this metric
    Limit *int64 `json:"limit,omitempty"`
    // CurrentValue - READ-ONLY; Current value for this metric
    CurrentValue *int64 `json:"currentValue,omitempty"`
}

PartitionUsage the partition level usage data for a usage request.

type PartitionUsagesResult Uses

type PartitionUsagesResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of partition-level usages for the database. A usage is a point in time metric
    Value *[]PartitionUsage `json:"value,omitempty"`
}

PartitionUsagesResult the response to a list partition level usage request.

type PercentileClient Uses

type PercentileClient struct {
    BaseClient
}

PercentileClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewPercentileClient Uses

func NewPercentileClient(subscriptionID string) PercentileClient

NewPercentileClient creates an instance of the PercentileClient client.

func NewPercentileClientWithBaseURI Uses

func NewPercentileClientWithBaseURI(baseURI string, subscriptionID string) PercentileClient

NewPercentileClientWithBaseURI creates an instance of the PercentileClient client.

func (PercentileClient) ListMetrics Uses

func (client PercentileClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, filter string) (result PercentileMetricListResult, err 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 Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (PercentileClient) ListMetricsPreparer Uses

func (client PercentileClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (PercentileClient) ListMetricsResponder Uses

func (client PercentileClient) ListMetricsResponder(resp *http.Response) (result PercentileMetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (PercentileClient) ListMetricsSender Uses

func (client PercentileClient) ListMetricsSender(req *http.Request) (*http.Response, error)

ListMetricsSender sends the ListMetrics request. The method will close the http.Response Body if it receives an error.

type PercentileMetric Uses

type PercentileMetric struct {
    // StartTime - READ-ONLY; The start time for the metric (ISO-8601 format).
    StartTime *date.Time `json:"startTime,omitempty"`
    // EndTime - READ-ONLY; The end time for the metric (ISO-8601 format).
    EndTime *date.Time `json:"endTime,omitempty"`
    // TimeGrain - READ-ONLY; The time grain to be used to summarize the metric values.
    TimeGrain *string `json:"timeGrain,omitempty"`
    // Unit - The unit of the metric. Possible values include: 'Count', 'Bytes', 'Seconds', 'Percent', 'CountPerSecond', 'BytesPerSecond', 'Milliseconds'
    Unit UnitType `json:"unit,omitempty"`
    // Name - READ-ONLY; The name information for the metric.
    Name *MetricName `json:"name,omitempty"`
    // MetricValues - READ-ONLY; The percentile metric values for the specified time window and timestep.
    MetricValues *[]PercentileMetricValue `json:"metricValues,omitempty"`
}

PercentileMetric percentile Metric data

type PercentileMetricListResult Uses

type PercentileMetricListResult struct {
    autorest.Response `json:"-"`
    // Value - READ-ONLY; The list of percentile metrics for the account.
    Value *[]PercentileMetric `json:"value,omitempty"`
}

PercentileMetricListResult the response to a list percentile metrics request.

type PercentileMetricValue Uses

type PercentileMetricValue struct {
    // P10 - READ-ONLY; The 10th percentile value for the metric.
    P10 *float64 `json:"P10,omitempty"`
    // P25 - READ-ONLY; The 25th percentile value for the metric.
    P25 *float64 `json:"P25,omitempty"`
    // P50 - READ-ONLY; The 50th percentile value for the metric.
    P50 *float64 `json:"P50,omitempty"`
    // P75 - READ-ONLY; The 75th percentile value for the metric.
    P75 *float64 `json:"P75,omitempty"`
    // P90 - READ-ONLY; The 90th percentile value for the metric.
    P90 *float64 `json:"P90,omitempty"`
    // P95 - READ-ONLY; The 95th percentile value for the metric.
    P95 *float64 `json:"P95,omitempty"`
    // P99 - READ-ONLY; The 99th percentile value for the metric.
    P99 *float64 `json:"P99,omitempty"`
    // Count - READ-ONLY; The number of values for the metric.
    Count *float64 `json:"_count,omitempty"`
    // Average - READ-ONLY; The average value of the metric.
    Average *float64 `json:"average,omitempty"`
    // Maximum - READ-ONLY; The max value of the metric.
    Maximum *float64 `json:"maximum,omitempty"`
    // Minimum - READ-ONLY; The min value of the metric.
    Minimum *float64 `json:"minimum,omitempty"`
    // Timestamp - READ-ONLY; The metric timestamp (ISO-8601 format).
    Timestamp *date.Time `json:"timestamp,omitempty"`
    // Total - READ-ONLY; The total value of the metric.
    Total *float64 `json:"total,omitempty"`
}

PercentileMetricValue represents percentile metrics values.

type PercentileSourceTargetClient Uses

type PercentileSourceTargetClient struct {
    BaseClient
}

PercentileSourceTargetClient is the azure Cosmos DB Database Service Resource Provider REST API

func NewPercentileSourceTargetClient Uses

func NewPercentileSourceTargetClient(subscriptionID string) PercentileSourceTargetClient

NewPercentileSourceTargetClient creates an instance of the PercentileSourceTargetClient client.

func NewPercentileSourceTargetClientWithBaseURI Uses

func NewPercentileSourceTargetClientWithBaseURI(baseURI string, subscriptionID string) PercentileSourceTargetClient

NewPercentileSourceTargetClientWithBaseURI creates an instance of the PercentileSourceTargetClient client.

func (PercentileSourceTargetClient) ListMetrics Uses

func (client PercentileSourceTargetClient) ListMetrics(ctx context.Context, resourceGroupName string, accountName string, sourceRegion string, targetRegion string, filter string) (result PercentileMetricListResult, err 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 Parameters: resourceGroupName - name of an Azure resource group. accountName - cosmos DB database account name. sourceRegion - source region from which data is written. Cosmos DB region, with spaces between words and each word capitalized. targetRegion - target region to which data is written. Cosmos DB region, with spaces between words and each word capitalized. filter - an OData filter expression that describes a subset of metrics to return. The parameters that can be filtered are name.value (name of the metric, can have an or of multiple names), startTime, endTime, and timeGrain. The supported operator is eq.

func (PercentileSourceTargetClient) ListMetricsPreparer Uses

func (client PercentileSourceTargetClient) ListMetricsPreparer(ctx context.Context, resourceGroupName string, accountName string, sourceRegion string, targetRegion string, filter string) (*http.Request, error)

ListMetricsPreparer prepares the ListMetrics request.

func (PercentileSourceTargetClient) ListMetricsResponder Uses

func (client PercentileSourceTargetClient) ListMetricsResponder(resp *http.Response) (result PercentileMetricListResult, err error)

ListMetricsResponder handles the response to the ListMetrics request. The method always closes the http.Response Body.

func (PercentileSourceTargetClient)