import type * as coreClient from "@azure/core-client"; export type BackupPolicyUnion = BackupPolicy | PeriodicModeBackupPolicy | ContinuousModeBackupPolicy; export type ServiceResourcePropertiesUnion = ServiceResourceProperties | DataTransferServiceResourceProperties | SqlDedicatedGatewayServiceResourceProperties | GraphAPIComputeServiceResourceProperties | MaterializedViewsBuilderServiceResourceProperties; export type ServiceResourceCreateUpdatePropertiesUnion = ServiceResourceCreateUpdateProperties | DataTransferServiceResourceCreateUpdateProperties | SqlDedicatedGatewayServiceResourceCreateUpdateProperties | GraphAPIComputeServiceResourceCreateUpdateProperties | MaterializedViewsBuilderServiceResourceCreateUpdateProperties; /** Identity for the resource. */ export interface ManagedServiceIdentity { /** * The principal id of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly principalId?: string; /** * The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly tenantId?: string; /** The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the service. */ type?: ResourceIdentityType; /** The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'. */ userAssignedIdentities?: { [propertyName: string]: Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties; }; } export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties { /** * The principal id of user assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly principalId?: string; /** * The client id of user assigned identity. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly clientId?: string; } /** IpAddressOrRange object */ export interface IpAddressOrRange { /** A single IPv4 address or a single IPv4 address range in CIDR format. Provided IPs must be well-formatted and cannot be contained in one of the following ranges: 10.0.0.0/8, 100.64.0.0/10, 172.16.0.0/12, 192.168.0.0/16, since these are not enforceable by the IP address filter. Example of valid inputs: “23.40.210.245” or “23.40.210.0/8”. */ ipAddressOrRange?: string; } /** The consistency policy for the Cosmos DB database account. */ export interface ConsistencyPolicy { /** The default consistency level and configuration settings of the Cosmos DB account. */ defaultConsistencyLevel: DefaultConsistencyLevel; /** 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?: number; /** 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?: number; } /** Cosmos DB capability object */ export interface Capability { /** Name of the Cosmos DB capability. For example, "name": "EnableCassandra". Current values also include "EnableTable" and "EnableGremlin". */ name?: string; } /** A region in which the Azure Cosmos DB database account is deployed. */ export interface Location { /** * The unique identifier of the region within the database account. Example: <accountName>-<locationName>. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** The name of the region. */ locationName?: string; /** * The connection endpoint for the specific region. Example: https://<accountName>-<locationName>.documents.azure.com:443/ * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly documentEndpoint?: string; /** * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; /** 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?: number; /** Flag to indicate whether or not this region is an AvailabilityZone region */ isZoneRedundant?: boolean; } /** The failover policy for a given region of a database account. */ export interface FailoverPolicy { /** * The unique identifier of the region in which the database account replicates to. Example: <accountName>-<locationName>. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** The name of the region in which the database account exists. */ locationName?: string; /** 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?: number; } /** Virtual Network ACL Rule object */ export interface VirtualNetworkRule { /** Resource ID of a subnet, for example: /subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}. */ id?: string; /** Create firewall rule before the virtual network has vnet service endpoint enabled. */ ignoreMissingVNetServiceEndpoint?: boolean; } /** Private endpoint which the connection belongs to. */ export interface PrivateEndpointProperty { /** Resource id of the private endpoint. */ id?: string; } /** Connection State of the Private Endpoint Connection. */ export interface PrivateLinkServiceConnectionStateProperty { /** The private link service connection status. */ status?: string; /** The private link service connection description. */ description?: string; /** * Any action that is required beyond basic workflow (approve/ reject/ disconnect) * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly actionsRequired?: string; } /** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface Resource { /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; } export interface ApiProperties { /** Describes the version of the MongoDB account. */ serverVersion?: ServerVersion; } /** Analytical storage specific properties. */ export interface AnalyticalStorageConfiguration { /** Describes the types of schema for analytical storage. */ schemaType?: AnalyticalStorageSchemaType; } /** Specific Databases to restore. */ export interface DatabaseRestoreResource { /** The name of the database available for restore. */ databaseName?: string; /** The names of the collections available for restore. */ collectionNames?: string[]; } /** Specific Gremlin Databases to restore. */ export interface GremlinDatabaseRestoreResource { /** The name of the gremlin database available for restore. */ databaseName?: string; /** The names of the graphs available for restore. */ graphNames?: string[]; } /** Parameters to indicate the information about the restore. */ export interface RestoreParametersBase { /** The id of the restorable database account from which the restore has to be initiated. For example: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}/restorableDatabaseAccounts/{restorableDatabaseAccountName} */ restoreSource?: string; /** Time to which the account has to be restored (ISO-8601 format). */ restoreTimestampInUtc?: Date; /** Specifies whether the restored account will have Time-To-Live disabled upon the successful restore. */ restoreWithTtlDisabled?: boolean; } /** The object representing the policy for taking backups on an account. */ export interface BackupPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Periodic" | "Continuous"; /** The object representing the state of the migration between the backup policies. */ migrationState?: BackupPolicyMigrationState; } /** The object representing the state of the migration between the backup policies. */ export interface BackupPolicyMigrationState { /** Describes the status of migration between backup policy types. */ status?: BackupPolicyMigrationStatus; /** Describes the target backup policy type of the backup policy migration. */ targetType?: BackupPolicyType; /** Time at which the backup policy migration started (ISO-8601 format). */ startTime?: Date; } /** The CORS policy for the Cosmos DB database account. */ export interface CorsPolicy { /** The origin domains that are permitted to make a request against the service via CORS. */ allowedOrigins: string; /** The methods (HTTP request verbs) that the origin domain may use for a CORS request. */ allowedMethods?: string; /** The request headers that the origin domain may specify on the CORS request. */ allowedHeaders?: string; /** The response headers that may be sent in the response to the CORS request and exposed by the browser to the request issuer. */ exposedHeaders?: string; /** The maximum amount time that a browser should cache the preflight OPTIONS request. */ maxAgeInSeconds?: number; } /** The object that represents all properties related to capacity enforcement on an account. */ export interface Capacity { /** The total throughput limit imposed on the account. A totalThroughputLimit of 2000 imposes a strict limit of max throughput that can be provisioned on that account to be 2000. A totalThroughputLimit of -1 indicates no limits on provisioning of throughput. */ totalThroughputLimit?: number; } /** The metadata related to each access key for the given Cosmos DB database account. */ export interface DatabaseAccountKeysMetadata { /** * The metadata related to the Primary Read-Write Key for the given Cosmos DB database account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly primaryMasterKey?: AccountKeyMetadata; /** * The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly secondaryMasterKey?: AccountKeyMetadata; /** * The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly primaryReadonlyMasterKey?: AccountKeyMetadata; /** * The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly secondaryReadonlyMasterKey?: AccountKeyMetadata; } /** The metadata related to an access key for a given database account. */ export interface AccountKeyMetadata { /** * Generation time in UTC of the key in ISO-8601 format. If the value is missing from the object, it means that the last key regeneration was triggered before 2022-06-18. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly generationTime?: Date; } /** Metadata pertaining to creation and last modification of the resource. */ export interface SystemData { /** The identity that created the resource. */ createdBy?: string; /** The type of identity that created the resource. */ createdByType?: CreatedByType; /** The timestamp of resource creation (UTC). */ createdAt?: Date; /** The identity that last modified the resource. */ lastModifiedBy?: string; /** The type of identity that last modified the resource. */ lastModifiedByType?: CreatedByType; /** The timestamp of resource last modification (UTC) */ lastModifiedAt?: Date; } /** The core properties of ARM resources. */ export interface ARMResourceProperties { /** * The unique resource identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The location of the resource group to which the resource belongs. */ location?: string; /** Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". */ tags?: { [propertyName: string]: string; }; } /** Parameters for patching Azure Cosmos DB database account properties. */ export interface DatabaseAccountUpdateParameters { /** Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". */ tags?: { [propertyName: string]: string; }; /** The location of the resource group to which the resource belongs. */ location?: string; /** Identity for the resource. */ identity?: ManagedServiceIdentity; /** The consistency policy for the Cosmos DB account. */ consistencyPolicy?: ConsistencyPolicy; /** An array that contains the georeplication locations enabled for the Cosmos DB account. */ locations?: Location[]; /** List of IpRules. */ ipRules?: IpAddressOrRange[]; /** Flag to indicate whether to enable/disable Virtual Network ACL rules. */ isVirtualNetworkFilterEnabled?: boolean; /** 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?: boolean; /** List of Cosmos DB capabilities for the account */ capabilities?: Capability[]; /** List of Virtual Network ACL rules configured for the Cosmos DB account. */ virtualNetworkRules?: VirtualNetworkRule[]; /** Enables the account to write in multiple locations */ enableMultipleWriteLocations?: boolean; /** Enables the cassandra connector on the Cosmos DB C* account */ enableCassandraConnector?: boolean; /** The cassandra connector offer type for the Cosmos DB database C* account. */ connectorOffer?: ConnectorOffer; /** Disable write operations on metadata resources (databases, containers, throughput) via account keys */ disableKeyBasedMetadataWriteAccess?: boolean; /** The URI of the key vault */ keyVaultKeyUri?: string; /** The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. */ defaultIdentity?: string; /** Whether requests from Public Network are allowed */ publicNetworkAccess?: PublicNetworkAccess; /** Flag to indicate whether Free Tier is enabled. */ enableFreeTier?: boolean; /** API specific properties. Currently, supported only for MongoDB API. */ apiProperties?: ApiProperties; /** Flag to indicate whether to enable storage analytics. */ enableAnalyticalStorage?: boolean; /** Analytical storage specific properties. */ analyticalStorageConfiguration?: AnalyticalStorageConfiguration; /** The object representing the policy for taking backups on an account. */ backupPolicy?: BackupPolicyUnion; /** The CORS policy for the Cosmos DB database account. */ cors?: CorsPolicy[]; /** Indicates what services are allowed to bypass firewall checks. */ networkAclBypass?: NetworkAclBypass; /** An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. */ networkAclBypassResourceIds?: string[]; /** Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. */ disableLocalAuth?: boolean; /** The object that represents all properties related to capacity enforcement on an account. */ capacity?: Capacity; /** * This property is ignored during the update operation, as the metadata is read-only. The object represents the metadata for the Account Keys of the Cosmos DB account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */ enableBurstCapacity?: boolean; /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */ customerManagedKeyStatus?: string; /** Flag to indicate enabling/disabling of PerRegionPerPartitionAutoscale feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account */ enablePriorityBasedExecution?: boolean; /** Enum to indicate default Priority Level of request for Priority Based Execution. */ defaultPriorityLevel?: DefaultPriorityLevel; } /** The list of new failover policies for the failover priority change. */ export interface FailoverPolicies { /** List of failover policies. */ failoverPolicies: FailoverPolicy[]; } /** The List operation response, that contains the database accounts and their properties. */ export interface DatabaseAccountsListResult { /** * List of database account and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: DatabaseAccountGetResults[]; } /** The read-only access keys for the given database account. */ export interface DatabaseAccountListReadOnlyKeysResult { /** * Base 64 encoded value of the primary read-only key. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly primaryReadonlyMasterKey?: string; /** * Base 64 encoded value of the secondary read-only key. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly secondaryReadonlyMasterKey?: string; } /** The connection strings for the given database account. */ export interface DatabaseAccountListConnectionStringsResult { /** An array that contains the connection strings for the Cosmos DB account. */ connectionStrings?: DatabaseAccountConnectionString[]; } /** Connection string for the Cosmos DB account */ export interface DatabaseAccountConnectionString { /** * Value of the connection string * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly connectionString?: string; /** * Description of the connection string * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly description?: string; /** * Kind of the connection string key * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly keyKind?: Kind; /** * Type of the connection string * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: Type; } /** Cosmos DB region to online or offline. */ export interface RegionForOnlineOffline { /** Cosmos DB region, with spaces between words and each word capitalized. */ region: string; } /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */ export interface ErrorResponse { /** The error object. */ error?: ErrorDetail; } /** The error detail. */ export interface ErrorDetail { /** * The error code. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly code?: string; /** * The error message. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly message?: string; /** * The error target. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly target?: string; /** * The error details. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly details?: ErrorDetail[]; /** * The error additional info. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly additionalInfo?: ErrorAdditionalInfo[]; } /** The resource management error additional info. */ export interface ErrorAdditionalInfo { /** * The additional info type. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** * The additional info. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly info?: Record; } /** Parameters to regenerate the keys within the database account. */ export interface DatabaseAccountRegenerateKeyParameters { /** The access key to regenerate. */ keyKind: KeyKind; } /** 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. */ export interface OperationListResult { /** List of operations supported by the Resource Provider. */ value?: Operation[]; /** URL to get the next set of operation list results if there are any. */ nextLink?: string; } /** REST API operation */ export interface Operation { /** Operation name: {provider}/{resource}/{operation} */ name?: string; /** The object that represents the operation. */ display?: OperationDisplay; } /** The object that represents the operation. */ export interface OperationDisplay { /** Service provider: Microsoft.ResourceProvider */ provider?: string; /** Resource on which the operation is performed: Profile, endpoint, etc. */ resource?: string; /** Operation type: Read, write, delete, etc. */ operation?: string; /** Description of operation */ description?: string; } /** The response to a list metrics request. */ export interface MetricListResult { /** * The list of metrics for the account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Metric[]; } /** Metric data */ export interface Metric { /** * The start time for the metric (ISO-8601 format). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly startTime?: Date; /** * The end time for the metric (ISO-8601 format). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly endTime?: Date; /** * The time grain to be used to summarize the metric values. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeGrain?: string; /** * The unit of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly unit?: UnitType; /** * The name information for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: MetricName; /** * The metric values for the specified time window and timestep. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly metricValues?: MetricValue[]; } /** A metric name. */ export interface MetricName { /** * The name of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: string; /** * The friendly name of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly localizedValue?: string; } /** Represents metrics values. */ export interface MetricValue { /** * The number of values for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly count?: number; /** * The average value of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly average?: number; /** * The max value of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly maximum?: number; /** * The min value of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly minimum?: number; /** * The metric timestamp (ISO-8601 format). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timestamp?: Date; /** * The total value of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly total?: number; } /** The response to a list percentile metrics request. */ export interface PercentileMetricListResult { /** * The list of percentile metrics for the account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: PercentileMetric[]; } /** Percentile Metric data */ export interface PercentileMetric { /** * The start time for the metric (ISO-8601 format). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly startTime?: Date; /** * The end time for the metric (ISO-8601 format). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly endTime?: Date; /** * The time grain to be used to summarize the metric values. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeGrain?: string; /** * The unit of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly unit?: UnitType; /** * The name information for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: MetricName; /** * The percentile metric values for the specified time window and timestep. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly metricValues?: PercentileMetricValue[]; } /** The response to a list partition metrics request. */ export interface PartitionMetricListResult { /** * The list of partition-level metrics for the account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: PartitionMetric[]; } /** The response to a list usage request. */ export interface UsagesResult { /** * The list of usages for the database. A usage is a point in time metric * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: Usage[]; } /** The usage data for a usage request. */ export interface Usage { /** * The unit of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly unit?: UnitType; /** * The name information for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: MetricName; /** * The quota period used to summarize the usage values. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly quotaPeriod?: string; /** * Maximum value for this metric * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly limit?: number; /** * Current value for this metric * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly currentValue?: number; } /** The response to a list partition level usage request. */ export interface PartitionUsagesResult { /** * The list of partition-level usages for the database. A usage is a point in time metric * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: PartitionUsage[]; } /** The response to a list metric definitions request. */ export interface MetricDefinitionsListResult { /** * The list of metric definitions for the account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: MetricDefinition[]; } /** The definition of a metric. */ export interface MetricDefinition { /** * The list of metric availabilities for the account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly metricAvailabilities?: MetricAvailability[]; /** * The primary aggregation type of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly primaryAggregationType?: PrimaryAggregationType; /** * The unit of the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly unit?: UnitType; /** * The resource uri of the database. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly resourceUri?: string; /** * The name information for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: MetricName; } /** The availability of the metric. */ export interface MetricAvailability { /** * The time grain to be used to summarize the metric values. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly timeGrain?: string; /** * The retention for the metric values. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly retention?: string; } /** The List operation response, that contains the SQL databases and their properties. */ export interface SqlDatabaseListResult { /** * List of SQL databases and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: SqlDatabaseGetResults[]; } /** Cosmos DB SQL database resource object */ export interface SqlDatabaseResource { /** Name of the Cosmos DB SQL database */ id: string; /** Parameters to indicate the information about the restore */ restoreParameters?: ResourceRestoreParameters; /** Enum to indicate the mode of resource creation. */ createMode?: CreateMode; } /** The system generated resource properties associated with SQL databases, SQL containers, Gremlin databases and Gremlin graphs. */ export interface ExtendedResourceProperties { /** * A system generated property. A unique identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rid?: string; /** * A system generated property that denotes the last updated timestamp of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ts?: number; /** * A system generated property representing the resource etag required for optimistic concurrency control. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly etag?: string; } /** Cosmos DB options resource object */ export interface OptionsResource { /** Value of the Cosmos DB resource throughput or autoscaleSettings. Use the ThroughputSetting resource when retrieving offer details. */ throughput?: number; /** Specifies the Autoscale settings. */ autoscaleSettings?: AutoscaleSettings; } export interface AutoscaleSettings { /** Represents maximum throughput, the resource can scale up to. */ maxThroughput?: number; } /** CreateUpdateOptions are a list of key-value pairs that describe the resource. Supported keys are "If-Match", "If-None-Match", "Session-Token" and "Throughput" */ export interface CreateUpdateOptions { /** Request Units per second. For example, "throughput": 10000. */ throughput?: number; /** Specifies the Autoscale settings. Note: Either throughput or autoscaleSettings is required, but not both. */ autoscaleSettings?: AutoscaleSettings; } /** Cosmos DB resource throughput object. Either throughput is required or autoscaleSettings is required, but not both. */ export interface ThroughputSettingsResource { /** Value of the Cosmos DB resource throughput. Either throughput is required or autoscaleSettings is required, but not both. */ throughput?: number; /** Cosmos DB resource for autoscale settings. Either throughput is required or autoscaleSettings is required, but not both. */ autoscaleSettings?: AutoscaleSettingsResource; /** * The minimum throughput of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly minimumThroughput?: string; /** * The throughput replace is pending * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly offerReplacePending?: string; /** * The offer throughput value to instantly scale up without triggering splits * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instantMaximumThroughput?: string; /** * The maximum throughput value or the maximum maxThroughput value (for autoscale) that can be specified * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly softAllowedMaximumThroughput?: string; } /** Cosmos DB provisioned throughput settings object */ export interface AutoscaleSettingsResource { /** Represents maximum throughput container can scale up to. */ maxThroughput: number; /** Cosmos DB resource auto-upgrade policy */ autoUpgradePolicy?: AutoUpgradePolicyResource; /** * Represents target maximum throughput container can scale up to once offer is no longer in pending state. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly targetMaxThroughput?: number; } /** Cosmos DB resource auto-upgrade policy */ export interface AutoUpgradePolicyResource { /** Represents throughput policy which service must adhere to for auto-upgrade */ throughputPolicy?: ThroughputPolicyResource; } /** Cosmos DB resource throughput policy */ export interface ThroughputPolicyResource { /** Determines whether the ThroughputPolicy is active or not */ isEnabled?: boolean; /** Represents the percentage by which throughput can increase every time throughput policy kicks in. */ incrementPercent?: number; } /** The List operation response, that contains the containers and their properties. */ export interface SqlContainerListResult { /** * List of containers and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: SqlContainerGetResults[]; } /** Cosmos DB SQL container resource object */ export interface SqlContainerResource { /** Name of the Cosmos DB SQL container */ id: string; /** The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the container */ indexingPolicy?: IndexingPolicy; /** The configuration of the partition key to be used for partitioning data into multiple partitions */ partitionKey?: ContainerPartitionKey; /** Default time to live */ defaultTtl?: number; /** The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ uniqueKeyPolicy?: UniqueKeyPolicy; /** The conflict resolution policy for the container. */ conflictResolutionPolicy?: ConflictResolutionPolicy; /** The client encryption policy for the container. */ clientEncryptionPolicy?: ClientEncryptionPolicy; /** Analytical TTL. */ analyticalStorageTtl?: number; /** Parameters to indicate the information about the restore */ restoreParameters?: ResourceRestoreParameters; /** Enum to indicate the mode of resource creation. */ createMode?: CreateMode; /** List of computed properties */ computedProperties?: ComputedProperty[]; /** The vector embedding policy for the container. */ vectorEmbeddingPolicy?: VectorEmbeddingPolicy; /** The FullText policy for the container. */ fullTextPolicy?: FullTextPolicy; } /** Cosmos DB indexing policy */ export interface IndexingPolicy { /** Indicates if the indexing policy is automatic */ automatic?: boolean; /** Indicates the indexing mode. */ indexingMode?: IndexingMode; /** List of paths to include in the indexing */ includedPaths?: IncludedPath[]; /** List of paths to exclude from indexing */ excludedPaths?: ExcludedPath[]; /** List of composite path list */ compositeIndexes?: CompositePath[][]; /** List of spatial specifics */ spatialIndexes?: SpatialSpec[]; /** List of paths to include in the vector indexing */ vectorIndexes?: VectorIndex[]; /** List of paths to include in the full text indexing */ fullTextIndexes?: FullTextIndexPath[]; } /** The paths that are included in indexing */ export interface IncludedPath { /** The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ path?: string; /** List of indexes for this path */ indexes?: Indexes[]; } /** The indexes for the path. */ export interface Indexes { /** The datatype for which the indexing behavior is applied to. */ dataType?: DataType; /** The precision of the index. -1 is maximum precision. */ precision?: number; /** Indicates the type of index. */ kind?: IndexKind; } export interface ExcludedPath { /** The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ path?: string; } export interface CompositePath { /** The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ path?: string; /** Sort order for composite paths. */ order?: CompositePathSortOrder; } export interface SpatialSpec { /** The path for which the indexing behavior applies to. Index paths typically start with root and end with wildcard (/path/*) */ path?: string; /** List of path's spatial type */ types?: SpatialType[]; } export interface VectorIndex { /** The path to the vector field in the document. */ path: string; /** The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported. */ type: VectorIndexType; /** The number of bytes used in product quantization of the vectors. A larger value may result in better recall for vector searches at the expense of latency. This is only applicable for the quantizedFlat and diskANN vector index types. */ quantizationByteSize?: number; /** This is the size of the candidate list of approximate neighbors stored while building the DiskANN index as part of the optimization processes. Large values may improve recall at the expense of latency. This is only applicable for the diskANN vector index type. */ indexingSearchListSize?: number; /** Array of shard keys for the vector index. This is only applicable for the quantizedFlat and diskANN vector index types. */ vectorIndexShardKey?: string[]; } /** Represents the full text index path. */ export interface FullTextIndexPath { /** The path to the full text field in the document. */ path: string; } /** The configuration of the partition key to be used for partitioning data into multiple partitions */ export interface ContainerPartitionKey { /** List of paths using which data within the container can be partitioned */ paths?: string[]; /** Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create */ kind?: PartitionKind; /** Indicates the version of the partition key definition */ version?: number; /** * Indicates if the container is using a system generated partition key * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemKey?: boolean; } /** The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ export interface UniqueKeyPolicy { /** List of unique keys on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ uniqueKeys?: UniqueKey[]; } /** The unique key on that enforces uniqueness constraint on documents in the collection in the Azure Cosmos DB service. */ export interface UniqueKey { /** List of paths must be unique for each document in the Azure Cosmos DB service */ paths?: string[]; } /** The conflict resolution policy for the container. */ export interface ConflictResolutionPolicy { /** Indicates the conflict resolution mode. */ mode?: ConflictResolutionMode; /** The conflict resolution path in the case of LastWriterWins mode. */ conflictResolutionPath?: string; /** The procedure to resolve conflicts in the case of custom mode. */ conflictResolutionProcedure?: string; } /** Cosmos DB client encryption policy. */ export interface ClientEncryptionPolicy { /** Paths of the item that need encryption along with path-specific settings. */ includedPaths: ClientEncryptionIncludedPath[]; /** Version of the client encryption policy definition. Supported versions are 1 and 2. Version 2 supports id and partition key path encryption. */ policyFormatVersion: number; } /** . */ export interface ClientEncryptionIncludedPath { /** Path that needs to be encrypted. */ path: string; /** The identifier of the Client Encryption Key to be used to encrypt the path. */ clientEncryptionKeyId: string; /** The type of encryption to be performed. Eg - Deterministic, Randomized. */ encryptionType: string; /** The encryption algorithm which will be used. Eg - AEAD_AES_256_CBC_HMAC_SHA256. */ encryptionAlgorithm: string; } /** The definition of a computed property */ export interface ComputedProperty { /** The name of a computed property, for example - "cp_lowerName" */ name?: string; /** The query that evaluates the value for computed property, for example - "SELECT VALUE LOWER(c.name) FROM c" */ query?: string; } /** Cosmos DB Vector Embedding Policy */ export interface VectorEmbeddingPolicy { /** List of vector embeddings */ vectorEmbeddings?: VectorEmbedding[]; } /** Represents a vector embedding. A vector embedding is used to define a vector field in the documents. */ export interface VectorEmbedding { /** The path to the vector field in the document. */ path: string; /** Indicates the data type of vector. */ dataType: VectorDataType; /** The distance function to use for distance calculation in between vectors. */ distanceFunction: DistanceFunction; /** The number of dimensions in the vector. */ dimensions: number; } /** Cosmos DB FullText Policy */ export interface FullTextPolicy { /** The default language for a full text paths. */ defaultLanguage?: string; /** List of FullText Paths */ fullTextPaths?: FullTextPath[]; } /** Represents the full text path specification. */ export interface FullTextPath { /** The path to the full text field in the document. */ path: string; /** The language of the full text field in the document. */ language?: string; } /** The List operation response, that contains the client encryption keys and their properties. */ export interface ClientEncryptionKeysListResult { /** * List of client encryption keys and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: ClientEncryptionKeyGetResults[]; } /** Cosmos DB client encryption key resource object. */ export interface ClientEncryptionKeyResource { /** Name of the ClientEncryptionKey */ id?: string; /** Encryption algorithm that will be used along with this client encryption key to encrypt/decrypt data. */ encryptionAlgorithm?: string; /** Wrapped (encrypted) form of the key represented as a byte array. */ wrappedDataEncryptionKey?: Uint8Array; /** Metadata for the wrapping provider that can be used to unwrap the wrapped client encryption key. */ keyWrapMetadata?: KeyWrapMetadata; } /** Represents key wrap metadata that a key wrapping provider can use to wrap/unwrap a client encryption key. */ export interface KeyWrapMetadata { /** The name of associated KeyEncryptionKey (aka CustomerManagedKey). */ name?: string; /** ProviderName of KeyStoreProvider. */ type?: string; /** Reference / link to the KeyEncryptionKey. */ value?: string; /** Algorithm used in wrapping and unwrapping of the data encryption key. */ algorithm?: string; } /** The resource model definition for a ARM proxy resource. It will have everything other than required location and tags */ export interface ARMProxyResource { /** * The unique resource identifier of the database account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the database account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; } /** Parameters to create and update ClientEncryptionKey. */ export interface ClientEncryptionKeyCreateUpdateParameters { /** The standard JSON format of a ClientEncryptionKey */ resource: ClientEncryptionKeyResource; } /** The List operation response, that contains the storedProcedures and their properties. */ export interface SqlStoredProcedureListResult { /** * List of storedProcedures and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: SqlStoredProcedureGetResults[]; } /** Cosmos DB SQL storedProcedure resource object */ export interface SqlStoredProcedureResource { /** Name of the Cosmos DB SQL storedProcedure */ id: string; /** Body of the Stored Procedure */ body?: string; } /** The List operation response, that contains the userDefinedFunctions and their properties. */ export interface SqlUserDefinedFunctionListResult { /** * List of userDefinedFunctions and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: SqlUserDefinedFunctionGetResults[]; } /** Cosmos DB SQL userDefinedFunction resource object */ export interface SqlUserDefinedFunctionResource { /** Name of the Cosmos DB SQL userDefinedFunction */ id: string; /** Body of the User Defined Function */ body?: string; } /** The List operation response, that contains the triggers and their properties. */ export interface SqlTriggerListResult { /** * List of triggers and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: SqlTriggerGetResults[]; } /** Cosmos DB SQL trigger resource object */ export interface SqlTriggerResource { /** Name of the Cosmos DB SQL trigger */ id: string; /** Body of the Trigger */ body?: string; /** Type of the Trigger */ triggerType?: TriggerType; /** The operation the trigger is associated with */ triggerOperation?: TriggerOperation; } /** The List operation response, that contains the MongoDB databases and their properties. */ export interface MongoDBDatabaseListResult { /** * List of MongoDB databases and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: MongoDBDatabaseGetResults[]; } /** Cosmos DB MongoDB database resource object */ export interface MongoDBDatabaseResource { /** Name of the Cosmos DB MongoDB database */ id: string; /** Parameters to indicate the information about the restore */ restoreParameters?: ResourceRestoreParameters; /** Enum to indicate the mode of resource creation. */ createMode?: CreateMode; } /** The List operation response, that contains the MongoDB collections and their properties. */ export interface MongoDBCollectionListResult { /** * List of MongoDB collections and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: MongoDBCollectionGetResults[]; } /** Cosmos DB MongoDB collection resource object */ export interface MongoDBCollectionResource { /** Name of the Cosmos DB MongoDB collection */ id: string; /** A key-value pair of shard keys to be applied for the request. */ shardKey?: { [propertyName: string]: string; }; /** List of index keys */ indexes?: MongoIndex[]; /** Analytical TTL. */ analyticalStorageTtl?: number; /** Parameters to indicate the information about the restore */ restoreParameters?: ResourceRestoreParameters; /** Enum to indicate the mode of resource creation. */ createMode?: CreateMode; } /** Cosmos DB MongoDB collection index key */ export interface MongoIndex { /** Cosmos DB MongoDB collection index keys */ key?: MongoIndexKeys; /** Cosmos DB MongoDB collection index key options */ options?: MongoIndexOptions; } /** Cosmos DB MongoDB collection resource object */ export interface MongoIndexKeys { /** List of keys for each MongoDB collection in the Azure Cosmos DB service */ keys?: string[]; } /** Cosmos DB MongoDB collection index options */ export interface MongoIndexOptions { /** Expire after seconds */ expireAfterSeconds?: number; /** Is unique or not */ unique?: boolean; } /** The List operation response, that contains the Table and their properties. */ export interface TableListResult { /** * List of Table and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: TableGetResults[]; } /** Cosmos DB table resource object */ export interface TableResource { /** Name of the Cosmos DB table */ id: string; /** Parameters to indicate the information about the restore */ restoreParameters?: ResourceRestoreParameters; /** Enum to indicate the mode of resource creation. */ createMode?: CreateMode; } /** The List operation response, that contains the Cassandra keyspaces and their properties. */ export interface CassandraKeyspaceListResult { /** * List of Cassandra keyspaces and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: CassandraKeyspaceGetResults[]; } /** Cosmos DB Cassandra keyspace resource object */ export interface CassandraKeyspaceResource { /** Name of the Cosmos DB Cassandra keyspace */ id: string; } /** The List operation response, that contains the Cassandra tables and their properties. */ export interface CassandraTableListResult { /** * List of Cassandra tables and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: CassandraTableGetResults[]; } /** Cosmos DB Cassandra table resource object */ export interface CassandraTableResource { /** Name of the Cosmos DB Cassandra table */ id: string; /** Time to live of the Cosmos DB Cassandra table */ defaultTtl?: number; /** Schema of the Cosmos DB Cassandra table */ schema?: CassandraSchema; /** Analytical TTL. */ analyticalStorageTtl?: number; } /** Cosmos DB Cassandra table schema */ export interface CassandraSchema { /** List of Cassandra table columns. */ columns?: Column[]; /** List of partition key. */ partitionKeys?: CassandraPartitionKey[]; /** List of cluster key. */ clusterKeys?: ClusterKey[]; } /** Cosmos DB Cassandra table column */ export interface Column { /** Name of the Cosmos DB Cassandra table column */ name?: string; /** Type of the Cosmos DB Cassandra table column */ type?: string; } /** Cosmos DB Cassandra table partition key */ export interface CassandraPartitionKey { /** Name of the Cosmos DB Cassandra table partition key */ name?: string; } /** Cosmos DB Cassandra table cluster key */ export interface ClusterKey { /** Name of the Cosmos DB Cassandra table cluster key */ name?: string; /** Order of the Cosmos DB Cassandra table cluster key, only support "Asc" and "Desc" */ orderBy?: string; } /** The List operation response, that contains the Gremlin databases and their properties. */ export interface GremlinDatabaseListResult { /** * List of Gremlin databases and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: GremlinDatabaseGetResults[]; } /** Cosmos DB Gremlin database resource object */ export interface GremlinDatabaseResource { /** Name of the Cosmos DB Gremlin database */ id: string; /** Parameters to indicate the information about the restore */ restoreParameters?: ResourceRestoreParameters; /** Enum to indicate the mode of resource creation. */ createMode?: CreateMode; } /** The List operation response, that contains the graphs and their properties. */ export interface GremlinGraphListResult { /** * List of graphs and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: GremlinGraphGetResults[]; } /** Cosmos DB Gremlin graph resource object */ export interface GremlinGraphResource { /** Name of the Cosmos DB Gremlin graph */ id: string; /** The configuration of the indexing policy. By default, the indexing is automatic for all document paths within the graph */ indexingPolicy?: IndexingPolicy; /** The configuration of the partition key to be used for partitioning data into multiple partitions */ partitionKey?: ContainerPartitionKey; /** Default time to live */ defaultTtl?: number; /** The unique key policy configuration for specifying uniqueness constraints on documents in the collection in the Azure Cosmos DB service. */ uniqueKeyPolicy?: UniqueKeyPolicy; /** The conflict resolution policy for the graph. */ conflictResolutionPolicy?: ConflictResolutionPolicy; /** Analytical TTL. */ analyticalStorageTtl?: number; /** Parameters to indicate the information about the restore */ restoreParameters?: ResourceRestoreParameters; /** Enum to indicate the mode of resource creation. */ createMode?: CreateMode; } /** The List operation response, that contains Cosmos DB locations and their properties. */ export interface LocationListResult { /** * List of Cosmos DB locations and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: LocationGetResult[]; } /** Cosmos DB location metadata */ export interface LocationProperties { /** * Flag indicating whether the location supports availability zones or not. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly supportsAvailabilityZone?: boolean; /** * Flag indicating whether the location is residency sensitive. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isResidencyRestricted?: boolean; /** * The properties of available backup storage redundancies. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly backupStorageRedundancies?: BackupStorageRedundancy[]; /** * Flag indicating whether the subscription have access in region for Non-Availability Zones. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isSubscriptionRegionAccessAllowedForRegular?: boolean; /** * Flag indicating whether the subscription have access in region for Availability Zones(Az). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly isSubscriptionRegionAccessAllowedForAz?: boolean; /** * Enum to indicate current buildout status of the region. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: Status; } /** List of managed Cassandra clusters. */ export interface ListClusters { /** Container for the array of clusters. */ value?: ClusterResource[]; } /** Properties of a managed Cassandra cluster. */ export interface ClusterResourceProperties { /** The status of the resource at the time the operation was called. */ provisioningState?: ManagedCassandraProvisioningState; /** To create an empty cluster, omit this field or set it to null. To restore a backup into a new cluster, set this field to the resource id of the backup. */ restoreFromBackupId?: string; /** Resource id of a subnet that this cluster's management service should have its network interface attached to. The subnet must be routable to all subnets that will be delegated to data centers. The resource id must be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/' */ delegatedManagementSubnetId?: string; /** Which version of Cassandra should this cluster converge to running (e.g., 3.11). When updated, the cluster may take some time to migrate to the new version. */ cassandraVersion?: string; /** If you need to set the clusterName property in cassandra.yaml to something besides the resource name of the cluster, set the value to use on this property. */ clusterNameOverride?: string; /** Which authentication method Cassandra should use to authenticate clients. 'None' turns off authentication, so should not be used except in emergencies. 'Cassandra' is the default password based authentication. The default is 'Cassandra'. */ authenticationMethod?: AuthenticationMethod; /** Initial password for clients connecting as admin to the cluster. Should be changed after cluster creation. Returns null on GET. This field only applies when the authenticationMethod field is 'Cassandra'. */ initialCassandraAdminPassword?: string; /** Hostname or IP address where the Prometheus endpoint containing data about the managed Cassandra nodes can be reached. */ prometheusEndpoint?: SeedNode; /** Should automatic repairs run on this cluster? If omitted, this is true, and should stay true unless you are running a hybrid cluster where you are already doing your own repairs. */ repairEnabled?: boolean; /** List of TLS certificates used to authorize clients connecting to the cluster. All connections are TLS encrypted whether clientCertificates is set or not, but if clientCertificates is set, the managed Cassandra cluster will reject all connections not bearing a TLS client certificate that can be validated from one or more of the public certificates in this property. */ clientCertificates?: Certificate[]; /** List of TLS certificates used to authorize gossip from unmanaged data centers. The TLS certificates of all nodes in unmanaged data centers must be verifiable using one of the certificates provided in this property. */ externalGossipCertificates?: Certificate[]; /** * List of TLS certificates that unmanaged nodes must trust for gossip with managed nodes. All managed nodes will present TLS client certificates that are verifiable using one of the certificates provided in this property. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly gossipCertificates?: Certificate[]; /** List of IP addresses of seed nodes in unmanaged data centers. These will be added to the seed node lists of all managed nodes. */ externalSeedNodes?: SeedNode[]; /** * List of IP addresses of seed nodes in the managed data centers. These should be added to the seed node lists of all unmanaged nodes. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly seedNodes?: SeedNode[]; /** (Deprecated) Number of hours to wait between taking a backup of the cluster. */ hoursBetweenBackups?: number; /** Whether the cluster and associated data centers has been deallocated. */ deallocated?: boolean; /** Whether Cassandra audit logging is enabled */ cassandraAuditLoggingEnabled?: boolean; /** Error related to resource provisioning. */ provisionError?: CassandraError; /** How to connect to the azure services needed for running the cluster */ azureConnectionMethod?: AzureConnectionType; /** * If the Connection Method is VPN, this is the Id of the private link resource that the datacenters need to connect to. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateLinkResourceId?: string; } export interface SeedNode { /** IP address of this seed node. */ ipAddress?: string; } export interface Certificate { /** PEM formatted public key. */ pem?: string; } export interface CassandraError { /** The code of error that occurred. */ code?: string; /** The message of the error. */ message?: string; /** The target resource of the error. */ target?: string; /** Additional information about the error. */ additionalErrorInfo?: string; } /** The core properties of ARM resources. */ export interface ManagedCassandraARMResourceProperties { /** * The unique resource identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The location of the resource group to which the resource belongs. */ location?: string; /** Tags are a list of key-value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters. For example, the default experience for a template type is set with "defaultExperience": "Cassandra". Current "defaultExperience" values also include "Table", "Graph", "DocumentDB", and "MongoDB". */ tags?: { [propertyName: string]: string; }; /** Identity for the resource. */ identity?: ManagedCassandraManagedServiceIdentity; } /** Identity for the resource. */ export interface ManagedCassandraManagedServiceIdentity { /** * The object id of the identity resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly principalId?: string; /** * The tenant id of the resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly tenantId?: string; /** The type of the resource. */ type?: ManagedCassandraResourceIdentityType; } /** Specification of which command to run where */ export interface CommandPostBody { /** The command which should be run */ command: string; /** The arguments for the command to be run */ arguments?: { [propertyName: string]: string; }; /** IP address of the cassandra host to run the command on */ host: string; /** If true, stops cassandra before executing the command and then start it again */ cassandraStopStart?: boolean; /** If true, allows the command to *write* to the cassandra directory, otherwise read-only. */ readwrite?: boolean; } /** Response of /command api */ export interface CommandOutput { /** Output of the command. */ commandOutput?: string; } /** List of managed Cassandra data centers and their properties. */ export interface ListDataCenters { /** * Container for array of data centers. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: DataCenterResource[]; } /** Properties of a managed Cassandra data center. */ export interface DataCenterResourceProperties { /** The status of the resource at the time the operation was called. */ provisioningState?: ManagedCassandraProvisioningState; /** The region this data center should be created in. */ dataCenterLocation?: string; /** Resource id of a subnet the nodes in this data center should have their network interfaces connected to. The subnet must be in the same region specified in 'dataCenterLocation' and must be able to route to the subnet specified in the cluster's 'delegatedManagementSubnetId' property. This resource id will be of the form '/subscriptions//resourceGroups//providers/Microsoft.Network/virtualNetworks//subnets/'. */ delegatedSubnetId?: string; /** The number of nodes the data center should have. This is the desired number. After it is set, it may take some time for the data center to be scaled to match. To monitor the number of nodes and their status, use the fetchNodeStatus method on the cluster. */ nodeCount?: number; /** * IP addresses for seed nodes in this data center. This is for reference. Generally you will want to use the seedNodes property on the cluster, which aggregates the seed nodes from all data centers in the cluster. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly seedNodes?: SeedNode[]; /** A fragment of a cassandra.yaml configuration file to be included in the cassandra.yaml for all nodes in this data center. The fragment should be Base64 encoded, and only a subset of keys are allowed. */ base64EncodedCassandraYamlFragment?: string; /** Key uri to use for encryption of managed disks. Ensure the system assigned identity of the cluster has been assigned appropriate permissions(key get/wrap/unwrap permissions) on the key. */ managedDiskCustomerKeyUri?: string; /** Indicates the Key Uri of the customer key to use for encryption of the backup storage account. */ backupStorageCustomerKeyUri?: string; /** Virtual Machine SKU used for data centers. Default value is Standard_DS14_v2 */ sku?: string; /** Disk SKU used for data centers. Default value is P30. */ diskSku?: string; /** Number of disks attached to each node. Default is 4. */ diskCapacity?: number; /** If the data center has Availability Zone support, apply it to the Virtual Machine ScaleSet that host the cassandra data center virtual machines. */ availabilityZone?: boolean; /** Ldap authentication method properties. This feature is in preview. */ authenticationMethodLdapProperties?: AuthenticationMethodLdapProperties; /** Whether the data center has been deallocated. */ deallocated?: boolean; /** Error related to resource provisioning. */ provisionError?: CassandraError; /** Ip of the VPN Endpoint for this data center. */ privateEndpointIpAddress?: string; } /** Ldap authentication method properties. This feature is in preview. */ export interface AuthenticationMethodLdapProperties { /** Hostname of the LDAP server. */ serverHostname?: string; /** Port of the LDAP server. */ serverPort?: number; /** Distinguished name of the look up user account, who can look up user details on authentication. */ serviceUserDistinguishedName?: string; /** Password of the look up user. */ serviceUserPassword?: string; /** Distinguished name of the object to start the recursive search of users from. */ searchBaseDistinguishedName?: string; /** Template to use for searching. Defaults to (cn=%s) where %s will be replaced by the username used to login. */ searchFilterTemplate?: string; serverCertificates?: Certificate[]; /** Timeout for connecting to the LDAP server in miliseconds. The default is 5000 ms. */ connectionTimeoutInMs?: number; } /** Properties of a managed Cassandra cluster public status. */ export interface CassandraClusterPublicStatus { eTag?: string; reaperStatus?: ManagedCassandraReaperStatus; /** List relevant information about any connection errors to the Datacenters. */ connectionErrors?: ConnectionError[]; /** List relevant information about any errors about cluster, data center and connection error. */ errors?: CassandraError[]; /** List of the status of each datacenter in this cluster. */ dataCenters?: CassandraClusterPublicStatusDataCentersItem[]; } export interface ManagedCassandraReaperStatus { healthy?: boolean; /** Dictionary of */ repairRunIds?: { [propertyName: string]: string; }; /** Dictionary of */ repairSchedules?: { [propertyName: string]: string; }; } export interface ConnectionError { /** The kind of connection error that occurred. */ connectionState?: ConnectionState; /** The IP of host that originated the failed connection. */ iPFrom?: string; /** The IP that the connection attempted to reach. */ iPTo?: string; /** The TCP port the connection was attempted on. */ port?: number; /** Detailed error message about the failed connection. */ exception?: string; } export interface CassandraClusterPublicStatusDataCentersItem { /** The name of this Datacenter. */ name?: string; /** A list of all seed nodes in the cluster, managed and unmanaged. */ seedNodes?: string[]; nodes?: ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems[]; } export interface ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems { /** The node's IP address. */ address?: string; /** The state of the node in Cassandra ring. */ state?: NodeState; status?: string; /** Cassandra service status on this node */ cassandraProcessStatus?: string; /** The amount of file system data in the data directory (e.g., 47.66 kB), excluding all content in the snapshots subdirectories. Because all SSTable data files are included, any data that is not cleaned up (such as TTL-expired cells or tombstones) is counted. */ load?: string; /** List of tokens this node covers. */ tokens?: string[]; size?: number; /** The network ID of the node. */ hostID?: string; /** The rack this node is part of. */ rack?: string; /** The timestamp when these statistics were captured. */ timestamp?: string; /** The amount of disk used, in kB, of the directory /var/lib/cassandra. */ diskUsedKB?: number; /** The amount of disk free, in kB, of the directory /var/lib/cassandra. */ diskFreeKB?: number; /** Used memory (calculated as total - free - buffers - cache), in kB. */ memoryUsedKB?: number; /** Memory used by kernel buffers (Buffers in /proc/meminfo) and page cache and slabs (Cached and SReclaimable in /proc/meminfo), in kB. */ memoryBuffersAndCachedKB?: number; /** Unused memory (MemFree and SwapFree in /proc/meminfo), in kB. */ memoryFreeKB?: number; /** Total installed memory (MemTotal and SwapTotal in /proc/meminfo), in kB. */ memoryTotalKB?: number; /** A float representing the current system-wide CPU utilization as a percentage. */ cpuUsage?: number; } /** The set of data plane operations permitted through this Role Definition. */ export interface Privilege { /** An Azure Cosmos DB Mongo DB Resource. */ resource?: PrivilegeResource; /** An array of actions that are allowed. */ actions?: string[]; } /** An Azure Cosmos DB Mongo DB Resource. */ export interface PrivilegeResource { /** The database name the role is applied. */ db?: string; /** The collection name the role is applied. */ collection?: string; } /** The set of roles permitted through this Role Definition. */ export interface Role { /** The database name the role is applied. */ db?: string; /** The role name. */ role?: string; } /** Parameters to create and update an Azure Cosmos DB Mongo Role Definition. */ export interface MongoRoleDefinitionCreateUpdateParameters { /** A user-friendly name for the Role Definition. Must be unique for the database account. */ roleName?: string; /** Indicates whether the Role Definition was built-in or user created. */ type?: MongoRoleDefinitionType; /** The database name for which access is being granted for this Role Definition. */ databaseName?: string; /** A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. */ privileges?: Privilege[]; /** The set of roles inherited by this Role Definition. */ roles?: Role[]; } /** The relevant Mongo Role Definitions. */ export interface MongoRoleDefinitionListResult { /** * List of Mongo Role Definitions and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: MongoRoleDefinitionGetResults[]; } /** Parameters to create and update an Azure Cosmos DB Mongo User Definition. */ export interface MongoUserDefinitionCreateUpdateParameters { /** The user name for User Definition. */ userName?: string; /** The password for User Definition. Response does not contain user password. */ password?: string; /** The database name for which access is being granted for this User Definition. */ databaseName?: string; /** A custom definition for the USer Definition. */ customData?: string; /** The set of roles inherited by the User Definition. */ roles?: Role[]; /** The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. */ mechanisms?: string; } /** The relevant User Definition. */ export interface MongoUserDefinitionListResult { /** * List of User Definition and their properties * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: MongoUserDefinitionGetResults[]; } /** A list of notebook workspace resources */ export interface NotebookWorkspaceListResult { /** Array of notebook workspace resources */ value?: NotebookWorkspace[]; } /** The connection info for the given notebook workspace */ export interface NotebookWorkspaceConnectionInfoResult { /** * Specifies auth token used for connecting to Notebook server (uses token-based auth). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly authToken?: string; /** * Specifies the endpoint of Notebook server. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly notebookServerEndpoint?: string; } /** A list of private endpoint connections */ export interface PrivateEndpointConnectionListResult { /** Array of private endpoint connections */ value?: PrivateEndpointConnection[]; } /** A list of private link resources */ export interface PrivateLinkResourceListResult { /** Array of private link resources */ value?: PrivateLinkResource[]; } /** The set of data plane operations permitted through this Role Definition. */ export interface Permission { /** An array of data actions that are allowed. */ dataActions?: string[]; /** An array of data actions that are denied. */ notDataActions?: string[]; } /** Parameters to create and update an Azure Cosmos DB SQL Role Definition. */ export interface SqlRoleDefinitionCreateUpdateParameters { /** A user-friendly name for the Role Definition. Must be unique for the database account. */ roleName?: string; /** Indicates whether the Role Definition was built-in or user created. */ type?: RoleDefinitionType; /** A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. */ assignableScopes?: string[]; /** The set of operations allowed through this Role Definition. */ permissions?: Permission[]; } /** The relevant Role Definitions. */ export interface SqlRoleDefinitionListResult { /** * List of Role Definitions and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: SqlRoleDefinitionGetResults[]; } /** Parameters to create and update an Azure Cosmos DB SQL Role Assignment. */ export interface SqlRoleAssignmentCreateUpdateParameters { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; } /** The relevant Role Assignments. */ export interface SqlRoleAssignmentListResult { /** * List of Role Assignments and their properties * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: SqlRoleAssignmentGetResults[]; } /** The List operation response, that contains the restorable database accounts and their properties. */ export interface RestorableDatabaseAccountsListResult { /** * List of restorable database accounts and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableDatabaseAccountGetResult[]; } /** A Azure Cosmos DB restorable database account. */ export interface RestorableDatabaseAccountGetResult { /** * The unique resource identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The location of the resource group to which the resource belongs. */ location?: string; /** The name of the global database account */ accountName?: string; /** The creation time of the restorable database account (ISO-8601 format). */ creationTime?: Date; /** The time at which the restorable database account has been deleted (ISO-8601 format). */ deletionTime?: Date; /** The least recent time at which the database account can be restored to (ISO-8601 format). */ oldestRestorableTime?: Date; /** * The API type of the restorable database account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly apiType?: ApiType; /** * List of regions where the of the database account can be restored from. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly restorableLocations?: RestorableLocationResource[]; } /** Properties of the regional restorable account. */ export interface RestorableLocationResource { /** * The location of the regional restorable account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly locationName?: string; /** * The instance id of the regional restorable account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly regionalDatabaseAccountInstanceId?: string; /** * The creation time of the regional restorable database account (ISO-8601 format). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly creationTime?: Date; /** * The time at which the regional restorable database account has been deleted (ISO-8601 format). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly deletionTime?: Date; } /** Properties of the regional restorable account. */ export interface ContinuousBackupRestoreLocation { /** The name of the continuous backup restore location. */ location?: string; } /** Backup information of a resource. */ export interface BackupInformation { /** * Information about the status of continuous backups. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly continuousBackupInformation?: ContinuousBackupInformation; } /** Information about the status of continuous backups. */ export interface ContinuousBackupInformation { /** The latest restorable timestamp for a resource. */ latestRestorableTimestamp?: string; } /** The List operation response, that contains the SQL database events and their properties. */ export interface RestorableSqlDatabasesListResult { /** * List of SQL database events and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableSqlDatabaseGetResult[]; } /** An Azure Cosmos DB SQL database event */ export interface RestorableSqlDatabaseGetResult { /** * The unique resource Identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The resource of an Azure Cosmos DB SQL database event */ resource?: RestorableSqlDatabasePropertiesResource; } /** The resource of an Azure Cosmos DB SQL database event */ export interface RestorableSqlDatabasePropertiesResource { /** * A system generated property. A unique identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rid?: string; /** * The operation type of this database event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationType?: OperationType; /** * A state of this database to identify if this database is restorable in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndelete?: string; /** * The reason why this database can not be restored in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndeleteReason?: string; /** * The time when this database event happened. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly eventTimestamp?: string; /** * The name of the SQL database. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerId?: string; /** * The resource ID of the SQL database. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerResourceId?: string; /** Cosmos DB SQL database resource object */ database?: RestorableSqlDatabasePropertiesResourceDatabase; } /** The List operation response, that contains the SQL container events and their properties. */ export interface RestorableSqlContainersListResult { /** * List of SQL container events and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableSqlContainerGetResult[]; } /** An Azure Cosmos DB SQL container event */ export interface RestorableSqlContainerGetResult { /** * The unique resource Identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The resource of an Azure Cosmos DB SQL container event */ resource?: RestorableSqlContainerPropertiesResource; } /** The resource of an Azure Cosmos DB SQL container event */ export interface RestorableSqlContainerPropertiesResource { /** * A system generated property. A unique identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rid?: string; /** * The operation type of this container event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationType?: OperationType; /** * A state of this container to identify if this container is restorable in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndelete?: string; /** * The reason why this container can not be restored in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndeleteReason?: string; /** * The when this container event happened. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly eventTimestamp?: string; /** * The name of this SQL container. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerId?: string; /** * The resource ID of this SQL container. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerResourceId?: string; /** Cosmos DB SQL container resource object */ container?: RestorableSqlContainerPropertiesResourceContainer; } /** The List operation response, that contains the restorable SQL resources. */ export interface RestorableSqlResourcesListResult { /** * List of restorable SQL resources, including the database and collection names. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableSqlResourcesGetResult[]; } /** Specific Databases to restore. */ export interface RestorableSqlResourcesGetResult { /** * The unique resource identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The name of the database available for restore. */ databaseName?: string; /** The names of the collections available for restore. */ collectionNames?: string[]; } /** The List operation response, that contains the MongoDB database events and their properties. */ export interface RestorableMongodbDatabasesListResult { /** * List of MongoDB database events and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableMongodbDatabaseGetResult[]; } /** An Azure Cosmos DB MongoDB database event */ export interface RestorableMongodbDatabaseGetResult { /** * The unique resource Identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The resource of an Azure Cosmos DB MongoDB database event */ resource?: RestorableMongodbDatabasePropertiesResource; } /** The resource of an Azure Cosmos DB MongoDB database event */ export interface RestorableMongodbDatabasePropertiesResource { /** * A system generated property. A unique identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rid?: string; /** * The operation type of this database event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationType?: OperationType; /** * A state of this database to identify if this database is restorable in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndelete?: string; /** * The reason why this database can not be restored in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndeleteReason?: string; /** * The time when this database event happened. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly eventTimestamp?: string; /** * The name of this MongoDB database. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerId?: string; /** * The resource ID of this MongoDB database. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerResourceId?: string; } /** The List operation response, that contains the MongoDB collection events and their properties. */ export interface RestorableMongodbCollectionsListResult { /** * List of MongoDB collection events and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableMongodbCollectionGetResult[]; } /** An Azure Cosmos DB MongoDB collection event */ export interface RestorableMongodbCollectionGetResult { /** * The unique resource Identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The resource of an Azure Cosmos DB MongoDB collection event */ resource?: RestorableMongodbCollectionPropertiesResource; } /** The resource of an Azure Cosmos DB MongoDB collection event */ export interface RestorableMongodbCollectionPropertiesResource { /** * A system generated property. A unique identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rid?: string; /** * The operation type of this collection event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationType?: OperationType; /** * A state of this collection to identify if this container is restorable in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndelete?: string; /** * The reason why this collection can not be restored in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndeleteReason?: string; /** * The time when this collection event happened. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly eventTimestamp?: string; /** * The name of this MongoDB collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerId?: string; /** * The resource ID of this MongoDB collection. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerResourceId?: string; } /** The List operation response, that contains the restorable MongoDB resources. */ export interface RestorableMongodbResourcesListResult { /** * List of restorable MongoDB resources, including the database and collection names. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableMongodbResourcesGetResult[]; } /** Specific Databases to restore. */ export interface RestorableMongodbResourcesGetResult { /** * The unique resource identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The name of the database available for restore. */ databaseName?: string; /** The names of the collections available for restore. */ collectionNames?: string[]; } /** The List operation response, that contains the Gremlin database events and their properties. */ export interface RestorableGremlinDatabasesListResult { /** * List of Gremlin database events and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableGremlinDatabaseGetResult[]; } /** An Azure Cosmos DB Gremlin database event */ export interface RestorableGremlinDatabaseGetResult { /** * The unique resource Identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The resource of an Azure Cosmos DB Gremlin database event */ resource?: RestorableGremlinDatabasePropertiesResource; } /** The resource of an Azure Cosmos DB Gremlin database event */ export interface RestorableGremlinDatabasePropertiesResource { /** * A system generated property. A unique identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rid?: string; /** * The operation type of this database event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationType?: OperationType; /** * A state of this database to identify if this database is restorable in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndelete?: string; /** * The reason why this database can not be restored in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndeleteReason?: string; /** * The time when this database event happened. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly eventTimestamp?: string; /** * The name of this Gremlin database. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerId?: string; /** * The resource ID of this Gremlin database. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerResourceId?: string; } /** The List operation response, that contains the Gremlin graph events and their properties. */ export interface RestorableGremlinGraphsListResult { /** * List of Gremlin graph events and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableGremlinGraphGetResult[]; } /** An Azure Cosmos DB Gremlin graph event */ export interface RestorableGremlinGraphGetResult { /** * The unique resource Identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The resource of an Azure Cosmos DB Gremlin graph event */ resource?: RestorableGremlinGraphPropertiesResource; } /** The resource of an Azure Cosmos DB Gremlin graph event */ export interface RestorableGremlinGraphPropertiesResource { /** * A system generated property. A unique identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rid?: string; /** * The operation type of this graph event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationType?: OperationType; /** * A state of this graph to identify if this graph is restorable in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndelete?: string; /** * The reason why this graph can not be restored in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndeleteReason?: string; /** * The time when this graph event happened. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly eventTimestamp?: string; /** * The name of this Gremlin graph. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerId?: string; /** * The resource ID of this Gremlin graph. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerResourceId?: string; } /** The List operation response, that contains the restorable Gremlin resources. */ export interface RestorableGremlinResourcesListResult { /** * List of restorable Gremlin resources, including the gremlin database and graph names. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableGremlinResourcesGetResult[]; } /** Specific Databases to restore. */ export interface RestorableGremlinResourcesGetResult { /** * The unique resource identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The name of the gremlin database available for restore. */ databaseName?: string; /** The names of the graphs available for restore. */ graphNames?: string[]; } /** The List operation response, that contains the Table events and their properties. */ export interface RestorableTablesListResult { /** * List of Table events and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableTableGetResult[]; } /** An Azure Cosmos DB Table event */ export interface RestorableTableGetResult { /** * The unique resource Identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** The resource of an Azure Cosmos DB Table event */ resource?: RestorableTablePropertiesResource; } /** The resource of an Azure Cosmos DB Table event */ export interface RestorableTablePropertiesResource { /** * A system generated property. A unique identifier. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly rid?: string; /** * The operation type of this table event. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly operationType?: OperationType; /** * A state of this table to identify if this table is restorable in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndelete?: string; /** * The reason why this table can not be restored in same account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly canUndeleteReason?: string; /** * The time when this table event happened. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly eventTimestamp?: string; /** * The name of this Table. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerId?: string; /** * The resource ID of this Table. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly ownerResourceId?: string; } /** List of restorable table names. */ export interface RestorableTableResourcesListResult { /** * List of restorable table names. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: RestorableTableResourcesGetResult[]; } /** Specific Databases to restore. */ export interface RestorableTableResourcesGetResult { /** * The unique resource identifier of the ARM resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the Table. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of Azure resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; } /** The List operation response, that contains the Service Resource and their properties. */ export interface ServiceResourceListResult { /** * List of Service Resource and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: ServiceResource[]; } /** Services response resource. */ export interface ServiceResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "DataTransfer" | "SqlDedicatedGateway" | "GraphAPICompute" | "MaterializedViewsBuilder"; /** Describes unknown properties. The value of an unknown property can be of "any" type. */ [property: string]: any; /** * Time of the last state change (ISO-8601 format). * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly creationTime?: Date; /** Instance type for the service. */ instanceSize?: ServiceSize; /** Instance count for the service. */ instanceCount?: number; /** * Describes the status of a service. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: ServiceStatus; } /** Parameters for Create or Update request for ServiceResource */ export interface ServiceResourceCreateUpdateParameters { /** Properties in ServiceResourceCreateUpdateParameters. */ properties?: ServiceResourceCreateUpdatePropertiesUnion; } /** Properties in ServiceResourceCreateUpdateParameters. */ export interface ServiceResourceCreateUpdateProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "DataTransfer" | "SqlDedicatedGateway" | "GraphAPICompute" | "MaterializedViewsBuilder"; /** Instance type for the service. */ instanceSize?: ServiceSize; /** Instance count for the service. */ instanceCount?: number; } /** The response of the List operation that contains the fleets and their properties. */ export interface FleetListResult { /** * List of fleets and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: FleetResource[]; /** * The link used to get the next page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Common fields that are returned in the response for all Azure Resource Manager resources */ export interface ResourceAutoGenerated { /** * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly id?: string; /** * The name of the resource * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly type?: string; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; } /** Represents a fleet resource for updates. */ export interface FleetResourceUpdate { /** A provisioning state of the Fleet. */ provisioningState?: Status; } /** The response of the List operation that contains the fleetspaces and their properties. */ export interface FleetspaceListResult { /** * List of fleetspaces and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: FleetspaceResource[]; /** * The link used to get the next page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Configuration for throughput pool in the fleetspace. */ export interface FleetspacePropertiesThroughputPoolConfiguration { /** Minimum throughput for the pool. */ minThroughput?: number; /** Maximum throughput for the pool. */ maxThroughput?: number; } /** Represents a fleetspace resource for updates. */ export interface FleetspaceUpdate { /** A provisioning state of the Fleetspace. */ provisioningState?: Status; /** The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL' */ fleetspaceApiKind?: FleetspacePropertiesFleetspaceApiKind; /** Service Tier for the fleetspace. GeneralPurpose types refers to single write region accounts that can be added to this fleetspace, whereas BusinessCritical refers to multi write region. */ serviceTier?: FleetspacePropertiesServiceTier; /** List of data regions assigned to the fleetspace. Eg [westus2] */ dataRegions?: string[]; /** Configuration for throughput pool in the fleetspace. */ throughputPoolConfiguration?: FleetspacePropertiesThroughputPoolConfiguration; } /** The List operation response, that contains the global database accounts and their properties. */ export interface FleetspaceAccountListResult { /** * List of global database accounts in a fleetspace and their properties. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly value?: FleetspaceAccountResource[]; /** * The link used to get the next page of results. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly nextLink?: string; } /** Configuration for fleetspace Account in the fleetspace. */ export interface FleetspaceAccountPropertiesGlobalDatabaseAccountProperties { /** The resource identifier of global database account in the Fleetspace Account. */ resourceId?: string; /** The location of global database account in the Fleetspace Account. */ armLocation?: string; } /** Configuration values for periodic mode backup */ export interface PeriodicModeProperties { /** An integer representing the interval in minutes between two backups */ backupIntervalInMinutes?: number; /** An integer representing the time (in hours) that each backup is retained */ backupRetentionIntervalInHours?: number; /** Enum to indicate type of backup residency */ backupStorageRedundancy?: BackupStorageRedundancy; } /** Configuration values for periodic mode backup */ export interface ContinuousModeProperties { /** Enum to indicate type of Continuous backup mode */ tier?: ContinuousTier; } /** Describes the service response property. */ export interface DataTransferServiceResource { /** Properties for DataTransferServiceResource. */ properties?: DataTransferServiceResourceProperties; } /** Resource for a regional service location. */ export interface RegionalServiceResource { /** * The regional service name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly name?: string; /** * The location name. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly location?: string; /** * Describes the status of a service. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: ServiceStatus; } /** Describes the service response property for SqlDedicatedGateway. */ export interface SqlDedicatedGatewayServiceResource { /** Properties for SqlDedicatedGatewayServiceResource. */ properties?: SqlDedicatedGatewayServiceResourceProperties; } /** Describes the service response property for GraphAPICompute. */ export interface GraphAPIComputeServiceResource { /** Properties for GraphAPIComputeServiceResource. */ properties?: GraphAPIComputeServiceResourceProperties; } /** Describes the service response property for MaterializedViewsBuilder. */ export interface MaterializedViewsBuilderServiceResource { /** Properties for MaterializedViewsBuilderServiceResource. */ properties?: MaterializedViewsBuilderServiceResourceProperties; } /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResource extends Resource { } /** Parameters to indicate the information about the restore. */ export interface RestoreParameters extends RestoreParametersBase { /** Describes the mode of the restore. */ restoreMode?: RestoreMode; /** List of specific databases available for restore. */ databasesToRestore?: DatabaseRestoreResource[]; /** List of specific gremlin databases available for restore. */ gremlinDatabasesToRestore?: GremlinDatabaseRestoreResource[]; /** List of specific tables available for restore. */ tablesToRestore?: string[]; /** The source backup location for restore. */ sourceBackupLocation?: string; } /** Parameters to indicate the information about the restore. */ export interface ResourceRestoreParameters extends RestoreParametersBase { } /** The object representing periodic mode backup policy. */ export interface PeriodicModeBackupPolicy extends BackupPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Periodic"; /** Configuration values for periodic mode backup */ periodicModeProperties?: PeriodicModeProperties; } /** The object representing continuous mode backup policy. */ export interface ContinuousModeBackupPolicy extends BackupPolicy { /** Polymorphic discriminator, which specifies the different types this object can be */ type: "Continuous"; /** Configuration values for continuous mode backup */ continuousModeProperties?: ContinuousModeProperties; } /** An Azure Cosmos DB database account. */ export interface DatabaseAccountGetResults extends ARMResourceProperties { /** Indicates the type of database account. This can only be set at database account creation. */ kind?: DatabaseAccountKind; /** Identity for the resource. */ identity?: ManagedServiceIdentity; /** * The system meta data relating to this resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly systemData?: SystemData; /** * The status of the Cosmos DB account at the time the operation was called. The status can be one of following. 'Creating' – the Cosmos DB account is being created. When an account is in Creating state, only properties that are specified as input for the Create Cosmos DB account operation are returned. 'Succeeded' – the Cosmos DB account is active for use. 'Updating' – the Cosmos DB account is being updated. 'Deleting' – the Cosmos DB account is being deleted. 'Failed' – the Cosmos DB account failed creation. 'DeletionFailed' – the Cosmos DB account deletion failed. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly provisioningState?: string; /** * The connection endpoint for the Cosmos DB database account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly documentEndpoint?: string; /** * The offer type for the Cosmos DB database account. Default value: Standard. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly databaseAccountOfferType?: "Standard"; /** List of IpRules. */ ipRules?: IpAddressOrRange[]; /** Flag to indicate whether to enable/disable Virtual Network ACL rules. */ isVirtualNetworkFilterEnabled?: boolean; /** 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?: boolean; /** The consistency policy for the Cosmos DB database account. */ consistencyPolicy?: ConsistencyPolicy; /** List of Cosmos DB capabilities for the account */ capabilities?: Capability[]; /** * An array that contains the write location for the Cosmos DB account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly writeLocations?: Location[]; /** * An array that contains of the read locations enabled for the Cosmos DB account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly readLocations?: Location[]; /** * An array that contains all of the locations enabled for the Cosmos DB account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly locations?: Location[]; /** * An array that contains the regions ordered by their failover priorities. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly failoverPolicies?: FailoverPolicy[]; /** List of Virtual Network ACL rules configured for the Cosmos DB account. */ virtualNetworkRules?: VirtualNetworkRule[]; /** * List of Private Endpoint Connections configured for the Cosmos DB account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly privateEndpointConnections?: PrivateEndpointConnection[]; /** Enables the account to write in multiple locations */ enableMultipleWriteLocations?: boolean; /** Enables the cassandra connector on the Cosmos DB C* account */ enableCassandraConnector?: boolean; /** The cassandra connector offer type for the Cosmos DB database C* account. */ connectorOffer?: ConnectorOffer; /** Disable write operations on metadata resources (databases, containers, throughput) via account keys */ disableKeyBasedMetadataWriteAccess?: boolean; /** The URI of the key vault */ keyVaultKeyUri?: string; /** The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. */ defaultIdentity?: string; /** Whether requests from Public Network are allowed */ publicNetworkAccess?: PublicNetworkAccess; /** Flag to indicate whether Free Tier is enabled. */ enableFreeTier?: boolean; /** API specific properties. */ apiProperties?: ApiProperties; /** Flag to indicate whether to enable storage analytics. */ enableAnalyticalStorage?: boolean; /** Analytical storage specific properties. */ analyticalStorageConfiguration?: AnalyticalStorageConfiguration; /** * A unique identifier assigned to the database account * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly instanceId?: string; /** Enum to indicate the mode of account creation. */ createMode?: CreateMode; /** Parameters to indicate the information about the restore. */ restoreParameters?: RestoreParameters; /** The object representing the policy for taking backups on an account. */ backupPolicy?: BackupPolicyUnion; /** The CORS policy for the Cosmos DB database account. */ cors?: CorsPolicy[]; /** Indicates what services are allowed to bypass firewall checks. */ networkAclBypass?: NetworkAclBypass; /** An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. */ networkAclBypassResourceIds?: string[]; /** Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. */ disableLocalAuth?: boolean; /** The object that represents all properties related to capacity enforcement on an account. */ capacity?: Capacity; /** * The object that represents the metadata for the Account Keys of the Cosmos DB account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */ enableBurstCapacity?: boolean; /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */ customerManagedKeyStatus?: string; /** Flag to indicate enabling/disabling of PerRegionPerPartitionAutoscale feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** * The version of the Customer Managed Key currently being used by the account * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly keyVaultKeyUriVersion?: string; /** Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account */ enablePriorityBasedExecution?: boolean; /** Enum to indicate default Priority Level of request for Priority Based Execution. */ defaultPriorityLevel?: DefaultPriorityLevel; } /** Parameters to create and update Cosmos DB database accounts. */ export interface DatabaseAccountCreateUpdateParameters extends ARMResourceProperties { /** Indicates the type of database account. This can only be set at database account creation. */ kind?: DatabaseAccountKind; /** Identity for the resource. */ identity?: ManagedServiceIdentity; /** The consistency policy for the Cosmos DB account. */ consistencyPolicy?: ConsistencyPolicy; /** An array that contains the georeplication locations enabled for the Cosmos DB account. */ locations: Location[]; /** The offer type for the database */ databaseAccountOfferType: "Standard"; /** List of IpRules. */ ipRules?: IpAddressOrRange[]; /** Flag to indicate whether to enable/disable Virtual Network ACL rules. */ isVirtualNetworkFilterEnabled?: boolean; /** 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?: boolean; /** List of Cosmos DB capabilities for the account */ capabilities?: Capability[]; /** List of Virtual Network ACL rules configured for the Cosmos DB account. */ virtualNetworkRules?: VirtualNetworkRule[]; /** Enables the account to write in multiple locations */ enableMultipleWriteLocations?: boolean; /** Enables the cassandra connector on the Cosmos DB C* account */ enableCassandraConnector?: boolean; /** The cassandra connector offer type for the Cosmos DB database C* account. */ connectorOffer?: ConnectorOffer; /** Disable write operations on metadata resources (databases, containers, throughput) via account keys */ disableKeyBasedMetadataWriteAccess?: boolean; /** The URI of the key vault */ keyVaultKeyUri?: string; /** The default identity for accessing key vault used in features like customer managed keys. The default identity needs to be explicitly set by the users. It can be "FirstPartyIdentity", "SystemAssignedIdentity" and more. */ defaultIdentity?: string; /** Whether requests from Public Network are allowed */ publicNetworkAccess?: PublicNetworkAccess; /** Flag to indicate whether Free Tier is enabled. */ enableFreeTier?: boolean; /** API specific properties. Currently, supported only for MongoDB API. */ apiProperties?: ApiProperties; /** Flag to indicate whether to enable storage analytics. */ enableAnalyticalStorage?: boolean; /** Analytical storage specific properties. */ analyticalStorageConfiguration?: AnalyticalStorageConfiguration; /** Enum to indicate the mode of account creation. */ createMode?: CreateMode; /** The object representing the policy for taking backups on an account. */ backupPolicy?: BackupPolicyUnion; /** The CORS policy for the Cosmos DB database account. */ cors?: CorsPolicy[]; /** Indicates what services are allowed to bypass firewall checks. */ networkAclBypass?: NetworkAclBypass; /** An array that contains the Resource Ids for Network Acl Bypass for the Cosmos DB account. */ networkAclBypassResourceIds?: string[]; /** Opt-out of local authentication and ensure only MSI and AAD can be used exclusively for authentication. */ disableLocalAuth?: boolean; /** Parameters to indicate the information about the restore. */ restoreParameters?: RestoreParameters; /** The object that represents all properties related to capacity enforcement on an account. */ capacity?: Capacity; /** * This property is ignored during the update/create operation, as the metadata is read-only. The object represents the metadata for the Account Keys of the Cosmos DB account. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Indicates the minimum allowed Tls version. The default value is Tls 1.2. Cassandra and Mongo APIs only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** Flag to indicate enabling/disabling of Burst Capacity feature on the account */ enableBurstCapacity?: boolean; /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */ customerManagedKeyStatus?: string; /** Flag to indicate enabling/disabling of PerRegionPerPartitionAutoscale feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** Flag to indicate enabling/disabling of Priority Based Execution Preview feature on the account */ enablePriorityBasedExecution?: boolean; /** Enum to indicate default Priority Level of request for Priority Based Execution. */ defaultPriorityLevel?: DefaultPriorityLevel; } /** An Azure Cosmos DB SQL database. */ export interface SqlDatabaseGetResults extends ARMResourceProperties { resource?: SqlDatabaseGetPropertiesResource; options?: SqlDatabaseGetPropertiesOptions; } /** Parameters to create and update Cosmos DB SQL database. */ export interface SqlDatabaseCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a SQL database */ resource: SqlDatabaseResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB resource throughput. */ export interface ThroughputSettingsGetResults extends ARMResourceProperties { resource?: ThroughputSettingsGetPropertiesResource; } /** Parameters to update Cosmos DB resource throughput. */ export interface ThroughputSettingsUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a resource throughput */ resource: ThroughputSettingsResource; } /** An Azure Cosmos DB container. */ export interface SqlContainerGetResults extends ARMResourceProperties { resource?: SqlContainerGetPropertiesResource; options?: SqlContainerGetPropertiesOptions; } /** Parameters to create and update Cosmos DB container. */ export interface SqlContainerCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a container */ resource: SqlContainerResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB storedProcedure. */ export interface SqlStoredProcedureGetResults extends ARMResourceProperties { resource?: SqlStoredProcedureGetPropertiesResource; } /** Parameters to create and update Cosmos DB storedProcedure. */ export interface SqlStoredProcedureCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a storedProcedure */ resource: SqlStoredProcedureResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB userDefinedFunction. */ export interface SqlUserDefinedFunctionGetResults extends ARMResourceProperties { resource?: SqlUserDefinedFunctionGetPropertiesResource; } /** Parameters to create and update Cosmos DB userDefinedFunction. */ export interface SqlUserDefinedFunctionCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a userDefinedFunction */ resource: SqlUserDefinedFunctionResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB trigger. */ export interface SqlTriggerGetResults extends ARMResourceProperties { resource?: SqlTriggerGetPropertiesResource; } /** Parameters to create and update Cosmos DB trigger. */ export interface SqlTriggerCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a trigger */ resource: SqlTriggerResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB MongoDB database. */ export interface MongoDBDatabaseGetResults extends ARMResourceProperties { resource?: MongoDBDatabaseGetPropertiesResource; options?: MongoDBDatabaseGetPropertiesOptions; } /** Parameters to create and update Cosmos DB MongoDB database. */ export interface MongoDBDatabaseCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a MongoDB database */ resource: MongoDBDatabaseResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB MongoDB collection. */ export interface MongoDBCollectionGetResults extends ARMResourceProperties { resource?: MongoDBCollectionGetPropertiesResource; options?: MongoDBCollectionGetPropertiesOptions; } /** Parameters to create and update Cosmos DB MongoDB collection. */ export interface MongoDBCollectionCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a MongoDB collection */ resource: MongoDBCollectionResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB Table. */ export interface TableGetResults extends ARMResourceProperties { resource?: TableGetPropertiesResource; options?: TableGetPropertiesOptions; } /** Parameters to create and update Cosmos DB Table. */ export interface TableCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a Table */ resource: TableResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB Cassandra keyspace. */ export interface CassandraKeyspaceGetResults extends ARMResourceProperties { resource?: CassandraKeyspaceGetPropertiesResource; options?: CassandraKeyspaceGetPropertiesOptions; } /** Parameters to create and update Cosmos DB Cassandra keyspace. */ export interface CassandraKeyspaceCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a Cassandra keyspace */ resource: CassandraKeyspaceResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB Cassandra table. */ export interface CassandraTableGetResults extends ARMResourceProperties { resource?: CassandraTableGetPropertiesResource; options?: CassandraTableGetPropertiesOptions; } /** Parameters to create and update Cosmos DB Cassandra table. */ export interface CassandraTableCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a Cassandra table */ resource: CassandraTableResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB Gremlin database. */ export interface GremlinDatabaseGetResults extends ARMResourceProperties { resource?: GremlinDatabaseGetPropertiesResource; options?: GremlinDatabaseGetPropertiesOptions; } /** Parameters to create and update Cosmos DB Gremlin database. */ export interface GremlinDatabaseCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a Gremlin database */ resource: GremlinDatabaseResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** An Azure Cosmos DB Gremlin graph. */ export interface GremlinGraphGetResults extends ARMResourceProperties { resource?: GremlinGraphGetPropertiesResource; options?: GremlinGraphGetPropertiesOptions; } /** Parameters to create and update Cosmos DB Gremlin graph. */ export interface GremlinGraphCreateUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a Gremlin graph */ resource: GremlinGraphResource; /** A key-value pair of options to be applied for the request. This corresponds to the headers sent with the request. */ options?: CreateUpdateOptions; } /** The access keys for the given database account. */ export interface DatabaseAccountListKeysResult extends DatabaseAccountListReadOnlyKeysResult { /** * Base 64 encoded value of the primary read-write key. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly primaryMasterKey?: string; /** * Base 64 encoded value of the secondary read-write key. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly secondaryMasterKey?: string; } /** The metric values for a single partition. */ export interface PartitionMetric extends Metric { /** * The partition id (GUID identifier) of the metric values. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly partitionId?: string; /** * The partition key range id (integer identifier) of the metric values. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly partitionKeyRangeId?: string; } /** Represents percentile metrics values. */ export interface PercentileMetricValue extends MetricValue { /** * The 10th percentile value for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly p10?: number; /** * The 25th percentile value for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly p25?: number; /** * The 50th percentile value for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly p50?: number; /** * The 75th percentile value for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly p75?: number; /** * The 90th percentile value for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly p90?: number; /** * The 95th percentile value for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly p95?: number; /** * The 99th percentile value for the metric. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly p99?: number; } /** The partition level usage data for a usage request. */ export interface PartitionUsage extends Usage { /** * The partition id (GUID identifier) of the usages. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly partitionId?: string; /** * The partition key range id (integer identifier) of the usages. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly partitionKeyRangeId?: string; } export interface SqlDatabaseGetPropertiesResource extends SqlDatabaseResource, ExtendedResourceProperties { /** A system generated property that specified the addressable path of the collections resource. */ colls?: string; /** A system generated property that specifies the addressable path of the users resource. */ users?: string; } /** Cosmos DB SQL database resource object */ export interface RestorableSqlDatabasePropertiesResourceDatabase extends SqlDatabaseResource, ExtendedResourceProperties { /** * A system generated property that specified the addressable path of the collections resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly colls?: string; /** * A system generated property that specifies the addressable path of the users resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly users?: string; /** * A system generated property that specifies the addressable path of the database resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly self?: string; } export interface ThroughputSettingsGetPropertiesResource extends ThroughputSettingsResource, ExtendedResourceProperties { } export interface SqlContainerGetPropertiesResource extends SqlContainerResource, ExtendedResourceProperties { } export interface ClientEncryptionKeyGetPropertiesResource extends ClientEncryptionKeyResource, ExtendedResourceProperties { } export interface SqlStoredProcedureGetPropertiesResource extends SqlStoredProcedureResource, ExtendedResourceProperties { } export interface SqlUserDefinedFunctionGetPropertiesResource extends SqlUserDefinedFunctionResource, ExtendedResourceProperties { } export interface SqlTriggerGetPropertiesResource extends SqlTriggerResource, ExtendedResourceProperties { } export interface MongoDBDatabaseGetPropertiesResource extends MongoDBDatabaseResource, ExtendedResourceProperties { } export interface MongoDBCollectionGetPropertiesResource extends MongoDBCollectionResource, ExtendedResourceProperties { } export interface TableGetPropertiesResource extends TableResource, ExtendedResourceProperties { } export interface CassandraKeyspaceGetPropertiesResource extends CassandraKeyspaceResource, ExtendedResourceProperties { } export interface CassandraTableGetPropertiesResource extends CassandraTableResource, ExtendedResourceProperties { } export interface GremlinDatabaseGetPropertiesResource extends GremlinDatabaseResource, ExtendedResourceProperties { } export interface GremlinGraphGetPropertiesResource extends GremlinGraphResource, ExtendedResourceProperties { } /** Cosmos DB SQL container resource object */ export interface RestorableSqlContainerPropertiesResourceContainer extends SqlContainerResource, ExtendedResourceProperties { /** * A system generated property that specifies the addressable path of the container resource. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly self?: string; } export interface SqlDatabaseGetPropertiesOptions extends OptionsResource { } export interface SqlContainerGetPropertiesOptions extends OptionsResource { } export interface MongoDBDatabaseGetPropertiesOptions extends OptionsResource { } export interface MongoDBCollectionGetPropertiesOptions extends OptionsResource { } export interface TableGetPropertiesOptions extends OptionsResource { } export interface CassandraKeyspaceGetPropertiesOptions extends OptionsResource { } export interface CassandraTableGetPropertiesOptions extends OptionsResource { } export interface GremlinDatabaseGetPropertiesOptions extends OptionsResource { } export interface GremlinGraphGetPropertiesOptions extends OptionsResource { } /** Client Encryption Key. */ export interface ClientEncryptionKeyGetResults extends ARMProxyResource { resource?: ClientEncryptionKeyGetPropertiesResource; } /** Cosmos DB location get result */ export interface LocationGetResult extends ARMProxyResource { /** Cosmos DB location metadata */ properties?: LocationProperties; } /** A managed Cassandra data center. */ export interface DataCenterResource extends ARMProxyResource { /** Properties of a managed Cassandra data center. */ properties?: DataCenterResourceProperties; } /** An Azure Cosmos DB Mongo Role Definition. */ export interface MongoRoleDefinitionGetResults extends ARMProxyResource { /** A user-friendly name for the Role Definition. Must be unique for the database account. */ roleName?: string; /** Indicates whether the Role Definition was built-in or user created. */ typePropertiesType?: MongoRoleDefinitionType; /** The database name for which access is being granted for this Role Definition. */ databaseName?: string; /** A set of privileges contained by the Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Scopes higher than Database are not enforceable as privilege. */ privileges?: Privilege[]; /** The set of roles inherited by this Role Definition. */ roles?: Role[]; } /** An Azure Cosmos DB User Definition */ export interface MongoUserDefinitionGetResults extends ARMProxyResource { /** The user name for User Definition. */ userName?: string; /** The password for User Definition. Response does not contain user password. */ password?: string; /** The database name for which access is being granted for this User Definition. */ databaseName?: string; /** A custom definition for the USer Definition. */ customData?: string; /** The set of roles inherited by the User Definition. */ roles?: Role[]; /** The Mongo Auth mechanism. For now, we only support auth mechanism SCRAM-SHA-256. */ mechanisms?: string; } /** A notebook workspace resource */ export interface NotebookWorkspace extends ARMProxyResource { /** * Specifies the endpoint of Notebook server. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly notebookServerEndpoint?: string; /** * Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly status?: string; } /** Parameters to create a notebook workspace resource */ export interface NotebookWorkspaceCreateUpdateParameters extends ARMProxyResource { } /** A private link resource */ export interface PrivateLinkResource extends ARMProxyResource { /** * The private link resource group id. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly groupId?: string; /** * The private link resource required member names. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly requiredMembers?: string[]; /** * The private link resource required zone names. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly requiredZoneNames?: string[]; } /** An Azure Cosmos DB SQL Role Definition. */ export interface SqlRoleDefinitionGetResults extends ARMProxyResource { /** A user-friendly name for the Role Definition. Must be unique for the database account. */ roleName?: string; /** Indicates whether the Role Definition was built-in or user created. */ typePropertiesType?: RoleDefinitionType; /** A set of fully qualified Scopes at or below which Role Assignments may be created using this Role Definition. This will allow application of this Role Definition on the entire database account or any underlying Database / Collection. Must have at least one element. Scopes higher than Database account are not enforceable as assignable Scopes. Note that resources referenced in assignable Scopes need not exist. */ assignableScopes?: string[]; /** The set of operations allowed through this Role Definition. */ permissions?: Permission[]; } /** An Azure Cosmos DB Role Assignment */ export interface SqlRoleAssignmentGetResults extends ARMProxyResource { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; } /** Properties for the database account. */ export interface ServiceResource extends ARMProxyResource { /** Services response resource. */ properties?: ServiceResourcePropertiesUnion; } /** Representation of a managed Cassandra cluster. */ export interface ClusterResource extends ManagedCassandraARMResourceProperties { /** Properties of a managed Cassandra cluster. */ properties?: ClusterResourceProperties; } /** Properties for DataTransferServiceResource. */ export interface DataTransferServiceResourceProperties extends ServiceResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "DataTransfer"; /** * An array that contains all of the locations for the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly locations?: DataTransferRegionalServiceResource[]; } /** Properties for SqlDedicatedGatewayServiceResource. */ export interface SqlDedicatedGatewayServiceResourceProperties extends ServiceResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "SqlDedicatedGateway"; /** SqlDedicatedGateway endpoint for the service. */ sqlDedicatedGatewayEndpoint?: string; /** DedicatedGatewayType for the service. */ dedicatedGatewayType?: DedicatedGatewayType; /** * An array that contains all of the locations for the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly locations?: SqlDedicatedGatewayRegionalServiceResource[]; } /** Properties for GraphAPIComputeServiceResource. */ export interface GraphAPIComputeServiceResourceProperties extends ServiceResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "GraphAPICompute"; /** GraphAPICompute endpoint for the service. */ graphApiComputeEndpoint?: string; /** * An array that contains all of the locations for the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly locations?: GraphAPIComputeRegionalServiceResource[]; } /** Properties for MaterializedViewsBuilderServiceResource. */ export interface MaterializedViewsBuilderServiceResourceProperties extends ServiceResourceProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "MaterializedViewsBuilder"; /** * An array that contains all of the locations for the service. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly locations?: MaterializedViewsBuilderRegionalServiceResource[]; } /** Properties for Create or Update request for DataTransferServiceResource */ export interface DataTransferServiceResourceCreateUpdateProperties extends ServiceResourceCreateUpdateProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "DataTransfer"; } /** Properties for Create or Update request for SqlDedicatedGatewayServiceResource */ export interface SqlDedicatedGatewayServiceResourceCreateUpdateProperties extends ServiceResourceCreateUpdateProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "SqlDedicatedGateway"; /** DedicatedGatewayType for the service. */ dedicatedGatewayType?: DedicatedGatewayType; } /** Properties for Create or Update request for GraphAPIComputeServiceResource */ export interface GraphAPIComputeServiceResourceCreateUpdateProperties extends ServiceResourceCreateUpdateProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "GraphAPICompute"; } /** Properties for Create or Update request for MaterializedViewsBuilderServiceResource */ export interface MaterializedViewsBuilderServiceResourceCreateUpdateProperties extends ServiceResourceCreateUpdateProperties { /** Polymorphic discriminator, which specifies the different types this object can be */ serviceType: "MaterializedViewsBuilder"; } /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends ResourceAutoGenerated { /** Resource tags. */ tags?: { [propertyName: string]: string; }; /** The geo-location where the resource lives */ location: string; } /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResourceAutoGenerated extends ResourceAutoGenerated { } /** Resource for a regional service location. */ export interface DataTransferRegionalServiceResource extends RegionalServiceResource { } /** Resource for a regional service location. */ export interface SqlDedicatedGatewayRegionalServiceResource extends RegionalServiceResource { /** * The regional endpoint for SqlDedicatedGateway. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly sqlDedicatedGatewayEndpoint?: string; } /** Resource for a regional service location. */ export interface GraphAPIComputeRegionalServiceResource extends RegionalServiceResource { /** * The regional endpoint for GraphAPICompute. * NOTE: This property will not be serialized. It can only be populated by the server. */ readonly graphApiComputeEndpoint?: string; } /** Resource for a regional service location. */ export interface MaterializedViewsBuilderRegionalServiceResource extends RegionalServiceResource { } /** A private endpoint connection */ export interface PrivateEndpointConnection extends ProxyResource { /** Private endpoint which the connection belongs to. */ privateEndpoint?: PrivateEndpointProperty; /** Connection State of the Private Endpoint Connection. */ privateLinkServiceConnectionState?: PrivateLinkServiceConnectionStateProperty; /** Group id of the private endpoint. */ groupId?: string; /** Provisioning state of the private endpoint. */ provisioningState?: string; } /** An Azure Cosmos DB FleetResource. */ export interface FleetResource extends TrackedResource { /** A provisioning state of the Fleet. */ provisioningState?: Status; } /** An Azure Cosmos DB Fleetspace. */ export interface FleetspaceResource extends ProxyResourceAutoGenerated { /** A provisioning state of the Fleetspace. */ provisioningState?: Status; /** The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL' */ fleetspaceApiKind?: FleetspacePropertiesFleetspaceApiKind; /** Service Tier for the fleetspace. GeneralPurpose types refers to single write region accounts that can be added to this fleetspace, whereas BusinessCritical refers to multi write region. */ serviceTier?: FleetspacePropertiesServiceTier; /** List of data regions assigned to the fleetspace. Eg [westus2] */ dataRegions?: string[]; /** Configuration for throughput pool in the fleetspace. */ throughputPoolConfiguration?: FleetspacePropertiesThroughputPoolConfiguration; } /** An Azure Cosmos DB Fleetspace Account */ export interface FleetspaceAccountResource extends ProxyResourceAutoGenerated { /** A provisioning state of the Fleetspace Account. */ provisioningState?: Status; /** Configuration for fleetspace Account in the fleetspace. */ globalDatabaseAccountProperties?: FleetspaceAccountPropertiesGlobalDatabaseAccountProperties; } /** Defines headers for DatabaseAccounts_delete operation. */ export interface DatabaseAccountsDeleteHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for DatabaseAccounts_failoverPriorityChange operation. */ export interface DatabaseAccountsFailoverPriorityChangeHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for DatabaseAccounts_offlineRegion operation. */ export interface DatabaseAccountsOfflineRegionHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for DatabaseAccounts_onlineRegion operation. */ export interface DatabaseAccountsOnlineRegionHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for DatabaseAccounts_regenerateKey operation. */ export interface DatabaseAccountsRegenerateKeyHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_createUpdateSqlDatabase operation. */ export interface SqlResourcesCreateUpdateSqlDatabaseHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_deleteSqlDatabase operation. */ export interface SqlResourcesDeleteSqlDatabaseHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_updateSqlDatabaseThroughput operation. */ export interface SqlResourcesUpdateSqlDatabaseThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_migrateSqlDatabaseToAutoscale operation. */ export interface SqlResourcesMigrateSqlDatabaseToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_migrateSqlDatabaseToManualThroughput operation. */ export interface SqlResourcesMigrateSqlDatabaseToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_createUpdateSqlContainer operation. */ export interface SqlResourcesCreateUpdateSqlContainerHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_deleteSqlContainer operation. */ export interface SqlResourcesDeleteSqlContainerHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_updateSqlContainerThroughput operation. */ export interface SqlResourcesUpdateSqlContainerThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_migrateSqlContainerToAutoscale operation. */ export interface SqlResourcesMigrateSqlContainerToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_migrateSqlContainerToManualThroughput operation. */ export interface SqlResourcesMigrateSqlContainerToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_createUpdateClientEncryptionKey operation. */ export interface SqlResourcesCreateUpdateClientEncryptionKeyHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_createUpdateSqlStoredProcedure operation. */ export interface SqlResourcesCreateUpdateSqlStoredProcedureHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_deleteSqlStoredProcedure operation. */ export interface SqlResourcesDeleteSqlStoredProcedureHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_createUpdateSqlUserDefinedFunction operation. */ export interface SqlResourcesCreateUpdateSqlUserDefinedFunctionHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_deleteSqlUserDefinedFunction operation. */ export interface SqlResourcesDeleteSqlUserDefinedFunctionHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_createUpdateSqlTrigger operation. */ export interface SqlResourcesCreateUpdateSqlTriggerHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for SqlResources_deleteSqlTrigger operation. */ export interface SqlResourcesDeleteSqlTriggerHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_createUpdateMongoDBDatabase operation. */ export interface MongoDBResourcesCreateUpdateMongoDBDatabaseHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_deleteMongoDBDatabase operation. */ export interface MongoDBResourcesDeleteMongoDBDatabaseHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_updateMongoDBDatabaseThroughput operation. */ export interface MongoDBResourcesUpdateMongoDBDatabaseThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_migrateMongoDBDatabaseToAutoscale operation. */ export interface MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_migrateMongoDBDatabaseToManualThroughput operation. */ export interface MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_createUpdateMongoDBCollection operation. */ export interface MongoDBResourcesCreateUpdateMongoDBCollectionHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_deleteMongoDBCollection operation. */ export interface MongoDBResourcesDeleteMongoDBCollectionHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_updateMongoDBCollectionThroughput operation. */ export interface MongoDBResourcesUpdateMongoDBCollectionThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_migrateMongoDBCollectionToAutoscale operation. */ export interface MongoDBResourcesMigrateMongoDBCollectionToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for MongoDBResources_migrateMongoDBCollectionToManualThroughput operation. */ export interface MongoDBResourcesMigrateMongoDBCollectionToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for TableResources_createUpdateTable operation. */ export interface TableResourcesCreateUpdateTableHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for TableResources_deleteTable operation. */ export interface TableResourcesDeleteTableHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for TableResources_updateTableThroughput operation. */ export interface TableResourcesUpdateTableThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for TableResources_migrateTableToAutoscale operation. */ export interface TableResourcesMigrateTableToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for TableResources_migrateTableToManualThroughput operation. */ export interface TableResourcesMigrateTableToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_createUpdateCassandraKeyspace operation. */ export interface CassandraResourcesCreateUpdateCassandraKeyspaceHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_deleteCassandraKeyspace operation. */ export interface CassandraResourcesDeleteCassandraKeyspaceHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_updateCassandraKeyspaceThroughput operation. */ export interface CassandraResourcesUpdateCassandraKeyspaceThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_migrateCassandraKeyspaceToAutoscale operation. */ export interface CassandraResourcesMigrateCassandraKeyspaceToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_migrateCassandraKeyspaceToManualThroughput operation. */ export interface CassandraResourcesMigrateCassandraKeyspaceToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_createUpdateCassandraTable operation. */ export interface CassandraResourcesCreateUpdateCassandraTableHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_deleteCassandraTable operation. */ export interface CassandraResourcesDeleteCassandraTableHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_updateCassandraTableThroughput operation. */ export interface CassandraResourcesUpdateCassandraTableThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_migrateCassandraTableToAutoscale operation. */ export interface CassandraResourcesMigrateCassandraTableToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for CassandraResources_migrateCassandraTableToManualThroughput operation. */ export interface CassandraResourcesMigrateCassandraTableToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_createUpdateGremlinDatabase operation. */ export interface GremlinResourcesCreateUpdateGremlinDatabaseHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_deleteGremlinDatabase operation. */ export interface GremlinResourcesDeleteGremlinDatabaseHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_updateGremlinDatabaseThroughput operation. */ export interface GremlinResourcesUpdateGremlinDatabaseThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_migrateGremlinDatabaseToAutoscale operation. */ export interface GremlinResourcesMigrateGremlinDatabaseToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_migrateGremlinDatabaseToManualThroughput operation. */ export interface GremlinResourcesMigrateGremlinDatabaseToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_createUpdateGremlinGraph operation. */ export interface GremlinResourcesCreateUpdateGremlinGraphHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_deleteGremlinGraph operation. */ export interface GremlinResourcesDeleteGremlinGraphHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_updateGremlinGraphThroughput operation. */ export interface GremlinResourcesUpdateGremlinGraphThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_migrateGremlinGraphToAutoscale operation. */ export interface GremlinResourcesMigrateGremlinGraphToAutoscaleHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for GremlinResources_migrateGremlinGraphToManualThroughput operation. */ export interface GremlinResourcesMigrateGremlinGraphToManualThroughputHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for Service_create operation. */ export interface ServiceCreateHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for Service_delete operation. */ export interface ServiceDeleteHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for Fleet_delete operation. */ export interface FleetDeleteHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for Fleetspace_update operation. */ export interface FleetspaceUpdateHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for Fleetspace_delete operation. */ export interface FleetspaceDeleteHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Defines headers for FleetspaceAccount_delete operation. */ export interface FleetspaceAccountDeleteHeaders { /** URI to poll for completion status. */ azureAsyncOperation?: string; /** URI to poll for completion status. */ location?: string; } /** Known values of {@link DatabaseAccountKind} that the service accepts. */ export declare enum KnownDatabaseAccountKind { /** GlobalDocumentDB */ GlobalDocumentDB = "GlobalDocumentDB", /** MongoDB */ MongoDB = "MongoDB", /** Parse */ Parse = "Parse" } /** * Defines values for DatabaseAccountKind. \ * {@link KnownDatabaseAccountKind} can be used interchangeably with DatabaseAccountKind, * this enum contains the known values that the service supports. * ### Known values supported by the service * **GlobalDocumentDB** \ * **MongoDB** \ * **Parse** */ export type DatabaseAccountKind = string; /** Known values of {@link ConnectorOffer} that the service accepts. */ export declare enum KnownConnectorOffer { /** Small */ Small = "Small" } /** * Defines values for ConnectorOffer. \ * {@link KnownConnectorOffer} can be used interchangeably with ConnectorOffer, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Small** */ export type ConnectorOffer = string; /** Known values of {@link PublicNetworkAccess} that the service accepts. */ export declare enum KnownPublicNetworkAccess { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled", /** SecuredByPerimeter */ SecuredByPerimeter = "SecuredByPerimeter" } /** * Defines values for PublicNetworkAccess. \ * {@link KnownPublicNetworkAccess} can be used interchangeably with PublicNetworkAccess, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Enabled** \ * **Disabled** \ * **SecuredByPerimeter** */ export type PublicNetworkAccess = string; /** Known values of {@link ServerVersion} that the service accepts. */ export declare enum KnownServerVersion { /** Three2 */ Three2 = "3.2", /** Three6 */ Three6 = "3.6", /** Four0 */ Four0 = "4.0", /** Four2 */ Four2 = "4.2", /** Five0 */ Five0 = "5.0", /** Six0 */ Six0 = "6.0", /** Seven0 */ Seven0 = "7.0" } /** * Defines values for ServerVersion. \ * {@link KnownServerVersion} can be used interchangeably with ServerVersion, * this enum contains the known values that the service supports. * ### Known values supported by the service * **3.2** \ * **3.6** \ * **4.0** \ * **4.2** \ * **5.0** \ * **6.0** \ * **7.0** */ export type ServerVersion = string; /** Known values of {@link AnalyticalStorageSchemaType} that the service accepts. */ export declare enum KnownAnalyticalStorageSchemaType { /** WellDefined */ WellDefined = "WellDefined", /** FullFidelity */ FullFidelity = "FullFidelity" } /** * Defines values for AnalyticalStorageSchemaType. \ * {@link KnownAnalyticalStorageSchemaType} can be used interchangeably with AnalyticalStorageSchemaType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **WellDefined** \ * **FullFidelity** */ export type AnalyticalStorageSchemaType = string; /** Known values of {@link CreateMode} that the service accepts. */ export declare enum KnownCreateMode { /** Default */ Default = "Default", /** Restore */ Restore = "Restore" } /** * Defines values for CreateMode. \ * {@link KnownCreateMode} can be used interchangeably with CreateMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Default** \ * **Restore** */ export type CreateMode = string; /** Known values of {@link RestoreMode} that the service accepts. */ export declare enum KnownRestoreMode { /** PointInTime */ PointInTime = "PointInTime" } /** * Defines values for RestoreMode. \ * {@link KnownRestoreMode} can be used interchangeably with RestoreMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **PointInTime** */ export type RestoreMode = string; /** Known values of {@link BackupPolicyType} that the service accepts. */ export declare enum KnownBackupPolicyType { /** Periodic */ Periodic = "Periodic", /** Continuous */ Continuous = "Continuous" } /** * Defines values for BackupPolicyType. \ * {@link KnownBackupPolicyType} can be used interchangeably with BackupPolicyType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Periodic** \ * **Continuous** */ export type BackupPolicyType = string; /** Known values of {@link BackupPolicyMigrationStatus} that the service accepts. */ export declare enum KnownBackupPolicyMigrationStatus { /** Invalid */ Invalid = "Invalid", /** InProgress */ InProgress = "InProgress", /** Completed */ Completed = "Completed", /** Failed */ Failed = "Failed" } /** * Defines values for BackupPolicyMigrationStatus. \ * {@link KnownBackupPolicyMigrationStatus} can be used interchangeably with BackupPolicyMigrationStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Invalid** \ * **InProgress** \ * **Completed** \ * **Failed** */ export type BackupPolicyMigrationStatus = string; /** Known values of {@link MinimalTlsVersion} that the service accepts. */ export declare enum KnownMinimalTlsVersion { /** Tls */ Tls = "Tls", /** Tls11 */ Tls11 = "Tls11", /** Tls12 */ Tls12 = "Tls12" } /** * Defines values for MinimalTlsVersion. \ * {@link KnownMinimalTlsVersion} can be used interchangeably with MinimalTlsVersion, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Tls** \ * **Tls11** \ * **Tls12** */ export type MinimalTlsVersion = string; /** Known values of {@link DefaultPriorityLevel} that the service accepts. */ export declare enum KnownDefaultPriorityLevel { /** High */ High = "High", /** Low */ Low = "Low" } /** * Defines values for DefaultPriorityLevel. \ * {@link KnownDefaultPriorityLevel} can be used interchangeably with DefaultPriorityLevel, * this enum contains the known values that the service supports. * ### Known values supported by the service * **High** \ * **Low** */ export type DefaultPriorityLevel = string; /** Known values of {@link CreatedByType} that the service accepts. */ export declare enum KnownCreatedByType { /** User */ User = "User", /** Application */ Application = "Application", /** ManagedIdentity */ ManagedIdentity = "ManagedIdentity", /** Key */ Key = "Key" } /** * Defines values for CreatedByType. \ * {@link KnownCreatedByType} can be used interchangeably with CreatedByType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **User** \ * **Application** \ * **ManagedIdentity** \ * **Key** */ export type CreatedByType = string; /** Known values of {@link Kind} that the service accepts. */ export declare enum KnownKind { /** Primary */ Primary = "Primary", /** Secondary */ Secondary = "Secondary", /** PrimaryReadonly */ PrimaryReadonly = "PrimaryReadonly", /** SecondaryReadonly */ SecondaryReadonly = "SecondaryReadonly" } /** * Defines values for Kind. \ * {@link KnownKind} can be used interchangeably with Kind, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Primary** \ * **Secondary** \ * **PrimaryReadonly** \ * **SecondaryReadonly** */ export type Kind = string; /** Known values of {@link Type} that the service accepts. */ export declare enum KnownType { /** Sql */ Sql = "Sql", /** Table */ Table = "Table", /** MongoDB */ MongoDB = "MongoDB", /** Cassandra */ Cassandra = "Cassandra", /** CassandraConnectorMetadata */ CassandraConnectorMetadata = "CassandraConnectorMetadata", /** Gremlin */ Gremlin = "Gremlin", /** SqlDedicatedGateway */ SqlDedicatedGateway = "SqlDedicatedGateway", /** GremlinV2 */ GremlinV2 = "GremlinV2", /** Undefined */ Undefined = "Undefined" } /** * Defines values for Type. \ * {@link KnownType} can be used interchangeably with Type, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Sql** \ * **Table** \ * **MongoDB** \ * **Cassandra** \ * **CassandraConnectorMetadata** \ * **Gremlin** \ * **SqlDedicatedGateway** \ * **GremlinV2** \ * **Undefined** */ export type Type = string; /** Known values of {@link KeyKind} that the service accepts. */ export declare enum KnownKeyKind { /** Primary */ Primary = "primary", /** Secondary */ Secondary = "secondary", /** PrimaryReadonly */ PrimaryReadonly = "primaryReadonly", /** SecondaryReadonly */ SecondaryReadonly = "secondaryReadonly" } /** * Defines values for KeyKind. \ * {@link KnownKeyKind} can be used interchangeably with KeyKind, * this enum contains the known values that the service supports. * ### Known values supported by the service * **primary** \ * **secondary** \ * **primaryReadonly** \ * **secondaryReadonly** */ export type KeyKind = string; /** Known values of {@link UnitType} that the service accepts. */ export declare enum KnownUnitType { /** Count */ Count = "Count", /** Bytes */ Bytes = "Bytes", /** Seconds */ Seconds = "Seconds", /** Percent */ Percent = "Percent", /** CountPerSecond */ CountPerSecond = "CountPerSecond", /** BytesPerSecond */ BytesPerSecond = "BytesPerSecond", /** Milliseconds */ Milliseconds = "Milliseconds" } /** * Defines values for UnitType. \ * {@link KnownUnitType} can be used interchangeably with UnitType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Count** \ * **Bytes** \ * **Seconds** \ * **Percent** \ * **CountPerSecond** \ * **BytesPerSecond** \ * **Milliseconds** */ export type UnitType = string; /** Known values of {@link PrimaryAggregationType} that the service accepts. */ export declare enum KnownPrimaryAggregationType { /** None */ None = "None", /** Average */ Average = "Average", /** Total */ Total = "Total", /** Minimum */ Minimum = "Minimum", /** Maximum */ Maximum = "Maximum", /** Last */ Last = "Last" } /** * Defines values for PrimaryAggregationType. \ * {@link KnownPrimaryAggregationType} can be used interchangeably with PrimaryAggregationType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None** \ * **Average** \ * **Total** \ * **Minimum** \ * **Maximum** \ * **Last** */ export type PrimaryAggregationType = string; /** Known values of {@link IndexingMode} that the service accepts. */ export declare enum KnownIndexingMode { /** Consistent */ Consistent = "consistent", /** Lazy */ Lazy = "lazy", /** None */ None = "none" } /** * Defines values for IndexingMode. \ * {@link KnownIndexingMode} can be used interchangeably with IndexingMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **consistent** \ * **lazy** \ * **none** */ export type IndexingMode = string; /** Known values of {@link DataType} that the service accepts. */ export declare enum KnownDataType { /** String */ String = "String", /** Number */ Number = "Number", /** Point */ Point = "Point", /** Polygon */ Polygon = "Polygon", /** LineString */ LineString = "LineString", /** MultiPolygon */ MultiPolygon = "MultiPolygon" } /** * Defines values for DataType. \ * {@link KnownDataType} can be used interchangeably with DataType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **String** \ * **Number** \ * **Point** \ * **Polygon** \ * **LineString** \ * **MultiPolygon** */ export type DataType = string; /** Known values of {@link IndexKind} that the service accepts. */ export declare enum KnownIndexKind { /** Hash */ Hash = "Hash", /** Range */ Range = "Range", /** Spatial */ Spatial = "Spatial" } /** * Defines values for IndexKind. \ * {@link KnownIndexKind} can be used interchangeably with IndexKind, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Hash** \ * **Range** \ * **Spatial** */ export type IndexKind = string; /** Known values of {@link CompositePathSortOrder} that the service accepts. */ export declare enum KnownCompositePathSortOrder { /** Ascending */ Ascending = "ascending", /** Descending */ Descending = "descending" } /** * Defines values for CompositePathSortOrder. \ * {@link KnownCompositePathSortOrder} can be used interchangeably with CompositePathSortOrder, * this enum contains the known values that the service supports. * ### Known values supported by the service * **ascending** \ * **descending** */ export type CompositePathSortOrder = string; /** Known values of {@link SpatialType} that the service accepts. */ export declare enum KnownSpatialType { /** Point */ Point = "Point", /** LineString */ LineString = "LineString", /** Polygon */ Polygon = "Polygon", /** MultiPolygon */ MultiPolygon = "MultiPolygon" } /** * Defines values for SpatialType. \ * {@link KnownSpatialType} can be used interchangeably with SpatialType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Point** \ * **LineString** \ * **Polygon** \ * **MultiPolygon** */ export type SpatialType = string; /** Known values of {@link VectorIndexType} that the service accepts. */ export declare enum KnownVectorIndexType { /** Flat */ Flat = "flat", /** DiskANN */ DiskANN = "diskANN", /** QuantizedFlat */ QuantizedFlat = "quantizedFlat" } /** * Defines values for VectorIndexType. \ * {@link KnownVectorIndexType} can be used interchangeably with VectorIndexType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **flat** \ * **diskANN** \ * **quantizedFlat** */ export type VectorIndexType = string; /** Known values of {@link PartitionKind} that the service accepts. */ export declare enum KnownPartitionKind { /** Hash */ Hash = "Hash", /** Range */ Range = "Range", /** MultiHash */ MultiHash = "MultiHash" } /** * Defines values for PartitionKind. \ * {@link KnownPartitionKind} can be used interchangeably with PartitionKind, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Hash** \ * **Range** \ * **MultiHash** */ export type PartitionKind = string; /** Known values of {@link ConflictResolutionMode} that the service accepts. */ export declare enum KnownConflictResolutionMode { /** LastWriterWins */ LastWriterWins = "LastWriterWins", /** Custom */ Custom = "Custom" } /** * Defines values for ConflictResolutionMode. \ * {@link KnownConflictResolutionMode} can be used interchangeably with ConflictResolutionMode, * this enum contains the known values that the service supports. * ### Known values supported by the service * **LastWriterWins** \ * **Custom** */ export type ConflictResolutionMode = string; /** Known values of {@link VectorDataType} that the service accepts. */ export declare enum KnownVectorDataType { /** Float32 */ Float32 = "float32", /** Uint8 */ Uint8 = "uint8", /** Int8 */ Int8 = "int8", /** Float16 */ Float16 = "float16" } /** * Defines values for VectorDataType. \ * {@link KnownVectorDataType} can be used interchangeably with VectorDataType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **float32** \ * **uint8** \ * **int8** \ * **float16** */ export type VectorDataType = string; /** Known values of {@link DistanceFunction} that the service accepts. */ export declare enum KnownDistanceFunction { /** Euclidean */ Euclidean = "euclidean", /** Cosine */ Cosine = "cosine", /** Dotproduct */ Dotproduct = "dotproduct" } /** * Defines values for DistanceFunction. \ * {@link KnownDistanceFunction} can be used interchangeably with DistanceFunction, * this enum contains the known values that the service supports. * ### Known values supported by the service * **euclidean** \ * **cosine** \ * **dotproduct** */ export type DistanceFunction = string; /** Known values of {@link TriggerType} that the service accepts. */ export declare enum KnownTriggerType { /** Pre */ Pre = "Pre", /** Post */ Post = "Post" } /** * Defines values for TriggerType. \ * {@link KnownTriggerType} can be used interchangeably with TriggerType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Pre** \ * **Post** */ export type TriggerType = string; /** Known values of {@link TriggerOperation} that the service accepts. */ export declare enum KnownTriggerOperation { /** All */ All = "All", /** Create */ Create = "Create", /** Update */ Update = "Update", /** Delete */ Delete = "Delete", /** Replace */ Replace = "Replace" } /** * Defines values for TriggerOperation. \ * {@link KnownTriggerOperation} can be used interchangeably with TriggerOperation, * this enum contains the known values that the service supports. * ### Known values supported by the service * **All** \ * **Create** \ * **Update** \ * **Delete** \ * **Replace** */ export type TriggerOperation = string; /** Known values of {@link BackupStorageRedundancy} that the service accepts. */ export declare enum KnownBackupStorageRedundancy { /** Geo */ Geo = "Geo", /** Local */ Local = "Local", /** Zone */ Zone = "Zone" } /** * Defines values for BackupStorageRedundancy. \ * {@link KnownBackupStorageRedundancy} can be used interchangeably with BackupStorageRedundancy, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Geo** \ * **Local** \ * **Zone** */ export type BackupStorageRedundancy = string; /** Known values of {@link Status} that the service accepts. */ export declare enum KnownStatus { /** Uninitialized */ Uninitialized = "Uninitialized", /** Initializing */ Initializing = "Initializing", /** InternallyReady */ InternallyReady = "InternallyReady", /** Online */ Online = "Online", /** Deleting */ Deleting = "Deleting", /** Creating */ Creating = "Creating", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled", /** Updating */ Updating = "Updating" } /** * Defines values for Status. \ * {@link KnownStatus} can be used interchangeably with Status, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Uninitialized** \ * **Initializing** \ * **InternallyReady** \ * **Online** \ * **Deleting** \ * **Creating** \ * **Succeeded** \ * **Failed** \ * **Canceled** \ * **Updating** */ export type Status = string; /** Known values of {@link ManagedCassandraProvisioningState} that the service accepts. */ export declare enum KnownManagedCassandraProvisioningState { /** Creating */ Creating = "Creating", /** Updating */ Updating = "Updating", /** Deleting */ Deleting = "Deleting", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled" } /** * Defines values for ManagedCassandraProvisioningState. \ * {@link KnownManagedCassandraProvisioningState} can be used interchangeably with ManagedCassandraProvisioningState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating** \ * **Updating** \ * **Deleting** \ * **Succeeded** \ * **Failed** \ * **Canceled** */ export type ManagedCassandraProvisioningState = string; /** Known values of {@link AuthenticationMethod} that the service accepts. */ export declare enum KnownAuthenticationMethod { /** None */ None = "None", /** Cassandra */ Cassandra = "Cassandra", /** Ldap */ Ldap = "Ldap" } /** * Defines values for AuthenticationMethod. \ * {@link KnownAuthenticationMethod} can be used interchangeably with AuthenticationMethod, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None** \ * **Cassandra** \ * **Ldap** */ export type AuthenticationMethod = string; /** Known values of {@link AzureConnectionType} that the service accepts. */ export declare enum KnownAzureConnectionType { /** None */ None = "None", /** VPN */ VPN = "VPN" } /** * Defines values for AzureConnectionType. \ * {@link KnownAzureConnectionType} can be used interchangeably with AzureConnectionType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None** \ * **VPN** */ export type AzureConnectionType = string; /** Known values of {@link ManagedCassandraResourceIdentityType} that the service accepts. */ export declare enum KnownManagedCassandraResourceIdentityType { /** SystemAssigned */ SystemAssigned = "SystemAssigned", /** None */ None = "None" } /** * Defines values for ManagedCassandraResourceIdentityType. \ * {@link KnownManagedCassandraResourceIdentityType} can be used interchangeably with ManagedCassandraResourceIdentityType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **SystemAssigned** \ * **None** */ export type ManagedCassandraResourceIdentityType = string; /** Known values of {@link ConnectionState} that the service accepts. */ export declare enum KnownConnectionState { /** Unknown */ Unknown = "Unknown", /** OK */ OK = "OK", /** OperatorToDataCenterNetworkError */ OperatorToDataCenterNetworkError = "OperatorToDataCenterNetworkError", /** DatacenterToDatacenterNetworkError */ DatacenterToDatacenterNetworkError = "DatacenterToDatacenterNetworkError", /** InternalOperatorToDataCenterCertificateError */ InternalOperatorToDataCenterCertificateError = "InternalOperatorToDataCenterCertificateError", /** InternalError */ InternalError = "InternalError" } /** * Defines values for ConnectionState. \ * {@link KnownConnectionState} can be used interchangeably with ConnectionState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Unknown** \ * **OK** \ * **OperatorToDataCenterNetworkError** \ * **DatacenterToDatacenterNetworkError** \ * **InternalOperatorToDataCenterCertificateError** \ * **InternalError** */ export type ConnectionState = string; /** Known values of {@link NodeState} that the service accepts. */ export declare enum KnownNodeState { /** Normal */ Normal = "Normal", /** Leaving */ Leaving = "Leaving", /** Joining */ Joining = "Joining", /** Moving */ Moving = "Moving", /** Stopped */ Stopped = "Stopped" } /** * Defines values for NodeState. \ * {@link KnownNodeState} can be used interchangeably with NodeState, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Normal** \ * **Leaving** \ * **Joining** \ * **Moving** \ * **Stopped** */ export type NodeState = string; /** Known values of {@link NotebookWorkspaceName} that the service accepts. */ export declare enum KnownNotebookWorkspaceName { /** Default */ Default = "default" } /** * Defines values for NotebookWorkspaceName. \ * {@link KnownNotebookWorkspaceName} can be used interchangeably with NotebookWorkspaceName, * this enum contains the known values that the service supports. * ### Known values supported by the service * **default** */ export type NotebookWorkspaceName = string; /** Known values of {@link ApiType} that the service accepts. */ export declare enum KnownApiType { /** MongoDB */ MongoDB = "MongoDB", /** Gremlin */ Gremlin = "Gremlin", /** Cassandra */ Cassandra = "Cassandra", /** Table */ Table = "Table", /** Sql */ Sql = "Sql", /** GremlinV2 */ GremlinV2 = "GremlinV2" } /** * Defines values for ApiType. \ * {@link KnownApiType} can be used interchangeably with ApiType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **MongoDB** \ * **Gremlin** \ * **Cassandra** \ * **Table** \ * **Sql** \ * **GremlinV2** */ export type ApiType = string; /** Known values of {@link OperationType} that the service accepts. */ export declare enum KnownOperationType { /** Create */ Create = "Create", /** Replace */ Replace = "Replace", /** Delete */ Delete = "Delete", /** Recreate */ Recreate = "Recreate", /** SystemOperation */ SystemOperation = "SystemOperation" } /** * Defines values for OperationType. \ * {@link KnownOperationType} can be used interchangeably with OperationType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Create** \ * **Replace** \ * **Delete** \ * **Recreate** \ * **SystemOperation** */ export type OperationType = string; /** Known values of {@link ServiceSize} that the service accepts. */ export declare enum KnownServiceSize { /** CosmosD4S */ CosmosD4S = "Cosmos.D4s", /** CosmosD8S */ CosmosD8S = "Cosmos.D8s", /** CosmosD16S */ CosmosD16S = "Cosmos.D16s" } /** * Defines values for ServiceSize. \ * {@link KnownServiceSize} can be used interchangeably with ServiceSize, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Cosmos.D4s** \ * **Cosmos.D8s** \ * **Cosmos.D16s** */ export type ServiceSize = string; /** Known values of {@link ServiceType} that the service accepts. */ export declare enum KnownServiceType { /** SqlDedicatedGateway */ SqlDedicatedGateway = "SqlDedicatedGateway", /** DataTransfer */ DataTransfer = "DataTransfer", /** GraphAPICompute */ GraphAPICompute = "GraphAPICompute", /** MaterializedViewsBuilder */ MaterializedViewsBuilder = "MaterializedViewsBuilder" } /** * Defines values for ServiceType. \ * {@link KnownServiceType} can be used interchangeably with ServiceType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **SqlDedicatedGateway** \ * **DataTransfer** \ * **GraphAPICompute** \ * **MaterializedViewsBuilder** */ export type ServiceType = string; /** Known values of {@link ServiceStatus} that the service accepts. */ export declare enum KnownServiceStatus { /** Creating */ Creating = "Creating", /** Running */ Running = "Running", /** Updating */ Updating = "Updating", /** Deleting */ Deleting = "Deleting", /** Error */ Error = "Error", /** Stopped */ Stopped = "Stopped" } /** * Defines values for ServiceStatus. \ * {@link KnownServiceStatus} can be used interchangeably with ServiceStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Creating** \ * **Running** \ * **Updating** \ * **Deleting** \ * **Error** \ * **Stopped** */ export type ServiceStatus = string; /** Known values of {@link FleetspacePropertiesFleetspaceApiKind} that the service accepts. */ export declare enum KnownFleetspacePropertiesFleetspaceApiKind { /** NoSQL */ NoSQL = "NoSQL" } /** * Defines values for FleetspacePropertiesFleetspaceApiKind. \ * {@link KnownFleetspacePropertiesFleetspaceApiKind} can be used interchangeably with FleetspacePropertiesFleetspaceApiKind, * this enum contains the known values that the service supports. * ### Known values supported by the service * **NoSQL** */ export type FleetspacePropertiesFleetspaceApiKind = string; /** Known values of {@link FleetspacePropertiesServiceTier} that the service accepts. */ export declare enum KnownFleetspacePropertiesServiceTier { /** GeneralPurpose */ GeneralPurpose = "GeneralPurpose", /** BusinessCritical */ BusinessCritical = "BusinessCritical" } /** * Defines values for FleetspacePropertiesServiceTier. \ * {@link KnownFleetspacePropertiesServiceTier} can be used interchangeably with FleetspacePropertiesServiceTier, * this enum contains the known values that the service supports. * ### Known values supported by the service * **GeneralPurpose** \ * **BusinessCritical** */ export type FleetspacePropertiesServiceTier = string; /** Known values of {@link ContinuousTier} that the service accepts. */ export declare enum KnownContinuousTier { /** Continuous7Days */ Continuous7Days = "Continuous7Days", /** Continuous30Days */ Continuous30Days = "Continuous30Days" } /** * Defines values for ContinuousTier. \ * {@link KnownContinuousTier} can be used interchangeably with ContinuousTier, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Continuous7Days** \ * **Continuous30Days** */ export type ContinuousTier = string; /** Known values of {@link DedicatedGatewayType} that the service accepts. */ export declare enum KnownDedicatedGatewayType { /** IntegratedCache */ IntegratedCache = "IntegratedCache", /** DistributedQuery */ DistributedQuery = "DistributedQuery" } /** * Defines values for DedicatedGatewayType. \ * {@link KnownDedicatedGatewayType} can be used interchangeably with DedicatedGatewayType, * this enum contains the known values that the service supports. * ### Known values supported by the service * **IntegratedCache** \ * **DistributedQuery** */ export type DedicatedGatewayType = string; /** Known values of {@link NodeStatus} that the service accepts. */ export declare enum KnownNodeStatus { /** Up */ Up = "Up", /** Down */ Down = "Down" } /** * Defines values for NodeStatus. \ * {@link KnownNodeStatus} can be used interchangeably with NodeStatus, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Up** \ * **Down** */ export type NodeStatus = string; /** Defines values for ResourceIdentityType. */ export type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned" | "None"; /** Defines values for DefaultConsistencyLevel. */ export type DefaultConsistencyLevel = "Eventual" | "Session" | "BoundedStaleness" | "Strong" | "ConsistentPrefix"; /** Defines values for NetworkAclBypass. */ export type NetworkAclBypass = "None" | "AzureServices"; /** Defines values for MongoRoleDefinitionType. */ export type MongoRoleDefinitionType = "BuiltInRole" | "CustomRole"; /** Defines values for RoleDefinitionType. */ export type RoleDefinitionType = "BuiltInRole" | "CustomRole"; /** Optional parameters. */ export interface DatabaseAccountsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type DatabaseAccountsGetResponse = DatabaseAccountGetResults; /** Optional parameters. */ export interface DatabaseAccountsUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export type DatabaseAccountsUpdateResponse = DatabaseAccountGetResults; /** Optional parameters. */ export interface DatabaseAccountsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export type DatabaseAccountsCreateOrUpdateResponse = DatabaseAccountGetResults; /** Optional parameters. */ export interface DatabaseAccountsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export type DatabaseAccountsDeleteResponse = DatabaseAccountsDeleteHeaders; /** Optional parameters. */ export interface DatabaseAccountsFailoverPriorityChangeOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the failoverPriorityChange operation. */ export type DatabaseAccountsFailoverPriorityChangeResponse = DatabaseAccountsFailoverPriorityChangeHeaders; /** Optional parameters. */ export interface DatabaseAccountsListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type DatabaseAccountsListResponse = DatabaseAccountsListResult; /** Optional parameters. */ export interface DatabaseAccountsListByResourceGroupOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroup operation. */ export type DatabaseAccountsListByResourceGroupResponse = DatabaseAccountsListResult; /** Optional parameters. */ export interface DatabaseAccountsListKeysOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listKeys operation. */ export type DatabaseAccountsListKeysResponse = DatabaseAccountListKeysResult; /** Optional parameters. */ export interface DatabaseAccountsListConnectionStringsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listConnectionStrings operation. */ export type DatabaseAccountsListConnectionStringsResponse = DatabaseAccountListConnectionStringsResult; /** Optional parameters. */ export interface DatabaseAccountsOfflineRegionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface DatabaseAccountsOnlineRegionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface DatabaseAccountsGetReadOnlyKeysOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getReadOnlyKeys operation. */ export type DatabaseAccountsGetReadOnlyKeysResponse = DatabaseAccountListReadOnlyKeysResult; /** Optional parameters. */ export interface DatabaseAccountsListReadOnlyKeysOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listReadOnlyKeys operation. */ export type DatabaseAccountsListReadOnlyKeysResponse = DatabaseAccountListReadOnlyKeysResult; /** Optional parameters. */ export interface DatabaseAccountsRegenerateKeyOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface DatabaseAccountsCheckNameExistsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the checkNameExists operation. */ export type DatabaseAccountsCheckNameExistsResponse = { body: boolean; }; /** Optional parameters. */ export interface DatabaseAccountsListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type DatabaseAccountsListMetricsResponse = MetricListResult; /** Optional parameters. */ export interface DatabaseAccountsListUsagesOptionalParams extends coreClient.OperationOptions { /** An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). */ filter?: string; } /** Contains response data for the listUsages operation. */ export type DatabaseAccountsListUsagesResponse = UsagesResult; /** Optional parameters. */ export interface DatabaseAccountsListMetricDefinitionsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetricDefinitions operation. */ export type DatabaseAccountsListMetricDefinitionsResponse = MetricDefinitionsListResult; /** Optional parameters. */ export interface OperationsListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type OperationsListResponse = OperationListResult; /** Optional parameters. */ export interface OperationsListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export type OperationsListNextResponse = OperationListResult; /** Optional parameters. */ export interface DatabaseListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type DatabaseListMetricsResponse = MetricListResult; /** Optional parameters. */ export interface DatabaseListUsagesOptionalParams extends coreClient.OperationOptions { /** An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). */ filter?: string; } /** Contains response data for the listUsages operation. */ export type DatabaseListUsagesResponse = UsagesResult; /** Optional parameters. */ export interface DatabaseListMetricDefinitionsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetricDefinitions operation. */ export type DatabaseListMetricDefinitionsResponse = MetricDefinitionsListResult; /** Optional parameters. */ export interface CollectionListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type CollectionListMetricsResponse = MetricListResult; /** Optional parameters. */ export interface CollectionListUsagesOptionalParams extends coreClient.OperationOptions { /** An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). */ filter?: string; } /** Contains response data for the listUsages operation. */ export type CollectionListUsagesResponse = UsagesResult; /** Optional parameters. */ export interface CollectionListMetricDefinitionsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetricDefinitions operation. */ export type CollectionListMetricDefinitionsResponse = MetricDefinitionsListResult; /** Optional parameters. */ export interface CollectionRegionListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type CollectionRegionListMetricsResponse = MetricListResult; /** Optional parameters. */ export interface DatabaseAccountRegionListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type DatabaseAccountRegionListMetricsResponse = MetricListResult; /** Optional parameters. */ export interface PercentileSourceTargetListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type PercentileSourceTargetListMetricsResponse = PercentileMetricListResult; /** Optional parameters. */ export interface PercentileTargetListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type PercentileTargetListMetricsResponse = PercentileMetricListResult; /** Optional parameters. */ export interface PercentileListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type PercentileListMetricsResponse = PercentileMetricListResult; /** Optional parameters. */ export interface CollectionPartitionRegionListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type CollectionPartitionRegionListMetricsResponse = PartitionMetricListResult; /** Optional parameters. */ export interface CollectionPartitionListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type CollectionPartitionListMetricsResponse = PartitionMetricListResult; /** Optional parameters. */ export interface CollectionPartitionListUsagesOptionalParams extends coreClient.OperationOptions { /** An OData filter expression that describes a subset of usages to return. The supported parameter is name.value (name of the metric, can have an or of multiple names). */ filter?: string; } /** Contains response data for the listUsages operation. */ export type CollectionPartitionListUsagesResponse = PartitionUsagesResult; /** Optional parameters. */ export interface PartitionKeyRangeIdListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type PartitionKeyRangeIdListMetricsResponse = PartitionMetricListResult; /** Optional parameters. */ export interface PartitionKeyRangeIdRegionListMetricsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMetrics operation. */ export type PartitionKeyRangeIdRegionListMetricsResponse = PartitionMetricListResult; /** Optional parameters. */ export interface SqlResourcesListSqlDatabasesOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listSqlDatabases operation. */ export type SqlResourcesListSqlDatabasesResponse = SqlDatabaseListResult; /** Optional parameters. */ export interface SqlResourcesGetSqlDatabaseOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlDatabase operation. */ export type SqlResourcesGetSqlDatabaseResponse = SqlDatabaseGetResults; /** Optional parameters. */ export interface SqlResourcesCreateUpdateSqlDatabaseOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateSqlDatabase operation. */ export type SqlResourcesCreateUpdateSqlDatabaseResponse = SqlDatabaseGetResults; /** Optional parameters. */ export interface SqlResourcesDeleteSqlDatabaseOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteSqlDatabase operation. */ export type SqlResourcesDeleteSqlDatabaseResponse = SqlResourcesDeleteSqlDatabaseHeaders; /** Optional parameters. */ export interface SqlResourcesGetSqlDatabaseThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlDatabaseThroughput operation. */ export type SqlResourcesGetSqlDatabaseThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface SqlResourcesUpdateSqlDatabaseThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateSqlDatabaseThroughput operation. */ export type SqlResourcesUpdateSqlDatabaseThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface SqlResourcesMigrateSqlDatabaseToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateSqlDatabaseToAutoscale operation. */ export type SqlResourcesMigrateSqlDatabaseToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface SqlResourcesMigrateSqlDatabaseToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateSqlDatabaseToManualThroughput operation. */ export type SqlResourcesMigrateSqlDatabaseToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface SqlResourcesListSqlContainersOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listSqlContainers operation. */ export type SqlResourcesListSqlContainersResponse = SqlContainerListResult; /** Optional parameters. */ export interface SqlResourcesGetSqlContainerOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlContainer operation. */ export type SqlResourcesGetSqlContainerResponse = SqlContainerGetResults; /** Optional parameters. */ export interface SqlResourcesCreateUpdateSqlContainerOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateSqlContainer operation. */ export type SqlResourcesCreateUpdateSqlContainerResponse = SqlContainerGetResults; /** Optional parameters. */ export interface SqlResourcesDeleteSqlContainerOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteSqlContainer operation. */ export type SqlResourcesDeleteSqlContainerResponse = SqlResourcesDeleteSqlContainerHeaders; /** Optional parameters. */ export interface SqlResourcesGetSqlContainerThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlContainerThroughput operation. */ export type SqlResourcesGetSqlContainerThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface SqlResourcesUpdateSqlContainerThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateSqlContainerThroughput operation. */ export type SqlResourcesUpdateSqlContainerThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface SqlResourcesMigrateSqlContainerToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateSqlContainerToAutoscale operation. */ export type SqlResourcesMigrateSqlContainerToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface SqlResourcesMigrateSqlContainerToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateSqlContainerToManualThroughput operation. */ export type SqlResourcesMigrateSqlContainerToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface SqlResourcesListClientEncryptionKeysOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listClientEncryptionKeys operation. */ export type SqlResourcesListClientEncryptionKeysResponse = ClientEncryptionKeysListResult; /** Optional parameters. */ export interface SqlResourcesGetClientEncryptionKeyOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getClientEncryptionKey operation. */ export type SqlResourcesGetClientEncryptionKeyResponse = ClientEncryptionKeyGetResults; /** Optional parameters. */ export interface SqlResourcesCreateUpdateClientEncryptionKeyOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateClientEncryptionKey operation. */ export type SqlResourcesCreateUpdateClientEncryptionKeyResponse = ClientEncryptionKeyGetResults; /** Optional parameters. */ export interface SqlResourcesListSqlStoredProceduresOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listSqlStoredProcedures operation. */ export type SqlResourcesListSqlStoredProceduresResponse = SqlStoredProcedureListResult; /** Optional parameters. */ export interface SqlResourcesGetSqlStoredProcedureOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlStoredProcedure operation. */ export type SqlResourcesGetSqlStoredProcedureResponse = SqlStoredProcedureGetResults; /** Optional parameters. */ export interface SqlResourcesCreateUpdateSqlStoredProcedureOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateSqlStoredProcedure operation. */ export type SqlResourcesCreateUpdateSqlStoredProcedureResponse = SqlStoredProcedureGetResults; /** Optional parameters. */ export interface SqlResourcesDeleteSqlStoredProcedureOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteSqlStoredProcedure operation. */ export type SqlResourcesDeleteSqlStoredProcedureResponse = SqlResourcesDeleteSqlStoredProcedureHeaders; /** Optional parameters. */ export interface SqlResourcesListSqlUserDefinedFunctionsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listSqlUserDefinedFunctions operation. */ export type SqlResourcesListSqlUserDefinedFunctionsResponse = SqlUserDefinedFunctionListResult; /** Optional parameters. */ export interface SqlResourcesGetSqlUserDefinedFunctionOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlUserDefinedFunction operation. */ export type SqlResourcesGetSqlUserDefinedFunctionResponse = SqlUserDefinedFunctionGetResults; /** Optional parameters. */ export interface SqlResourcesCreateUpdateSqlUserDefinedFunctionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateSqlUserDefinedFunction operation. */ export type SqlResourcesCreateUpdateSqlUserDefinedFunctionResponse = SqlUserDefinedFunctionGetResults; /** Optional parameters. */ export interface SqlResourcesDeleteSqlUserDefinedFunctionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteSqlUserDefinedFunction operation. */ export type SqlResourcesDeleteSqlUserDefinedFunctionResponse = SqlResourcesDeleteSqlUserDefinedFunctionHeaders; /** Optional parameters. */ export interface SqlResourcesListSqlTriggersOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listSqlTriggers operation. */ export type SqlResourcesListSqlTriggersResponse = SqlTriggerListResult; /** Optional parameters. */ export interface SqlResourcesGetSqlTriggerOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlTrigger operation. */ export type SqlResourcesGetSqlTriggerResponse = SqlTriggerGetResults; /** Optional parameters. */ export interface SqlResourcesCreateUpdateSqlTriggerOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateSqlTrigger operation. */ export type SqlResourcesCreateUpdateSqlTriggerResponse = SqlTriggerGetResults; /** Optional parameters. */ export interface SqlResourcesDeleteSqlTriggerOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteSqlTrigger operation. */ export type SqlResourcesDeleteSqlTriggerResponse = SqlResourcesDeleteSqlTriggerHeaders; /** Optional parameters. */ export interface SqlResourcesGetSqlRoleDefinitionOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlRoleDefinition operation. */ export type SqlResourcesGetSqlRoleDefinitionResponse = SqlRoleDefinitionGetResults; /** Optional parameters. */ export interface SqlResourcesCreateUpdateSqlRoleDefinitionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateSqlRoleDefinition operation. */ export type SqlResourcesCreateUpdateSqlRoleDefinitionResponse = SqlRoleDefinitionGetResults; /** Optional parameters. */ export interface SqlResourcesDeleteSqlRoleDefinitionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface SqlResourcesListSqlRoleDefinitionsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listSqlRoleDefinitions operation. */ export type SqlResourcesListSqlRoleDefinitionsResponse = SqlRoleDefinitionListResult; /** Optional parameters. */ export interface SqlResourcesGetSqlRoleAssignmentOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getSqlRoleAssignment operation. */ export type SqlResourcesGetSqlRoleAssignmentResponse = SqlRoleAssignmentGetResults; /** Optional parameters. */ export interface SqlResourcesCreateUpdateSqlRoleAssignmentOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateSqlRoleAssignment operation. */ export type SqlResourcesCreateUpdateSqlRoleAssignmentResponse = SqlRoleAssignmentGetResults; /** Optional parameters. */ export interface SqlResourcesDeleteSqlRoleAssignmentOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface SqlResourcesListSqlRoleAssignmentsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listSqlRoleAssignments operation. */ export type SqlResourcesListSqlRoleAssignmentsResponse = SqlRoleAssignmentListResult; /** Optional parameters. */ export interface SqlResourcesRetrieveContinuousBackupInformationOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the retrieveContinuousBackupInformation operation. */ export type SqlResourcesRetrieveContinuousBackupInformationResponse = BackupInformation; /** Optional parameters. */ export interface MongoDBResourcesListMongoDBDatabasesOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMongoDBDatabases operation. */ export type MongoDBResourcesListMongoDBDatabasesResponse = MongoDBDatabaseListResult; /** Optional parameters. */ export interface MongoDBResourcesGetMongoDBDatabaseOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getMongoDBDatabase operation. */ export type MongoDBResourcesGetMongoDBDatabaseResponse = MongoDBDatabaseGetResults; /** Optional parameters. */ export interface MongoDBResourcesCreateUpdateMongoDBDatabaseOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateMongoDBDatabase operation. */ export type MongoDBResourcesCreateUpdateMongoDBDatabaseResponse = MongoDBDatabaseGetResults; /** Optional parameters. */ export interface MongoDBResourcesDeleteMongoDBDatabaseOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteMongoDBDatabase operation. */ export type MongoDBResourcesDeleteMongoDBDatabaseResponse = MongoDBResourcesDeleteMongoDBDatabaseHeaders; /** Optional parameters. */ export interface MongoDBResourcesGetMongoDBDatabaseThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getMongoDBDatabaseThroughput operation. */ export type MongoDBResourcesGetMongoDBDatabaseThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface MongoDBResourcesUpdateMongoDBDatabaseThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateMongoDBDatabaseThroughput operation. */ export type MongoDBResourcesUpdateMongoDBDatabaseThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateMongoDBDatabaseToAutoscale operation. */ export type MongoDBResourcesMigrateMongoDBDatabaseToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateMongoDBDatabaseToManualThroughput operation. */ export type MongoDBResourcesMigrateMongoDBDatabaseToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface MongoDBResourcesListMongoDBCollectionsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMongoDBCollections operation. */ export type MongoDBResourcesListMongoDBCollectionsResponse = MongoDBCollectionListResult; /** Optional parameters. */ export interface MongoDBResourcesGetMongoDBCollectionOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getMongoDBCollection operation. */ export type MongoDBResourcesGetMongoDBCollectionResponse = MongoDBCollectionGetResults; /** Optional parameters. */ export interface MongoDBResourcesCreateUpdateMongoDBCollectionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateMongoDBCollection operation. */ export type MongoDBResourcesCreateUpdateMongoDBCollectionResponse = MongoDBCollectionGetResults; /** Optional parameters. */ export interface MongoDBResourcesDeleteMongoDBCollectionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteMongoDBCollection operation. */ export type MongoDBResourcesDeleteMongoDBCollectionResponse = MongoDBResourcesDeleteMongoDBCollectionHeaders; /** Optional parameters. */ export interface MongoDBResourcesGetMongoDBCollectionThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getMongoDBCollectionThroughput operation. */ export type MongoDBResourcesGetMongoDBCollectionThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface MongoDBResourcesUpdateMongoDBCollectionThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateMongoDBCollectionThroughput operation. */ export type MongoDBResourcesUpdateMongoDBCollectionThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface MongoDBResourcesMigrateMongoDBCollectionToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateMongoDBCollectionToAutoscale operation. */ export type MongoDBResourcesMigrateMongoDBCollectionToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface MongoDBResourcesMigrateMongoDBCollectionToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateMongoDBCollectionToManualThroughput operation. */ export type MongoDBResourcesMigrateMongoDBCollectionToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface MongoDBResourcesGetMongoRoleDefinitionOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getMongoRoleDefinition operation. */ export type MongoDBResourcesGetMongoRoleDefinitionResponse = MongoRoleDefinitionGetResults; /** Optional parameters. */ export interface MongoDBResourcesCreateUpdateMongoRoleDefinitionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateMongoRoleDefinition operation. */ export type MongoDBResourcesCreateUpdateMongoRoleDefinitionResponse = MongoRoleDefinitionGetResults; /** Optional parameters. */ export interface MongoDBResourcesDeleteMongoRoleDefinitionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface MongoDBResourcesListMongoRoleDefinitionsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMongoRoleDefinitions operation. */ export type MongoDBResourcesListMongoRoleDefinitionsResponse = MongoRoleDefinitionListResult; /** Optional parameters. */ export interface MongoDBResourcesGetMongoUserDefinitionOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getMongoUserDefinition operation. */ export type MongoDBResourcesGetMongoUserDefinitionResponse = MongoUserDefinitionGetResults; /** Optional parameters. */ export interface MongoDBResourcesCreateUpdateMongoUserDefinitionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateMongoUserDefinition operation. */ export type MongoDBResourcesCreateUpdateMongoUserDefinitionResponse = MongoUserDefinitionGetResults; /** Optional parameters. */ export interface MongoDBResourcesDeleteMongoUserDefinitionOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface MongoDBResourcesListMongoUserDefinitionsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listMongoUserDefinitions operation. */ export type MongoDBResourcesListMongoUserDefinitionsResponse = MongoUserDefinitionListResult; /** Optional parameters. */ export interface MongoDBResourcesRetrieveContinuousBackupInformationOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the retrieveContinuousBackupInformation operation. */ export type MongoDBResourcesRetrieveContinuousBackupInformationResponse = BackupInformation; /** Optional parameters. */ export interface TableResourcesListTablesOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listTables operation. */ export type TableResourcesListTablesResponse = TableListResult; /** Optional parameters. */ export interface TableResourcesGetTableOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getTable operation. */ export type TableResourcesGetTableResponse = TableGetResults; /** Optional parameters. */ export interface TableResourcesCreateUpdateTableOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateTable operation. */ export type TableResourcesCreateUpdateTableResponse = TableGetResults; /** Optional parameters. */ export interface TableResourcesDeleteTableOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteTable operation. */ export type TableResourcesDeleteTableResponse = TableResourcesDeleteTableHeaders; /** Optional parameters. */ export interface TableResourcesGetTableThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getTableThroughput operation. */ export type TableResourcesGetTableThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface TableResourcesUpdateTableThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateTableThroughput operation. */ export type TableResourcesUpdateTableThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface TableResourcesMigrateTableToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateTableToAutoscale operation. */ export type TableResourcesMigrateTableToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface TableResourcesMigrateTableToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateTableToManualThroughput operation. */ export type TableResourcesMigrateTableToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface TableResourcesRetrieveContinuousBackupInformationOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the retrieveContinuousBackupInformation operation. */ export type TableResourcesRetrieveContinuousBackupInformationResponse = BackupInformation; /** Optional parameters. */ export interface CassandraResourcesListCassandraKeyspacesOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listCassandraKeyspaces operation. */ export type CassandraResourcesListCassandraKeyspacesResponse = CassandraKeyspaceListResult; /** Optional parameters. */ export interface CassandraResourcesGetCassandraKeyspaceOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getCassandraKeyspace operation. */ export type CassandraResourcesGetCassandraKeyspaceResponse = CassandraKeyspaceGetResults; /** Optional parameters. */ export interface CassandraResourcesCreateUpdateCassandraKeyspaceOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateCassandraKeyspace operation. */ export type CassandraResourcesCreateUpdateCassandraKeyspaceResponse = CassandraKeyspaceGetResults; /** Optional parameters. */ export interface CassandraResourcesDeleteCassandraKeyspaceOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteCassandraKeyspace operation. */ export type CassandraResourcesDeleteCassandraKeyspaceResponse = CassandraResourcesDeleteCassandraKeyspaceHeaders; /** Optional parameters. */ export interface CassandraResourcesGetCassandraKeyspaceThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getCassandraKeyspaceThroughput operation. */ export type CassandraResourcesGetCassandraKeyspaceThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface CassandraResourcesUpdateCassandraKeyspaceThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateCassandraKeyspaceThroughput operation. */ export type CassandraResourcesUpdateCassandraKeyspaceThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface CassandraResourcesMigrateCassandraKeyspaceToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateCassandraKeyspaceToAutoscale operation. */ export type CassandraResourcesMigrateCassandraKeyspaceToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface CassandraResourcesMigrateCassandraKeyspaceToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateCassandraKeyspaceToManualThroughput operation. */ export type CassandraResourcesMigrateCassandraKeyspaceToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface CassandraResourcesListCassandraTablesOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listCassandraTables operation. */ export type CassandraResourcesListCassandraTablesResponse = CassandraTableListResult; /** Optional parameters. */ export interface CassandraResourcesGetCassandraTableOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getCassandraTable operation. */ export type CassandraResourcesGetCassandraTableResponse = CassandraTableGetResults; /** Optional parameters. */ export interface CassandraResourcesCreateUpdateCassandraTableOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateCassandraTable operation. */ export type CassandraResourcesCreateUpdateCassandraTableResponse = CassandraTableGetResults; /** Optional parameters. */ export interface CassandraResourcesDeleteCassandraTableOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteCassandraTable operation. */ export type CassandraResourcesDeleteCassandraTableResponse = CassandraResourcesDeleteCassandraTableHeaders; /** Optional parameters. */ export interface CassandraResourcesGetCassandraTableThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getCassandraTableThroughput operation. */ export type CassandraResourcesGetCassandraTableThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface CassandraResourcesUpdateCassandraTableThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateCassandraTableThroughput operation. */ export type CassandraResourcesUpdateCassandraTableThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface CassandraResourcesMigrateCassandraTableToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateCassandraTableToAutoscale operation. */ export type CassandraResourcesMigrateCassandraTableToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface CassandraResourcesMigrateCassandraTableToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateCassandraTableToManualThroughput operation. */ export type CassandraResourcesMigrateCassandraTableToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesListGremlinDatabasesOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listGremlinDatabases operation. */ export type GremlinResourcesListGremlinDatabasesResponse = GremlinDatabaseListResult; /** Optional parameters. */ export interface GremlinResourcesGetGremlinDatabaseOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getGremlinDatabase operation. */ export type GremlinResourcesGetGremlinDatabaseResponse = GremlinDatabaseGetResults; /** Optional parameters. */ export interface GremlinResourcesCreateUpdateGremlinDatabaseOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateGremlinDatabase operation. */ export type GremlinResourcesCreateUpdateGremlinDatabaseResponse = GremlinDatabaseGetResults; /** Optional parameters. */ export interface GremlinResourcesDeleteGremlinDatabaseOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteGremlinDatabase operation. */ export type GremlinResourcesDeleteGremlinDatabaseResponse = GremlinResourcesDeleteGremlinDatabaseHeaders; /** Optional parameters. */ export interface GremlinResourcesGetGremlinDatabaseThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getGremlinDatabaseThroughput operation. */ export type GremlinResourcesGetGremlinDatabaseThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesUpdateGremlinDatabaseThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateGremlinDatabaseThroughput operation. */ export type GremlinResourcesUpdateGremlinDatabaseThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesMigrateGremlinDatabaseToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateGremlinDatabaseToAutoscale operation. */ export type GremlinResourcesMigrateGremlinDatabaseToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesMigrateGremlinDatabaseToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateGremlinDatabaseToManualThroughput operation. */ export type GremlinResourcesMigrateGremlinDatabaseToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesListGremlinGraphsOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listGremlinGraphs operation. */ export type GremlinResourcesListGremlinGraphsResponse = GremlinGraphListResult; /** Optional parameters. */ export interface GremlinResourcesGetGremlinGraphOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getGremlinGraph operation. */ export type GremlinResourcesGetGremlinGraphResponse = GremlinGraphGetResults; /** Optional parameters. */ export interface GremlinResourcesCreateUpdateGremlinGraphOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdateGremlinGraph operation. */ export type GremlinResourcesCreateUpdateGremlinGraphResponse = GremlinGraphGetResults; /** Optional parameters. */ export interface GremlinResourcesDeleteGremlinGraphOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the deleteGremlinGraph operation. */ export type GremlinResourcesDeleteGremlinGraphResponse = GremlinResourcesDeleteGremlinGraphHeaders; /** Optional parameters. */ export interface GremlinResourcesGetGremlinGraphThroughputOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getGremlinGraphThroughput operation. */ export type GremlinResourcesGetGremlinGraphThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesUpdateGremlinGraphThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the updateGremlinGraphThroughput operation. */ export type GremlinResourcesUpdateGremlinGraphThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesMigrateGremlinGraphToAutoscaleOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateGremlinGraphToAutoscale operation. */ export type GremlinResourcesMigrateGremlinGraphToAutoscaleResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesMigrateGremlinGraphToManualThroughputOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the migrateGremlinGraphToManualThroughput operation. */ export type GremlinResourcesMigrateGremlinGraphToManualThroughputResponse = ThroughputSettingsGetResults; /** Optional parameters. */ export interface GremlinResourcesRetrieveContinuousBackupInformationOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the retrieveContinuousBackupInformation operation. */ export type GremlinResourcesRetrieveContinuousBackupInformationResponse = BackupInformation; /** Optional parameters. */ export interface LocationsListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type LocationsListResponse = LocationListResult; /** Optional parameters. */ export interface LocationsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type LocationsGetResponse = LocationGetResult; /** Optional parameters. */ export interface CassandraClustersListBySubscriptionOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listBySubscription operation. */ export type CassandraClustersListBySubscriptionResponse = ListClusters; /** Optional parameters. */ export interface CassandraClustersListByResourceGroupOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroup operation. */ export type CassandraClustersListByResourceGroupResponse = ListClusters; /** Optional parameters. */ export interface CassandraClustersGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type CassandraClustersGetResponse = ClusterResource; /** Optional parameters. */ export interface CassandraClustersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface CassandraClustersCreateUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdate operation. */ export type CassandraClustersCreateUpdateResponse = ClusterResource; /** Optional parameters. */ export interface CassandraClustersUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export type CassandraClustersUpdateResponse = ClusterResource; /** Optional parameters. */ export interface CassandraClustersInvokeCommandOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the invokeCommand operation. */ export type CassandraClustersInvokeCommandResponse = CommandOutput; /** Optional parameters. */ export interface CassandraClustersDeallocateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface CassandraClustersStartOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface CassandraClustersStatusOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the status operation. */ export type CassandraClustersStatusResponse = CassandraClusterPublicStatus; /** Optional parameters. */ export interface CassandraDataCentersListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type CassandraDataCentersListResponse = ListDataCenters; /** Optional parameters. */ export interface CassandraDataCentersGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type CassandraDataCentersGetResponse = DataCenterResource; /** Optional parameters. */ export interface CassandraDataCentersDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface CassandraDataCentersCreateUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createUpdate operation. */ export type CassandraDataCentersCreateUpdateResponse = DataCenterResource; /** Optional parameters. */ export interface CassandraDataCentersUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export type CassandraDataCentersUpdateResponse = DataCenterResource; /** Optional parameters. */ export interface NotebookWorkspacesListByDatabaseAccountOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDatabaseAccount operation. */ export type NotebookWorkspacesListByDatabaseAccountResponse = NotebookWorkspaceListResult; /** Optional parameters. */ export interface NotebookWorkspacesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type NotebookWorkspacesGetResponse = NotebookWorkspace; /** Optional parameters. */ export interface NotebookWorkspacesCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export type NotebookWorkspacesCreateOrUpdateResponse = NotebookWorkspace; /** Optional parameters. */ export interface NotebookWorkspacesDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface NotebookWorkspacesListConnectionInfoOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listConnectionInfo operation. */ export type NotebookWorkspacesListConnectionInfoResponse = NotebookWorkspaceConnectionInfoResult; /** Optional parameters. */ export interface NotebookWorkspacesRegenerateAuthTokenOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface NotebookWorkspacesStartOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface PrivateEndpointConnectionsListByDatabaseAccountOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDatabaseAccount operation. */ export type PrivateEndpointConnectionsListByDatabaseAccountResponse = PrivateEndpointConnectionListResult; /** Optional parameters. */ export interface PrivateEndpointConnectionsGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type PrivateEndpointConnectionsGetResponse = PrivateEndpointConnection; /** Optional parameters. */ export interface PrivateEndpointConnectionsCreateOrUpdateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the createOrUpdate operation. */ export type PrivateEndpointConnectionsCreateOrUpdateResponse = PrivateEndpointConnection; /** Optional parameters. */ export interface PrivateEndpointConnectionsDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface PrivateLinkResourcesListByDatabaseAccountOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByDatabaseAccount operation. */ export type PrivateLinkResourcesListByDatabaseAccountResponse = PrivateLinkResourceListResult; /** Optional parameters. */ export interface PrivateLinkResourcesGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type PrivateLinkResourcesGetResponse = PrivateLinkResource; /** Optional parameters. */ export interface RestorableDatabaseAccountsListByLocationOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByLocation operation. */ export type RestorableDatabaseAccountsListByLocationResponse = RestorableDatabaseAccountsListResult; /** Optional parameters. */ export interface RestorableDatabaseAccountsListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type RestorableDatabaseAccountsListResponse = RestorableDatabaseAccountsListResult; /** Optional parameters. */ export interface RestorableDatabaseAccountsGetByLocationOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the getByLocation operation. */ export type RestorableDatabaseAccountsGetByLocationResponse = RestorableDatabaseAccountGetResult; /** Optional parameters. */ export interface RestorableSqlDatabasesListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type RestorableSqlDatabasesListResponse = RestorableSqlDatabasesListResult; /** Optional parameters. */ export interface RestorableSqlContainersListOptionalParams extends coreClient.OperationOptions { /** The resource ID of the SQL database. */ restorableSqlDatabaseRid?: string; /** Restorable Sql containers event feed start time. */ startTime?: string; /** Restorable Sql containers event feed end time. */ endTime?: string; } /** Contains response data for the list operation. */ export type RestorableSqlContainersListResponse = RestorableSqlContainersListResult; /** Optional parameters. */ export interface RestorableSqlResourcesListOptionalParams extends coreClient.OperationOptions { /** The location where the restorable resources are located. */ restoreLocation?: string; /** The timestamp when the restorable resources existed. */ restoreTimestampInUtc?: string; } /** Contains response data for the list operation. */ export type RestorableSqlResourcesListResponse = RestorableSqlResourcesListResult; /** Optional parameters. */ export interface RestorableMongodbDatabasesListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type RestorableMongodbDatabasesListResponse = RestorableMongodbDatabasesListResult; /** Optional parameters. */ export interface RestorableMongodbCollectionsListOptionalParams extends coreClient.OperationOptions { /** Restorable MongoDB collections event feed start time. */ startTime?: string; /** Restorable MongoDB collections event feed end time. */ endTime?: string; /** The resource ID of the MongoDB database. */ restorableMongodbDatabaseRid?: string; } /** Contains response data for the list operation. */ export type RestorableMongodbCollectionsListResponse = RestorableMongodbCollectionsListResult; /** Optional parameters. */ export interface RestorableMongodbResourcesListOptionalParams extends coreClient.OperationOptions { /** The location where the restorable resources are located. */ restoreLocation?: string; /** The timestamp when the restorable resources existed. */ restoreTimestampInUtc?: string; } /** Contains response data for the list operation. */ export type RestorableMongodbResourcesListResponse = RestorableMongodbResourcesListResult; /** Optional parameters. */ export interface RestorableGremlinDatabasesListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type RestorableGremlinDatabasesListResponse = RestorableGremlinDatabasesListResult; /** Optional parameters. */ export interface RestorableGremlinGraphsListOptionalParams extends coreClient.OperationOptions { /** Restorable Gremlin graphs event feed start time. */ startTime?: string; /** Restorable Gremlin graphs event feed end time. */ endTime?: string; /** The resource ID of the Gremlin database. */ restorableGremlinDatabaseRid?: string; } /** Contains response data for the list operation. */ export type RestorableGremlinGraphsListResponse = RestorableGremlinGraphsListResult; /** Optional parameters. */ export interface RestorableGremlinResourcesListOptionalParams extends coreClient.OperationOptions { /** The location where the restorable resources are located. */ restoreLocation?: string; /** The timestamp when the restorable resources existed. */ restoreTimestampInUtc?: string; } /** Contains response data for the list operation. */ export type RestorableGremlinResourcesListResponse = RestorableGremlinResourcesListResult; /** Optional parameters. */ export interface RestorableTablesListOptionalParams extends coreClient.OperationOptions { /** Restorable Tables event feed start time. */ startTime?: string; /** Restorable Tables event feed end time. */ endTime?: string; } /** Contains response data for the list operation. */ export type RestorableTablesListResponse = RestorableTablesListResult; /** Optional parameters. */ export interface RestorableTableResourcesListOptionalParams extends coreClient.OperationOptions { /** The location where the restorable resources are located. */ restoreLocation?: string; /** The timestamp when the restorable resources existed. */ restoreTimestampInUtc?: string; } /** Contains response data for the list operation. */ export type RestorableTableResourcesListResponse = RestorableTableResourcesListResult; /** Optional parameters. */ export interface ServiceListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type ServiceListResponse = ServiceResourceListResult; /** Optional parameters. */ export interface ServiceCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the create operation. */ export type ServiceCreateResponse = ServiceResource; /** Optional parameters. */ export interface ServiceGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type ServiceGetResponse = ServiceResource; /** Optional parameters. */ export interface ServiceDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Optional parameters. */ export interface FleetListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type FleetListResponse = FleetListResult; /** Optional parameters. */ export interface FleetListByResourceGroupOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroup operation. */ export type FleetListByResourceGroupResponse = FleetListResult; /** Optional parameters. */ export interface FleetGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type FleetGetResponse = FleetResource; /** Optional parameters. */ export interface FleetCreateOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the create operation. */ export type FleetCreateResponse = FleetResource; /** Optional parameters. */ export interface FleetUpdateOptionalParams extends coreClient.OperationOptions { /** The parameters to provide for the current fleet. */ body?: FleetResourceUpdate; } /** Contains response data for the update operation. */ export type FleetUpdateResponse = FleetResource; /** Optional parameters. */ export interface FleetDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export type FleetDeleteResponse = FleetDeleteHeaders; /** Optional parameters. */ export interface FleetListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export type FleetListNextResponse = FleetListResult; /** Optional parameters. */ export interface FleetListByResourceGroupNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listByResourceGroupNext operation. */ export type FleetListByResourceGroupNextResponse = FleetListResult; /** Optional parameters. */ export interface FleetspaceListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type FleetspaceListResponse = FleetspaceListResult; /** Optional parameters. */ export interface FleetspaceGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type FleetspaceGetResponse = FleetspaceResource; /** Optional parameters. */ export interface FleetspaceCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the create operation. */ export type FleetspaceCreateResponse = FleetspaceResource; /** Optional parameters. */ export interface FleetspaceUpdateOptionalParams extends coreClient.OperationOptions { /** The parameters to provide for the current fleetspace. */ body?: FleetspaceUpdate; /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the update operation. */ export type FleetspaceUpdateResponse = FleetspaceResource; /** Optional parameters. */ export interface FleetspaceDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export type FleetspaceDeleteResponse = FleetspaceDeleteHeaders; /** Optional parameters. */ export interface FleetspaceListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export type FleetspaceListNextResponse = FleetspaceListResult; /** Optional parameters. */ export interface FleetspaceAccountListOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the list operation. */ export type FleetspaceAccountListResponse = FleetspaceAccountListResult; /** Optional parameters. */ export interface FleetspaceAccountGetOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the get operation. */ export type FleetspaceAccountGetResponse = FleetspaceAccountResource; /** Optional parameters. */ export interface FleetspaceAccountCreateOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the create operation. */ export type FleetspaceAccountCreateResponse = FleetspaceAccountResource; /** Optional parameters. */ export interface FleetspaceAccountDeleteOptionalParams extends coreClient.OperationOptions { /** Delay to wait until next poll, in milliseconds. */ updateIntervalInMs?: number; /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */ resumeFrom?: string; } /** Contains response data for the delete operation. */ export type FleetspaceAccountDeleteResponse = FleetspaceAccountDeleteHeaders; /** Optional parameters. */ export interface FleetspaceAccountListNextOptionalParams extends coreClient.OperationOptions { } /** Contains response data for the listNext operation. */ export type FleetspaceAccountListNextResponse = FleetspaceAccountListResult; /** Optional parameters. */ export interface CosmosDBManagementClientOptionalParams extends coreClient.ServiceClientOptions { /** server parameter */ $host?: string; /** Api Version */ apiVersion?: string; /** Overrides client endpoint. */ endpoint?: string; } //# sourceMappingURL=index.d.ts.map