/** * This file contains only generated model types and their (de)serializers. * Disable the following rules for internal models with '_' prefix and deserializers which require 'any' for raw JSON input. */ /** 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; } export declare function _operationListResultDeserializer(item: any): _OperationListResult; export declare function operationArrayDeserializer(result: Array): any[]; /** REST API operation */ export interface Operation { /** Operation name: {provider}/{resource}/{operation} */ name?: string; /** The object that represents the operation. */ display?: OperationDisplay; } export declare function operationDeserializer(item: any): Operation; /** 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; } export declare function operationDisplayDeserializer(item: any): OperationDisplay; /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. */ export interface ErrorResponse { /** The error object. */ error?: ErrorDetail; } export declare function errorResponseDeserializer(item: any): ErrorResponse; /** The error detail. */ export interface ErrorDetail { /** The error code. */ readonly code?: string; /** The error message. */ readonly message?: string; /** The error target. */ readonly target?: string; /** The error details. */ readonly details?: ErrorDetail[]; /** The error additional info. */ readonly additionalInfo?: ErrorAdditionalInfo[]; } export declare function errorDetailDeserializer(item: any): ErrorDetail; export declare function errorDetailArrayDeserializer(result: Array): any[]; export declare function errorAdditionalInfoArrayDeserializer(result: Array): any[]; /** The resource management error additional info. */ export interface ErrorAdditionalInfo { /** The additional info type. */ readonly type?: string; /** The additional info. */ readonly info?: any; } export declare function errorAdditionalInfoDeserializer(item: any): ErrorAdditionalInfo; /** An Azure Cosmos DB database account. */ export interface DatabaseAccountGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; /** Indicates the type of database account. This can only be set at database account creation. */ kind?: DatabaseAccountKind; /** The provisioning state of the resource. */ readonly provisioningState?: string; /** The connection endpoint for the Cosmos DB database account. */ readonly documentEndpoint?: string; /** The offer type for the Cosmos DB database account. Default value: Standard. */ 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. */ readonly writeLocations?: Location[]; /** An array that contains of the read locations enabled for the Cosmos DB account. */ readonly readLocations?: Location[]; /** An array that contains all of the locations enabled for the Cosmos DB account. */ readonly locations?: Location[]; /** An array that contains the regions ordered by their failover priorities. */ 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. */ 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 */ 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. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ enableBurstCapacity?: boolean; /** Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */ customerManagedKeyStatus?: string; /** The version of the Customer Managed Key currently being used by the account */ 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; /** Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** Flag to indicate enabling/disabling of hierarchical partition key ID last level enforcement on the account. */ enforceHierarchicalPartitionKeyIdLastLevel?: boolean; } export declare function databaseAccountGetResultsDeserializer(item: any): DatabaseAccountGetResults; /** Properties for the database account. */ export interface DatabaseAccountGetProperties { /** The provisioning state of the resource. */ readonly provisioningState?: string; /** The connection endpoint for the Cosmos DB database account. */ readonly documentEndpoint?: string; /** The offer type for the Cosmos DB database account. Default value: Standard. */ 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. */ readonly writeLocations?: Location[]; /** An array that contains of the read locations enabled for the Cosmos DB account. */ readonly readLocations?: Location[]; /** An array that contains all of the locations enabled for the Cosmos DB account. */ readonly locations?: Location[]; /** An array that contains the regions ordered by their failover priorities. */ 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. */ 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 */ 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. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ enableBurstCapacity?: boolean; /** Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** Indicates the status of the Customer Managed Key feature on the account. In case there are errors, the property provides troubleshooting guidance. */ customerManagedKeyStatus?: string; /** The version of the Customer Managed Key currently being used by the account */ 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; /** Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** Flag to indicate enabling/disabling of hierarchical partition key ID last level enforcement on the account. */ enforceHierarchicalPartitionKeyIdLastLevel?: boolean; } export declare function databaseAccountGetPropertiesDeserializer(item: any): DatabaseAccountGetProperties; export declare function ipAddressOrRangeArraySerializer(result: Array): any[]; export declare function ipAddressOrRangeArrayDeserializer(result: Array): any[]; /** 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; } export declare function ipAddressOrRangeSerializer(item: IpAddressOrRange): any; export declare function ipAddressOrRangeDeserializer(item: any): IpAddressOrRange; /** 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; } export declare function consistencyPolicySerializer(item: ConsistencyPolicy): any; export declare function consistencyPolicyDeserializer(item: any): ConsistencyPolicy; /** The default consistency level and configuration settings of the Cosmos DB account. */ export type DefaultConsistencyLevel = "Eventual" | "Session" | "BoundedStaleness" | "Strong" | "ConsistentPrefix"; export declare function capabilityArraySerializer(result: Array): any[]; export declare function capabilityArrayDeserializer(result: Array): any[]; /** 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; } export declare function capabilitySerializer(item: Capability): any; export declare function capabilityDeserializer(item: any): Capability; export declare function locationArraySerializer(result: Array): any[]; export declare function locationArrayDeserializer(result: Array): any[]; /** 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>. */ 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/ */ readonly documentEndpoint?: string; /** The provisioning state of the resource. */ 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; } export declare function locationSerializer(item: Location): any; export declare function locationDeserializer(item: any): Location; export declare function failoverPolicyArraySerializer(result: Array): any[]; export declare function failoverPolicyArrayDeserializer(result: Array): any[]; /** 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>. */ 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; } export declare function failoverPolicySerializer(item: FailoverPolicy): any; export declare function failoverPolicyDeserializer(item: any): FailoverPolicy; export declare function virtualNetworkRuleArraySerializer(result: Array): any[]; export declare function virtualNetworkRuleArrayDeserializer(result: Array): any[]; /** 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; } export declare function virtualNetworkRuleSerializer(item: VirtualNetworkRule): any; export declare function virtualNetworkRuleDeserializer(item: any): VirtualNetworkRule; export declare function privateEndpointConnectionArraySerializer(result: Array): any[]; export declare function privateEndpointConnectionArrayDeserializer(result: Array): any[]; /** 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; } export declare function privateEndpointConnectionSerializer(item: PrivateEndpointConnection): any; export declare function privateEndpointConnectionDeserializer(item: any): PrivateEndpointConnection; /** Properties of a private endpoint connection. */ export interface PrivateEndpointConnectionProperties { /** 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; } export declare function privateEndpointConnectionPropertiesSerializer(item: PrivateEndpointConnectionProperties): any; export declare function privateEndpointConnectionPropertiesDeserializer(item: any): PrivateEndpointConnectionProperties; /** Private endpoint which the connection belongs to. */ export interface PrivateEndpointProperty { /** Resource id of the private endpoint. */ id?: string; } export declare function privateEndpointPropertySerializer(item: PrivateEndpointProperty): any; export declare function privateEndpointPropertyDeserializer(item: any): PrivateEndpointProperty; /** 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) */ readonly actionsRequired?: string; } export declare function privateLinkServiceConnectionStatePropertySerializer(item: PrivateLinkServiceConnectionStateProperty): any; export declare function privateLinkServiceConnectionStatePropertyDeserializer(item: any): PrivateLinkServiceConnectionStateProperty; /** The cassandra connector offer type for the Cosmos DB C* database account. */ export declare enum KnownConnectorOffer { /** Small */ Small = "Small" } /** * The cassandra connector offer type for the Cosmos DB C* database account. \ * {@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; /** Whether requests from Public Network are allowed */ export declare enum KnownPublicNetworkAccess { /** Enabled */ Enabled = "Enabled", /** Disabled */ Disabled = "Disabled", /** SecuredByPerimeter */ SecuredByPerimeter = "SecuredByPerimeter" } /** * Whether requests from Public Network are allowed \ * {@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; /** model interface ApiProperties */ export interface ApiProperties { /** Describes the version of the MongoDB account. */ serverVersion?: ServerVersion; } export declare function apiPropertiesSerializer(item: ApiProperties): any; export declare function apiPropertiesDeserializer(item: any): ApiProperties; /** Describes the version of the MongoDB account. */ export declare enum KnownServerVersion { /** 3.2 */ Three2 = "3.2", /** 3.6 */ Three6 = "3.6", /** 4.0 */ Four0 = "4.0", /** 4.2 */ Four2 = "4.2", /** 5.0 */ Five0 = "5.0", /** 6.0 */ Six0 = "6.0", /** 7.0 */ Seven0 = "7.0" } /** * Describes the version of the MongoDB account. \ * {@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; /** Analytical storage specific properties. */ export interface AnalyticalStorageConfiguration { /** Describes the types of schema for analytical storage. */ schemaType?: AnalyticalStorageSchemaType; } export declare function analyticalStorageConfigurationSerializer(item: AnalyticalStorageConfiguration): any; export declare function analyticalStorageConfigurationDeserializer(item: any): AnalyticalStorageConfiguration; /** Describes the types of schema for analytical storage. */ export declare enum KnownAnalyticalStorageSchemaType { /** WellDefined */ WellDefined = "WellDefined", /** FullFidelity */ FullFidelity = "FullFidelity" } /** * Describes the types of schema for analytical storage. \ * {@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; /** Enum to indicate the mode of account creation. */ export declare enum KnownCreateMode { /** Default */ Default = "Default", /** Restore */ Restore = "Restore" } /** * Enum to indicate the mode of account creation. \ * {@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; /** Parameters to indicate the information about the restore. */ export interface RestoreParameters extends RestoreParametersBase { /** Describes the mode of the restore. */ restoreMode?: RestoreMode; /** 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; /** 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; } export declare function restoreParametersSerializer(item: RestoreParameters): any; export declare function restoreParametersDeserializer(item: any): RestoreParameters; /** Describes the mode of the restore. */ export declare enum KnownRestoreMode { /** PointInTime */ PointInTime = "PointInTime" } /** * Describes the mode of the restore. \ * {@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; export declare function databaseRestoreResourceArraySerializer(result: Array): any[]; export declare function databaseRestoreResourceArrayDeserializer(result: Array): any[]; /** 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[]; } export declare function databaseRestoreResourceSerializer(item: DatabaseRestoreResource): any; export declare function databaseRestoreResourceDeserializer(item: any): DatabaseRestoreResource; export declare function gremlinDatabaseRestoreResourceArraySerializer(result: Array): any[]; export declare function gremlinDatabaseRestoreResourceArrayDeserializer(result: Array): any[]; /** 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[]; } export declare function gremlinDatabaseRestoreResourceSerializer(item: GremlinDatabaseRestoreResource): any; export declare function gremlinDatabaseRestoreResourceDeserializer(item: any): GremlinDatabaseRestoreResource; /** The object representing the policy for taking backups on an account. */ export interface BackupPolicy { /** Describes the mode of backups. */ /** The discriminator possible values: Periodic, Continuous */ type: BackupPolicyType; /** The object representing the state of the migration between the backup policies. */ migrationState?: BackupPolicyMigrationState; } export declare function backupPolicySerializer(item: BackupPolicy): any; export declare function backupPolicyDeserializer(item: any): BackupPolicy; /** Alias for BackupPolicyUnion */ export type BackupPolicyUnion = PeriodicModeBackupPolicy | ContinuousModeBackupPolicy | BackupPolicy; export declare function backupPolicyUnionSerializer(item: BackupPolicyUnion): any; export declare function backupPolicyUnionDeserializer(item: any): BackupPolicyUnion; /** Describes the mode of backups. */ export declare enum KnownBackupPolicyType { /** Periodic */ Periodic = "Periodic", /** Continuous */ Continuous = "Continuous" } /** * Describes the mode of backups. \ * {@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; /** 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; } export declare function backupPolicyMigrationStateSerializer(item: BackupPolicyMigrationState): any; export declare function backupPolicyMigrationStateDeserializer(item: any): BackupPolicyMigrationState; /** Describes the status of migration between backup policy types. */ export declare enum KnownBackupPolicyMigrationStatus { /** Invalid */ Invalid = "Invalid", /** InProgress */ InProgress = "InProgress", /** Completed */ Completed = "Completed", /** Failed */ Failed = "Failed" } /** * Describes the status of migration between backup policy types. \ * {@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; /** The object representing periodic mode backup policy. */ export interface PeriodicModeBackupPolicy extends BackupPolicy { /** Configuration values for periodic mode backup */ periodicModeProperties?: PeriodicModeProperties; /** Describes the mode of backups. */ type: "Periodic"; } export declare function periodicModeBackupPolicySerializer(item: PeriodicModeBackupPolicy): any; export declare function periodicModeBackupPolicyDeserializer(item: any): PeriodicModeBackupPolicy; /** 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; } export declare function periodicModePropertiesSerializer(item: PeriodicModeProperties): any; export declare function periodicModePropertiesDeserializer(item: any): PeriodicModeProperties; /** Enum to indicate type of backup storage redundancy. */ export declare enum KnownBackupStorageRedundancy { /** Geo */ Geo = "Geo", /** Local */ Local = "Local", /** Zone */ Zone = "Zone" } /** * Enum to indicate type of backup storage redundancy. \ * {@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; /** The object representing continuous mode backup policy. */ export interface ContinuousModeBackupPolicy extends BackupPolicy { /** Configuration values for continuous mode backup */ continuousModeProperties?: ContinuousModeProperties; /** Describes the mode of backups. */ type: "Continuous"; } export declare function continuousModeBackupPolicySerializer(item: ContinuousModeBackupPolicy): any; export declare function continuousModeBackupPolicyDeserializer(item: any): ContinuousModeBackupPolicy; /** Configuration values for periodic mode backup */ export interface ContinuousModeProperties { /** Enum to indicate type of Continuos backup mode */ tier?: ContinuousTier; } export declare function continuousModePropertiesSerializer(item: ContinuousModeProperties): any; export declare function continuousModePropertiesDeserializer(item: any): ContinuousModeProperties; /** Enum to indicate type of Continuous backup tier. */ export declare enum KnownContinuousTier { /** Continuous7Days */ Continuous7Days = "Continuous7Days", /** Continuous30Days */ Continuous30Days = "Continuous30Days" } /** * Enum to indicate type of Continuous backup tier. \ * {@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; export declare function corsPolicyArraySerializer(result: Array): any[]; export declare function corsPolicyArrayDeserializer(result: Array): any[]; /** 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; } export declare function corsPolicySerializer(item: CorsPolicy): any; export declare function corsPolicyDeserializer(item: any): CorsPolicy; /** Indicates what services are allowed to bypass firewall checks. */ export type NetworkAclBypass = "None" | "AzureServices"; /** 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; } export declare function capacitySerializer(item: Capacity): any; export declare function capacityDeserializer(item: any): Capacity; /** 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. */ readonly primaryMasterKey?: AccountKeyMetadata; /** The metadata related to the Secondary Read-Write Key for the given Cosmos DB database account. */ readonly secondaryMasterKey?: AccountKeyMetadata; /** The metadata related to the Primary Read-Only Key for the given Cosmos DB database account. */ readonly primaryReadonlyMasterKey?: AccountKeyMetadata; /** The metadata related to the Secondary Read-Only Key for the given Cosmos DB database account. */ readonly secondaryReadonlyMasterKey?: AccountKeyMetadata; } export declare function databaseAccountKeysMetadataDeserializer(item: any): DatabaseAccountKeysMetadata; /** 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. */ readonly generationTime?: Date; } export declare function accountKeyMetadataDeserializer(item: any): AccountKeyMetadata; /** Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. */ export declare enum KnownMinimalTlsVersion { /** Tls */ Tls = "Tls", /** Tls11 */ Tls11 = "Tls11", /** Tls12 */ Tls12 = "Tls12" } /** * Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. \ * {@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; /** Enum to indicate default priorityLevel of requests */ export declare enum KnownDefaultPriorityLevel { /** High */ High = "High", /** Low */ Low = "Low" } /** * Enum to indicate default priorityLevel of requests \ * {@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; /** 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. */ readonly principalId?: string; /** The tenant id of the system assigned identity. This property will only be provided for a system assigned identity. */ 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?: Record; } export declare function managedServiceIdentitySerializer(item: ManagedServiceIdentity): any; export declare function managedServiceIdentityDeserializer(item: any): ManagedServiceIdentity; /** 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. */ export type ResourceIdentityType = "SystemAssigned" | "UserAssigned" | "SystemAssigned,UserAssigned" | "None"; export declare function components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalpropertiesRecordSerializer(item: Record): Record; export declare function components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalpropertiesRecordDeserializer(item: Record): Record; /** model interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties */ export interface Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties { /** The principal id of user assigned identity. */ readonly principalId?: string; /** The client id of user assigned identity. */ readonly clientId?: string; } export declare function components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalpropertiesSerializer(_item: Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties): any; export declare function components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalpropertiesDeserializer(item: any): Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties; /** Indicates the type of database account. This can only be set at database account creation. */ export declare enum KnownDatabaseAccountKind { /** GlobalDocumentDB */ GlobalDocumentDB = "GlobalDocumentDB", /** MongoDB */ MongoDB = "MongoDB", /** Parse */ Parse = "Parse" } /** * Indicates the type of database account. This can only be set at database account creation. \ * {@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; /** The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location */ export interface ProxyResource extends Resource { } export declare function proxyResourceSerializer(_item: ProxyResource): any; export declare function proxyResourceDeserializer(item: any): ProxyResource; /** 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} */ readonly id?: string; /** The name of the resource */ readonly name?: string; /** The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type?: string; /** Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData?: SystemData; } export declare function resourceSerializer(_item: Resource): any; export declare function resourceDeserializer(item: any): Resource; /** 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; } export declare function systemDataDeserializer(item: any): SystemData; /** The kind of entity that created the resource. */ export declare enum KnownCreatedByType { /** The entity was created by a user. */ User = "User", /** The entity was created by an application. */ Application = "Application", /** The entity was created by a managed identity. */ ManagedIdentity = "ManagedIdentity", /** The entity was created by a key. */ Key = "Key" } /** * The kind of entity that created the resource. \ * {@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**: The entity was created by a user. \ * **Application**: The entity was created by an application. \ * **ManagedIdentity**: The entity was created by a managed identity. \ * **Key**: The entity was created by a key. */ export type CreatedByType = 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; } export declare function restoreParametersBaseSerializer(item: RestoreParametersBase): any; export declare function restoreParametersBaseDeserializer(item: any): RestoreParametersBase; /** 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?: 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 Cosmos DB database account. */ 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. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ enableBurstCapacity?: boolean; /** Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** 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 Priority Based Execution Preview feature on the account */ enablePriorityBasedExecution?: boolean; /** Enum to indicate default Priority Level of request for Priority Based Execution. */ defaultPriorityLevel?: DefaultPriorityLevel; /** Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** Flag to indicate enabling/disabling of hierarchical partition key ID last level enforcement on the account. */ enforceHierarchicalPartitionKeyIdLastLevel?: boolean; } export declare function databaseAccountCreateUpdateParametersSerializer(item: DatabaseAccountCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB database accounts. */ export interface DatabaseAccountCreateUpdateProperties { /** 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 Cosmos DB database account. */ 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. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ enableBurstCapacity?: boolean; /** Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** 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 Priority Based Execution Preview feature on the account */ enablePriorityBasedExecution?: boolean; /** Enum to indicate default Priority Level of request for Priority Based Execution. */ defaultPriorityLevel?: DefaultPriorityLevel; /** Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** Flag to indicate enabling/disabling of hierarchical partition key ID last level enforcement on the account. */ enforceHierarchicalPartitionKeyIdLastLevel?: boolean; } export declare function databaseAccountCreateUpdatePropertiesSerializer(item: DatabaseAccountCreateUpdateProperties): any; /** The core properties of ARM resources. */ export interface ARMResourceProperties { /** The unique resource identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; } export declare function armResourcePropertiesSerializer(item: ARMResourceProperties): any; /** 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?: Record; /** 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. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ enableBurstCapacity?: boolean; /** Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** 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 Priority Based Execution Preview feature on the account */ enablePriorityBasedExecution?: boolean; /** Enum to indicate default Priority Level of request for Priority Based Execution. */ defaultPriorityLevel?: DefaultPriorityLevel; /** Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** Flag to indicate enabling/disabling of hierarchical partition key ID last level enforcement on the account. */ enforceHierarchicalPartitionKeyIdLastLevel?: boolean; } export declare function databaseAccountUpdateParametersSerializer(item: DatabaseAccountUpdateParameters): any; /** Properties to update Azure Cosmos DB database accounts. */ export interface DatabaseAccountUpdateProperties { /** 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. */ readonly keysMetadata?: DatabaseAccountKeysMetadata; /** Flag to indicate enabling/disabling of Partition Merge feature on the account */ enablePartitionMerge?: boolean; /** Flag to indicate enabling/disabling of Burst Capacity Preview feature on the account */ enableBurstCapacity?: boolean; /** Indicates the minimum allowed Tls version. The default is Tls 1.0, except for Cassandra and Mongo API's, which only work with Tls 1.2. */ minimalTlsVersion?: MinimalTlsVersion; /** 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 Priority Based Execution Preview feature on the account */ enablePriorityBasedExecution?: boolean; /** Enum to indicate default Priority Level of request for Priority Based Execution. */ defaultPriorityLevel?: DefaultPriorityLevel; /** Flag to indicate enabling/disabling of Per-Region Per-partition autoscale Preview feature on the account */ enablePerRegionPerPartitionAutoscale?: boolean; /** Flag to indicate enabling/disabling of hierarchical partition key ID last level enforcement on the account. */ enforceHierarchicalPartitionKeyIdLastLevel?: boolean; } export declare function databaseAccountUpdatePropertiesSerializer(item: DatabaseAccountUpdateProperties): any; /** The List operation response, that contains the database accounts and their properties. */ export interface _DatabaseAccountsListResult { /** List of database account and their properties. */ readonly value?: DatabaseAccountGetResults[]; nextLink?: string; } export declare function _databaseAccountsListResultDeserializer(item: any): _DatabaseAccountsListResult; export declare function databaseAccountGetResultsArrayDeserializer(result: Array): any[]; /** The list of new failover policies for the failover priority change. */ export interface FailoverPolicies { /** List of failover policies. */ failoverPolicies: FailoverPolicy[]; } export declare function failoverPoliciesSerializer(item: FailoverPolicies): any; /** The access keys for the given database account. */ export interface DatabaseAccountListKeysResult extends DatabaseAccountListReadOnlyKeysResult { /** Base 64 encoded value of the primary read-write key. */ readonly primaryMasterKey?: string; /** Base 64 encoded value of the secondary read-write key. */ readonly secondaryMasterKey?: string; } export declare function databaseAccountListKeysResultDeserializer(item: any): DatabaseAccountListKeysResult; /** The read-only access keys for the given database account. */ export interface DatabaseAccountListReadOnlyKeysResult { /** Base 64 encoded value of the primary read-only key. */ readonly primaryReadonlyMasterKey?: string; /** Base 64 encoded value of the secondary read-only key. */ readonly secondaryReadonlyMasterKey?: string; } export declare function databaseAccountListReadOnlyKeysResultDeserializer(item: any): DatabaseAccountListReadOnlyKeysResult; /** 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[]; } export declare function databaseAccountListConnectionStringsResultDeserializer(item: any): DatabaseAccountListConnectionStringsResult; export declare function databaseAccountConnectionStringArrayDeserializer(result: Array): any[]; /** Connection string for the Cosmos DB account */ export interface DatabaseAccountConnectionString { /** Value of the connection string */ readonly connectionString?: string; /** Description of the connection string */ readonly description?: string; /** Kind of the connection string key */ readonly keyKind?: Kind; /** Type of the connection string */ readonly type?: Type; } export declare function databaseAccountConnectionStringDeserializer(item: any): DatabaseAccountConnectionString; /** Kind of the connection string key */ export declare enum KnownKind { /** Primary */ Primary = "Primary", /** Secondary */ Secondary = "Secondary", /** PrimaryReadonly */ PrimaryReadonly = "PrimaryReadonly", /** SecondaryReadonly */ SecondaryReadonly = "SecondaryReadonly" } /** * Kind of the connection string key \ * {@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; /** Type of the connection string */ 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" } /** * Type of the connection string \ * {@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; /** Cosmos DB region to online or offline. */ export interface RegionForOnlineOffline { /** Cosmos DB region, with spaces between words and each word capitalized. */ region: string; } export declare function regionForOnlineOfflineSerializer(item: RegionForOnlineOffline): any; /** Parameters to regenerate the keys within the database account. */ export interface DatabaseAccountRegenerateKeyParameters { /** The access key to regenerate. */ keyKind: KeyKind; } export declare function databaseAccountRegenerateKeyParametersSerializer(item: DatabaseAccountRegenerateKeyParameters): any; /** The access key to regenerate. */ export declare enum KnownKeyKind { /** primary */ Primary = "primary", /** secondary */ Secondary = "secondary", /** primaryReadonly */ PrimaryReadonly = "primaryReadonly", /** secondaryReadonly */ SecondaryReadonly = "secondaryReadonly" } /** * The access key to regenerate. \ * {@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; /** The response to a list metrics request. */ export interface _MetricListResult { /** The list of metrics for the account. */ readonly value?: Metric[]; nextLink?: string; } export declare function _metricListResultDeserializer(item: any): _MetricListResult; export declare function metricArrayDeserializer(result: Array): any[]; /** Metric data */ export interface Metric { /** The start time for the metric (ISO-8601 format). */ readonly startTime?: Date; /** The end time for the metric (ISO-8601 format). */ readonly endTime?: Date; /** The time grain to be used to summarize the metric values. */ readonly timeGrain?: string; /** The unit of the metric. */ readonly unit?: UnitType; /** The name information for the metric. */ readonly name?: MetricName; /** The metric values for the specified time window and timestep. */ readonly metricValues?: MetricValue[]; } export declare function metricDeserializer(item: any): Metric; /** The unit of the metric. */ 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" } /** * The unit of the metric. \ * {@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; /** A metric name. */ export interface MetricName { /** The name of the metric. */ readonly value?: string; /** The friendly name of the metric. */ readonly localizedValue?: string; } export declare function metricNameDeserializer(item: any): MetricName; export declare function metricValueArrayDeserializer(result: Array): any[]; /** Represents metrics values. */ export interface MetricValue { /** The number of values for the metric. */ readonly count?: number; /** The average value of the metric. */ readonly average?: number; /** The max value of the metric. */ readonly maximum?: number; /** The min value of the metric. */ readonly minimum?: number; /** The metric timestamp (ISO-8601 format). */ readonly timestamp?: Date; /** The total value of the metric. */ readonly total?: number; } export declare function metricValueDeserializer(item: any): MetricValue; /** 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 */ readonly value?: Usage[]; nextLink?: string; } export declare function _usagesResultDeserializer(item: any): _UsagesResult; export declare function usageArrayDeserializer(result: Array): any[]; /** The usage data for a usage request. */ export interface Usage { /** The unit of the metric. */ readonly unit?: UnitType; /** The name information for the metric. */ readonly name?: MetricName; /** The quota period used to summarize the usage values. */ readonly quotaPeriod?: string; /** Maximum value for this metric */ readonly limit?: number; /** Current value for this metric */ readonly currentValue?: number; } export declare function usageDeserializer(item: any): Usage; /** The response to a list metric definitions request. */ export interface _MetricDefinitionsListResult { /** The list of metric definitions for the account. */ readonly value?: MetricDefinition[]; nextLink?: string; } export declare function _metricDefinitionsListResultDeserializer(item: any): _MetricDefinitionsListResult; export declare function metricDefinitionArrayDeserializer(result: Array): any[]; /** The definition of a metric. */ export interface MetricDefinition { /** The list of metric availabilities for the account. */ readonly metricAvailabilities?: MetricAvailability[]; /** The primary aggregation type of the metric. */ readonly primaryAggregationType?: PrimaryAggregationType; /** The unit of the metric. */ readonly unit?: UnitType; /** The resource uri of the database. */ readonly resourceUri?: string; /** The name information for the metric. */ readonly name?: MetricName; } export declare function metricDefinitionDeserializer(item: any): MetricDefinition; export declare function metricAvailabilityArrayDeserializer(result: Array): any[]; /** The availability of the metric. */ export interface MetricAvailability { /** The time grain to be used to summarize the metric values. */ readonly timeGrain?: string; /** The retention for the metric values. */ readonly retention?: string; } export declare function metricAvailabilityDeserializer(item: any): MetricAvailability; /** The primary aggregation type of the metric. */ export declare enum KnownPrimaryAggregationType { /** None */ None = "None", /** Average */ Average = "Average", /** Total */ Total = "Total", /** Minimum */ Minimum = "Minimum", /** Maximum */ Maximum = "Maximum", /** Last */ Last = "Last" } /** * The primary aggregation type of the metric. \ * {@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; /** An Azure Cosmos DB SQL database. */ export interface SqlDatabaseGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: SqlDatabaseGetPropertiesResource; options?: SqlDatabaseGetPropertiesOptions; } export declare function sqlDatabaseGetResultsDeserializer(item: any): SqlDatabaseGetResults; /** The properties of an Azure Cosmos DB SQL database */ export interface SqlDatabaseGetProperties { resource?: SqlDatabaseGetPropertiesResource; options?: SqlDatabaseGetPropertiesOptions; } export declare function sqlDatabaseGetPropertiesDeserializer(item: any): SqlDatabaseGetProperties; /** model interface SqlDatabaseGetPropertiesResource */ export interface SqlDatabaseGetPropertiesResource extends SqlDatabaseResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; /** 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; } export declare function sqlDatabaseGetPropertiesResourceDeserializer(item: any): SqlDatabaseGetPropertiesResource; /** model interface SqlDatabaseGetPropertiesOptions */ export interface SqlDatabaseGetPropertiesOptions extends OptionsResource { } export declare function sqlDatabaseGetPropertiesOptionsDeserializer(item: any): SqlDatabaseGetPropertiesOptions; /** 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 account creation. */ createMode?: CreateMode; } export declare function sqlDatabaseResourceSerializer(item: SqlDatabaseResource): any; export declare function sqlDatabaseResourceDeserializer(item: any): SqlDatabaseResource; /** Parameters to indicate the information about the restore. */ export interface ResourceRestoreParameters extends RestoreParametersBase { } export declare function resourceRestoreParametersSerializer(item: ResourceRestoreParameters): any; export declare function resourceRestoreParametersDeserializer(item: any): ResourceRestoreParameters; /** 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 declare function optionsResourceDeserializer(item: any): OptionsResource; /** model interface AutoscaleSettings */ export interface AutoscaleSettings { /** Represents maximum throughput, the resource can scale up to. */ maxThroughput?: number; } export declare function autoscaleSettingsSerializer(item: AutoscaleSettings): any; export declare function autoscaleSettingsDeserializer(item: any): AutoscaleSettings; /** 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; } export declare function sqlDatabaseCreateUpdateParametersSerializer(item: SqlDatabaseCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB SQL database. */ export interface SqlDatabaseCreateUpdateProperties { /** 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; } export declare function sqlDatabaseCreateUpdatePropertiesSerializer(item: SqlDatabaseCreateUpdateProperties): any; /** 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; } export declare function createUpdateOptionsSerializer(item: CreateUpdateOptions): any; /** The List operation response, that contains the SQL databases and their properties. */ export interface _SqlDatabaseListResult { /** List of SQL databases and their properties. */ readonly value?: SqlDatabaseGetResults[]; nextLink?: string; } export declare function _sqlDatabaseListResultDeserializer(item: any): _SqlDatabaseListResult; export declare function sqlDatabaseGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB resource throughput. */ export interface ThroughputSettingsGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: ThroughputSettingsGetPropertiesResource; } export declare function throughputSettingsGetResultsDeserializer(item: any): ThroughputSettingsGetResults; /** The properties of an Azure Cosmos DB resource throughput */ export interface ThroughputSettingsGetProperties { resource?: ThroughputSettingsGetPropertiesResource; } export declare function throughputSettingsGetPropertiesDeserializer(item: any): ThroughputSettingsGetProperties; /** model interface ThroughputSettingsGetPropertiesResource */ export interface ThroughputSettingsGetPropertiesResource extends ThroughputSettingsResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function throughputSettingsGetPropertiesResourceDeserializer(item: any): ThroughputSettingsGetPropertiesResource; /** 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 */ readonly minimumThroughput?: string; /** The throughput replace is pending */ readonly offerReplacePending?: string; /** The offer throughput value to instantly scale up without triggering splits */ readonly instantMaximumThroughput?: string; /** The maximum throughput value or the maximum maxThroughput value (for autoscale) that can be specified */ readonly softAllowedMaximumThroughput?: string; } export declare function throughputSettingsResourceSerializer(item: ThroughputSettingsResource): any; export declare function throughputSettingsResourceDeserializer(item: any): ThroughputSettingsResource; /** 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. */ readonly targetMaxThroughput?: number; } export declare function autoscaleSettingsResourceSerializer(item: AutoscaleSettingsResource): any; export declare function autoscaleSettingsResourceDeserializer(item: any): AutoscaleSettingsResource; /** Cosmos DB resource auto-upgrade policy */ export interface AutoUpgradePolicyResource { /** Represents throughput policy which service must adhere to for auto-upgrade */ throughputPolicy?: ThroughputPolicyResource; } export declare function autoUpgradePolicyResourceSerializer(item: AutoUpgradePolicyResource): any; export declare function autoUpgradePolicyResourceDeserializer(item: any): AutoUpgradePolicyResource; /** 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; } export declare function throughputPolicyResourceSerializer(item: ThroughputPolicyResource): any; export declare function throughputPolicyResourceDeserializer(item: any): ThroughputPolicyResource; /** Parameters to update Cosmos DB resource throughput. */ export interface ThroughputSettingsUpdateParameters extends ARMResourceProperties { /** The standard JSON format of a resource throughput */ resource: ThroughputSettingsResource; } export declare function throughputSettingsUpdateParametersSerializer(item: ThroughputSettingsUpdateParameters): any; /** Properties to update Azure Cosmos DB resource throughput. */ export interface ThroughputSettingsUpdateProperties { /** The standard JSON format of a resource throughput */ resource: ThroughputSettingsResource; } export declare function throughputSettingsUpdatePropertiesSerializer(item: ThroughputSettingsUpdateProperties): any; /** An error response from the service. */ export interface CloudError { /** Error Response. */ error?: CosmosDBErrorResult; } export declare function cloudErrorDeserializer(item: any): CloudError; /** Error Response. */ export interface CosmosDBErrorResult { /** Error code. */ code?: string; /** Error message indicating why the operation failed. */ message?: string; } export declare function cosmosDBErrorResultDeserializer(item: any): CosmosDBErrorResult; /** Client Encryption Key. */ export interface ClientEncryptionKeyGetResults extends ProxyResource { resource?: ClientEncryptionKeyGetPropertiesResource; } export declare function clientEncryptionKeyGetResultsDeserializer(item: any): ClientEncryptionKeyGetResults; /** The properties of a ClientEncryptionKey resource */ export interface ClientEncryptionKeyGetProperties { resource?: ClientEncryptionKeyGetPropertiesResource; } export declare function clientEncryptionKeyGetPropertiesDeserializer(item: any): ClientEncryptionKeyGetProperties; /** model interface ClientEncryptionKeyGetPropertiesResource */ export interface ClientEncryptionKeyGetPropertiesResource extends ClientEncryptionKeyResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function clientEncryptionKeyGetPropertiesResourceDeserializer(item: any): ClientEncryptionKeyGetPropertiesResource; /** 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; } export declare function clientEncryptionKeyResourceSerializer(item: ClientEncryptionKeyResource): any; export declare function clientEncryptionKeyResourceDeserializer(item: any): ClientEncryptionKeyResource; /** 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; } export declare function keyWrapMetadataSerializer(item: KeyWrapMetadata): any; export declare function keyWrapMetadataDeserializer(item: any): KeyWrapMetadata; /** Parameters to create and update ClientEncryptionKey. */ export interface ClientEncryptionKeyCreateUpdateParameters { /** The standard JSON format of a ClientEncryptionKey */ resource: ClientEncryptionKeyResource; } export declare function clientEncryptionKeyCreateUpdateParametersSerializer(item: ClientEncryptionKeyCreateUpdateParameters): any; /** Properties to create and update ClientEncryptionKey. */ export interface ClientEncryptionKeyCreateUpdateProperties { /** The standard JSON format of a ClientEncryptionKey */ resource: ClientEncryptionKeyResource; } export declare function clientEncryptionKeyCreateUpdatePropertiesSerializer(item: ClientEncryptionKeyCreateUpdateProperties): any; /** The List operation response, that contains the client encryption keys and their properties. */ export interface _ClientEncryptionKeysListResult { /** List of client encryption keys and their properties. */ readonly value?: ClientEncryptionKeyGetResults[]; nextLink?: string; } export declare function _clientEncryptionKeysListResultDeserializer(item: any): _ClientEncryptionKeysListResult; export declare function clientEncryptionKeyGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB container. */ export interface SqlContainerGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: SqlContainerGetPropertiesResource; options?: SqlContainerGetPropertiesOptions; } export declare function sqlContainerGetResultsDeserializer(item: any): SqlContainerGetResults; /** The properties of an Azure Cosmos DB container */ export interface SqlContainerGetProperties { resource?: SqlContainerGetPropertiesResource; options?: SqlContainerGetPropertiesOptions; } export declare function sqlContainerGetPropertiesDeserializer(item: any): SqlContainerGetProperties; /** model interface SqlContainerGetPropertiesResource */ export interface SqlContainerGetPropertiesResource extends SqlContainerResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function sqlContainerGetPropertiesResourceDeserializer(item: any): SqlContainerGetPropertiesResource; /** model interface SqlContainerGetPropertiesOptions */ export interface SqlContainerGetPropertiesOptions extends OptionsResource { } export declare function sqlContainerGetPropertiesOptionsDeserializer(item: any): SqlContainerGetPropertiesOptions; /** 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 account 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; } export declare function sqlContainerResourceSerializer(item: SqlContainerResource): any; export declare function sqlContainerResourceDeserializer(item: any): SqlContainerResource; /** 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[]; } export declare function indexingPolicySerializer(item: IndexingPolicy): any; export declare function indexingPolicyDeserializer(item: any): IndexingPolicy; /** Indicates the indexing mode. */ export declare enum KnownIndexingMode { /** consistent */ Consistent = "consistent", /** lazy */ Lazy = "lazy", /** none */ None = "none" } /** * Indicates the indexing mode. \ * {@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; export declare function includedPathArraySerializer(result: Array): any[]; export declare function includedPathArrayDeserializer(result: Array): any[]; /** 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[]; } export declare function includedPathSerializer(item: IncludedPath): any; export declare function includedPathDeserializer(item: any): IncludedPath; export declare function indexesArraySerializer(result: Array): any[]; export declare function indexesArrayDeserializer(result: Array): any[]; /** 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 declare function indexesSerializer(item: Indexes): any; export declare function indexesDeserializer(item: any): Indexes; /** The datatype for which the indexing behavior is applied to. */ export declare enum KnownDataType { /** String */ String = "String", /** Number */ Number = "Number", /** Point */ Point = "Point", /** Polygon */ Polygon = "Polygon", /** LineString */ LineString = "LineString", /** MultiPolygon */ MultiPolygon = "MultiPolygon" } /** * The datatype for which the indexing behavior is applied to. \ * {@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; /** Indicates the type of index. */ export declare enum KnownIndexKind { /** Hash */ Hash = "Hash", /** Range */ Range = "Range", /** Spatial */ Spatial = "Spatial" } /** * Indicates the type of index. \ * {@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; export declare function excludedPathArraySerializer(result: Array): any[]; export declare function excludedPathArrayDeserializer(result: Array): any[]; /** model interface ExcludedPath */ 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 declare function excludedPathSerializer(item: ExcludedPath): any; export declare function excludedPathDeserializer(item: any): ExcludedPath; export declare function compositePathArrayArraySerializer(result: Array>): any[]; export declare function compositePathArrayArrayDeserializer(result: Array>): any[]; export declare function compositePathArraySerializer(result: Array): any[]; export declare function compositePathArrayDeserializer(result: Array): any[]; /** model interface CompositePath */ 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 declare function compositePathSerializer(item: CompositePath): any; export declare function compositePathDeserializer(item: any): CompositePath; /** Sort order for composite paths. */ export declare enum KnownCompositePathSortOrder { /** ascending */ Ascending = "ascending", /** descending */ Descending = "descending" } /** * Sort order for composite paths. \ * {@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; export declare function spatialSpecArraySerializer(result: Array): any[]; export declare function spatialSpecArrayDeserializer(result: Array): any[]; /** model interface SpatialSpec */ 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 declare function spatialSpecSerializer(item: SpatialSpec): any; export declare function spatialSpecDeserializer(item: any): SpatialSpec; /** Indicates the spatial type of index. */ export declare enum KnownSpatialType { /** Point */ Point = "Point", /** LineString */ LineString = "LineString", /** Polygon */ Polygon = "Polygon", /** MultiPolygon */ MultiPolygon = "MultiPolygon" } /** * Indicates the spatial type of index. \ * {@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; export declare function vectorIndexArraySerializer(result: Array): any[]; export declare function vectorIndexArrayDeserializer(result: Array): any[]; /** model interface VectorIndex */ 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[]; } export declare function vectorIndexSerializer(item: VectorIndex): any; export declare function vectorIndexDeserializer(item: any): VectorIndex; /** The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported. */ export declare enum KnownVectorIndexType { /** flat */ Flat = "flat", /** diskANN */ DiskANN = "diskANN", /** quantizedFlat */ QuantizedFlat = "quantizedFlat" } /** * The index type of the vector. Currently, flat, diskANN, and quantizedFlat are supported. \ * {@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; export declare function fullTextIndexPathArraySerializer(result: Array): any[]; export declare function fullTextIndexPathArrayDeserializer(result: Array): any[]; /** Represents the full text index path. */ export interface FullTextIndexPath { /** The path to the full text field in the document. */ path: string; } export declare function fullTextIndexPathSerializer(item: FullTextIndexPath): any; export declare function fullTextIndexPathDeserializer(item: any): FullTextIndexPath; /** 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 */ readonly systemKey?: boolean; } export declare function containerPartitionKeySerializer(item: ContainerPartitionKey): any; export declare function containerPartitionKeyDeserializer(item: any): ContainerPartitionKey; /** Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create */ export declare enum KnownPartitionKind { /** Hash */ Hash = "Hash", /** Range */ Range = "Range", /** MultiHash */ MultiHash = "MultiHash" } /** * Indicates the kind of algorithm used for partitioning. For MultiHash, multiple partition keys (upto three maximum) are supported for container create \ * {@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; /** 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[]; } export declare function uniqueKeyPolicySerializer(item: UniqueKeyPolicy): any; export declare function uniqueKeyPolicyDeserializer(item: any): UniqueKeyPolicy; export declare function uniqueKeyArraySerializer(result: Array): any[]; export declare function uniqueKeyArrayDeserializer(result: Array): any[]; /** 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[]; } export declare function uniqueKeySerializer(item: UniqueKey): any; export declare function uniqueKeyDeserializer(item: any): UniqueKey; /** 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; } export declare function conflictResolutionPolicySerializer(item: ConflictResolutionPolicy): any; export declare function conflictResolutionPolicyDeserializer(item: any): ConflictResolutionPolicy; /** Indicates the conflict resolution mode. */ export declare enum KnownConflictResolutionMode { /** LastWriterWins */ LastWriterWins = "LastWriterWins", /** Custom */ Custom = "Custom" } /** * Indicates the conflict resolution mode. \ * {@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; /** 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 declare function clientEncryptionPolicySerializer(item: ClientEncryptionPolicy): any; export declare function clientEncryptionPolicyDeserializer(item: any): ClientEncryptionPolicy; export declare function clientEncryptionIncludedPathArraySerializer(result: Array): any[]; export declare function clientEncryptionIncludedPathArrayDeserializer(result: Array): any[]; /** . */ 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; } export declare function clientEncryptionIncludedPathSerializer(item: ClientEncryptionIncludedPath): any; export declare function clientEncryptionIncludedPathDeserializer(item: any): ClientEncryptionIncludedPath; export declare function computedPropertyArraySerializer(result: Array): any[]; export declare function computedPropertyArrayDeserializer(result: Array): any[]; /** 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; } export declare function computedPropertySerializer(item: ComputedProperty): any; export declare function computedPropertyDeserializer(item: any): ComputedProperty; /** Cosmos DB Vector Embedding Policy */ export interface VectorEmbeddingPolicy { /** List of vector embeddings */ vectorEmbeddings?: VectorEmbedding[]; } export declare function vectorEmbeddingPolicySerializer(item: VectorEmbeddingPolicy): any; export declare function vectorEmbeddingPolicyDeserializer(item: any): VectorEmbeddingPolicy; export declare function vectorEmbeddingArraySerializer(result: Array): any[]; export declare function vectorEmbeddingArrayDeserializer(result: Array): any[]; /** 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; } export declare function vectorEmbeddingSerializer(item: VectorEmbedding): any; export declare function vectorEmbeddingDeserializer(item: any): VectorEmbedding; /** Indicates the data type of vector. */ export declare enum KnownVectorDataType { /** float32 */ Float32 = "float32", /** uint8 */ Uint8 = "uint8", /** int8 */ Int8 = "int8", /** float16 */ Float16 = "float16" } /** * Indicates the data type of vector. \ * {@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; /** The distance function to use for distance calculation in between vectors. */ export declare enum KnownDistanceFunction { /** euclidean */ Euclidean = "euclidean", /** cosine */ Cosine = "cosine", /** dotproduct */ Dotproduct = "dotproduct" } /** * The distance function to use for distance calculation in between vectors. \ * {@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; /** Cosmos DB FullText Policy */ export interface FullTextPolicy { /** The default language for a full text paths. */ defaultLanguage?: string; /** List of FullText Paths */ fullTextPaths?: FullTextPath[]; } export declare function fullTextPolicySerializer(item: FullTextPolicy): any; export declare function fullTextPolicyDeserializer(item: any): FullTextPolicy; export declare function fullTextPathArraySerializer(result: Array): any[]; export declare function fullTextPathArrayDeserializer(result: Array): any[]; /** 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; } export declare function fullTextPathSerializer(item: FullTextPath): any; export declare function fullTextPathDeserializer(item: any): FullTextPath; /** 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; } export declare function sqlContainerCreateUpdateParametersSerializer(item: SqlContainerCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB container. */ export interface SqlContainerCreateUpdateProperties { /** 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; } export declare function sqlContainerCreateUpdatePropertiesSerializer(item: SqlContainerCreateUpdateProperties): any; /** The List operation response, that contains the containers and their properties. */ export interface _SqlContainerListResult { /** List of containers and their properties. */ readonly value?: SqlContainerGetResults[]; nextLink?: string; } export declare function _sqlContainerListResultDeserializer(item: any): _SqlContainerListResult; export declare function sqlContainerGetResultsArrayDeserializer(result: Array): any[]; /** Properties of the regional restorable account. */ export interface ContinuousBackupRestoreLocation { /** The name of the continuous backup restore location. */ location?: string; } export declare function continuousBackupRestoreLocationSerializer(item: ContinuousBackupRestoreLocation): any; /** Backup information of a resource. */ export interface BackupInformation { /** Information about the status of continuous backups. */ continuousBackupInformation?: ContinuousBackupInformation; } export declare function backupInformationDeserializer(item: any): BackupInformation; /** Information about the status of continuous backups. */ export interface ContinuousBackupInformation { /** The latest restorable timestamp for a resource. */ latestRestorableTimestamp?: string; } export declare function continuousBackupInformationDeserializer(item: any): ContinuousBackupInformation; /** An Azure Cosmos DB storedProcedure. */ export interface SqlStoredProcedureGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: SqlStoredProcedureGetPropertiesResource; } export declare function sqlStoredProcedureGetResultsDeserializer(item: any): SqlStoredProcedureGetResults; /** The properties of an Azure Cosmos DB StoredProcedure */ export interface SqlStoredProcedureGetProperties { resource?: SqlStoredProcedureGetPropertiesResource; } export declare function sqlStoredProcedureGetPropertiesDeserializer(item: any): SqlStoredProcedureGetProperties; /** model interface SqlStoredProcedureGetPropertiesResource */ export interface SqlStoredProcedureGetPropertiesResource extends SqlStoredProcedureResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function sqlStoredProcedureGetPropertiesResourceDeserializer(item: any): SqlStoredProcedureGetPropertiesResource; /** 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; } export declare function sqlStoredProcedureResourceSerializer(item: SqlStoredProcedureResource): any; export declare function sqlStoredProcedureResourceDeserializer(item: any): SqlStoredProcedureResource; /** 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; } export declare function sqlStoredProcedureCreateUpdateParametersSerializer(item: SqlStoredProcedureCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB storedProcedure. */ export interface SqlStoredProcedureCreateUpdateProperties { /** 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; } export declare function sqlStoredProcedureCreateUpdatePropertiesSerializer(item: SqlStoredProcedureCreateUpdateProperties): any; /** The List operation response, that contains the storedProcedures and their properties. */ export interface _SqlStoredProcedureListResult { /** List of storedProcedures and their properties. */ readonly value?: SqlStoredProcedureGetResults[]; nextLink?: string; } export declare function _sqlStoredProcedureListResultDeserializer(item: any): _SqlStoredProcedureListResult; export declare function sqlStoredProcedureGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB userDefinedFunction. */ export interface SqlUserDefinedFunctionGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: SqlUserDefinedFunctionGetPropertiesResource; } export declare function sqlUserDefinedFunctionGetResultsDeserializer(item: any): SqlUserDefinedFunctionGetResults; /** The properties of an Azure Cosmos DB userDefinedFunction */ export interface SqlUserDefinedFunctionGetProperties { resource?: SqlUserDefinedFunctionGetPropertiesResource; } export declare function sqlUserDefinedFunctionGetPropertiesDeserializer(item: any): SqlUserDefinedFunctionGetProperties; /** model interface SqlUserDefinedFunctionGetPropertiesResource */ export interface SqlUserDefinedFunctionGetPropertiesResource extends SqlUserDefinedFunctionResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function sqlUserDefinedFunctionGetPropertiesResourceDeserializer(item: any): SqlUserDefinedFunctionGetPropertiesResource; /** 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; } export declare function sqlUserDefinedFunctionResourceSerializer(item: SqlUserDefinedFunctionResource): any; export declare function sqlUserDefinedFunctionResourceDeserializer(item: any): SqlUserDefinedFunctionResource; /** 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; } export declare function sqlUserDefinedFunctionCreateUpdateParametersSerializer(item: SqlUserDefinedFunctionCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB userDefinedFunction. */ export interface SqlUserDefinedFunctionCreateUpdateProperties { /** 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; } export declare function sqlUserDefinedFunctionCreateUpdatePropertiesSerializer(item: SqlUserDefinedFunctionCreateUpdateProperties): any; /** The List operation response, that contains the userDefinedFunctions and their properties. */ export interface _SqlUserDefinedFunctionListResult { /** List of userDefinedFunctions and their properties. */ readonly value?: SqlUserDefinedFunctionGetResults[]; nextLink?: string; } export declare function _sqlUserDefinedFunctionListResultDeserializer(item: any): _SqlUserDefinedFunctionListResult; export declare function sqlUserDefinedFunctionGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB trigger. */ export interface SqlTriggerGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: SqlTriggerGetPropertiesResource; } export declare function sqlTriggerGetResultsDeserializer(item: any): SqlTriggerGetResults; /** The properties of an Azure Cosmos DB trigger */ export interface SqlTriggerGetProperties { resource?: SqlTriggerGetPropertiesResource; } export declare function sqlTriggerGetPropertiesDeserializer(item: any): SqlTriggerGetProperties; /** model interface SqlTriggerGetPropertiesResource */ export interface SqlTriggerGetPropertiesResource extends SqlTriggerResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function sqlTriggerGetPropertiesResourceDeserializer(item: any): SqlTriggerGetPropertiesResource; /** 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; } export declare function sqlTriggerResourceSerializer(item: SqlTriggerResource): any; export declare function sqlTriggerResourceDeserializer(item: any): SqlTriggerResource; /** Type of the Trigger */ export declare enum KnownTriggerType { /** Pre */ Pre = "Pre", /** Post */ Post = "Post" } /** * Type of the Trigger \ * {@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; /** The operation the trigger is associated with */ export declare enum KnownTriggerOperation { /** All */ All = "All", /** Create */ Create = "Create", /** Update */ Update = "Update", /** Delete */ Delete = "Delete", /** Replace */ Replace = "Replace" } /** * The operation the trigger is associated with \ * {@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; /** 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; } export declare function sqlTriggerCreateUpdateParametersSerializer(item: SqlTriggerCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB trigger. */ export interface SqlTriggerCreateUpdateProperties { /** 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; } export declare function sqlTriggerCreateUpdatePropertiesSerializer(item: SqlTriggerCreateUpdateProperties): any; /** The List operation response, that contains the triggers and their properties. */ export interface _SqlTriggerListResult { /** List of triggers and their properties. */ readonly value?: SqlTriggerGetResults[]; nextLink?: string; } export declare function _sqlTriggerListResultDeserializer(item: any): _SqlTriggerListResult; export declare function sqlTriggerGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB SQL Role Definition. */ export interface SqlRoleDefinitionGetResults extends ProxyResource { /** 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[]; } export declare function sqlRoleDefinitionGetResultsDeserializer(item: any): SqlRoleDefinitionGetResults; /** Azure Cosmos DB SQL Role Definition resource object. */ export interface SqlRoleDefinitionResource { /** 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[]; } export declare function sqlRoleDefinitionResourceSerializer(item: SqlRoleDefinitionResource): any; export declare function sqlRoleDefinitionResourceDeserializer(item: any): SqlRoleDefinitionResource; /** Indicates whether the Role Definition was built-in or user created. */ export type RoleDefinitionType = "BuiltInRole" | "CustomRole"; export declare function permissionArraySerializer(result: Array): any[]; export declare function permissionArrayDeserializer(result: Array): any[]; /** The set of data plane operations permitted through this Role Definition. */ export interface Permission { /** The id for the permission. */ id?: string; /** An array of data actions that are allowed. */ dataActions?: string[]; /** An array of data actions that are denied. */ notDataActions?: string[]; } export declare function permissionSerializer(item: Permission): any; export declare function permissionDeserializer(item: any): Permission; /** 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[]; } export declare function sqlRoleDefinitionCreateUpdateParametersSerializer(item: SqlRoleDefinitionCreateUpdateParameters): any; /** The relevant Role Definitions. */ export interface _SqlRoleDefinitionListResult { /** List of Role Definitions and their properties. */ readonly value?: SqlRoleDefinitionGetResults[]; nextLink?: string; } export declare function _sqlRoleDefinitionListResultDeserializer(item: any): _SqlRoleDefinitionListResult; export declare function sqlRoleDefinitionGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Role Assignment */ export interface SqlRoleAssignmentGetResults extends ProxyResource { /** 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; } export declare function sqlRoleAssignmentGetResultsDeserializer(item: any): SqlRoleAssignmentGetResults; /** Azure Cosmos DB SQL Role Assignment resource object. */ export interface SqlRoleAssignmentResource { /** 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; } export declare function sqlRoleAssignmentResourceSerializer(item: SqlRoleAssignmentResource): any; export declare function sqlRoleAssignmentResourceDeserializer(item: any): SqlRoleAssignmentResource; /** 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; } export declare function sqlRoleAssignmentCreateUpdateParametersSerializer(item: SqlRoleAssignmentCreateUpdateParameters): any; /** The relevant Role Assignments. */ export interface _SqlRoleAssignmentListResult { /** List of Role Assignments and their properties */ readonly value?: SqlRoleAssignmentGetResults[]; nextLink?: string; } export declare function _sqlRoleAssignmentListResultDeserializer(item: any): _SqlRoleAssignmentListResult; export declare function sqlRoleAssignmentGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB MongoDB database. */ export interface MongoDBDatabaseGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: MongoDBDatabaseGetPropertiesResource; options?: MongoDBDatabaseGetPropertiesOptions; } export declare function mongoDBDatabaseGetResultsDeserializer(item: any): MongoDBDatabaseGetResults; /** The properties of an Azure Cosmos DB MongoDB database */ export interface MongoDBDatabaseGetProperties { resource?: MongoDBDatabaseGetPropertiesResource; options?: MongoDBDatabaseGetPropertiesOptions; } export declare function mongoDBDatabaseGetPropertiesDeserializer(item: any): MongoDBDatabaseGetProperties; /** model interface MongoDBDatabaseGetPropertiesResource */ export interface MongoDBDatabaseGetPropertiesResource extends MongoDBDatabaseResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function mongoDBDatabaseGetPropertiesResourceDeserializer(item: any): MongoDBDatabaseGetPropertiesResource; /** model interface MongoDBDatabaseGetPropertiesOptions */ export interface MongoDBDatabaseGetPropertiesOptions extends OptionsResource { } export declare function mongoDBDatabaseGetPropertiesOptionsDeserializer(item: any): MongoDBDatabaseGetPropertiesOptions; /** 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 account creation. */ createMode?: CreateMode; } export declare function mongoDBDatabaseResourceSerializer(item: MongoDBDatabaseResource): any; export declare function mongoDBDatabaseResourceDeserializer(item: any): MongoDBDatabaseResource; /** 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; } export declare function mongoDBDatabaseCreateUpdateParametersSerializer(item: MongoDBDatabaseCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB MongoDB database. */ export interface MongoDBDatabaseCreateUpdateProperties { /** 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; } export declare function mongoDBDatabaseCreateUpdatePropertiesSerializer(item: MongoDBDatabaseCreateUpdateProperties): any; /** The List operation response, that contains the MongoDB databases and their properties. */ export interface _MongoDBDatabaseListResult { /** List of MongoDB databases and their properties. */ readonly value?: MongoDBDatabaseGetResults[]; nextLink?: string; } export declare function _mongoDBDatabaseListResultDeserializer(item: any): _MongoDBDatabaseListResult; export declare function mongoDBDatabaseGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB MongoDB collection. */ export interface MongoDBCollectionGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: MongoDBCollectionGetPropertiesResource; options?: MongoDBCollectionGetPropertiesOptions; } export declare function mongoDBCollectionGetResultsDeserializer(item: any): MongoDBCollectionGetResults; /** The properties of an Azure Cosmos DB MongoDB collection */ export interface MongoDBCollectionGetProperties { resource?: MongoDBCollectionGetPropertiesResource; options?: MongoDBCollectionGetPropertiesOptions; } export declare function mongoDBCollectionGetPropertiesDeserializer(item: any): MongoDBCollectionGetProperties; /** model interface MongoDBCollectionGetPropertiesResource */ export interface MongoDBCollectionGetPropertiesResource extends MongoDBCollectionResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function mongoDBCollectionGetPropertiesResourceDeserializer(item: any): MongoDBCollectionGetPropertiesResource; /** model interface MongoDBCollectionGetPropertiesOptions */ export interface MongoDBCollectionGetPropertiesOptions extends OptionsResource { } export declare function mongoDBCollectionGetPropertiesOptionsDeserializer(item: any): MongoDBCollectionGetPropertiesOptions; /** 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?: Record; /** 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; } export declare function mongoDBCollectionResourceSerializer(item: MongoDBCollectionResource): any; export declare function mongoDBCollectionResourceDeserializer(item: any): MongoDBCollectionResource; export declare function mongoIndexArraySerializer(result: Array): any[]; export declare function mongoIndexArrayDeserializer(result: Array): any[]; /** 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; } export declare function mongoIndexSerializer(item: MongoIndex): any; export declare function mongoIndexDeserializer(item: any): MongoIndex; /** Cosmos DB MongoDB collection resource object */ export interface MongoIndexKeys { /** List of keys for each MongoDB collection in the Azure Cosmos DB service */ keys?: string[]; } export declare function mongoIndexKeysSerializer(item: MongoIndexKeys): any; export declare function mongoIndexKeysDeserializer(item: any): MongoIndexKeys; /** Cosmos DB MongoDB collection index options */ export interface MongoIndexOptions { /** Expire after seconds */ expireAfterSeconds?: number; /** Is unique or not */ unique?: boolean; } export declare function mongoIndexOptionsSerializer(item: MongoIndexOptions): any; export declare function mongoIndexOptionsDeserializer(item: any): MongoIndexOptions; /** 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; } export declare function mongoDBCollectionCreateUpdateParametersSerializer(item: MongoDBCollectionCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB MongoDB collection. */ export interface MongoDBCollectionCreateUpdateProperties { /** 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; } export declare function mongoDBCollectionCreateUpdatePropertiesSerializer(item: MongoDBCollectionCreateUpdateProperties): any; /** The List operation response, that contains the MongoDB collections and their properties. */ export interface _MongoDBCollectionListResult { /** List of MongoDB collections and their properties. */ readonly value?: MongoDBCollectionGetResults[]; nextLink?: string; } export declare function _mongoDBCollectionListResultDeserializer(item: any): _MongoDBCollectionListResult; export declare function mongoDBCollectionGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Mongo Role Definition. */ export interface MongoRoleDefinitionGetResults extends ProxyResource { /** 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[]; } export declare function mongoRoleDefinitionGetResultsDeserializer(item: any): MongoRoleDefinitionGetResults; /** Azure Cosmos DB Mongo Role Definition resource object. */ export interface MongoRoleDefinitionResource { /** 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[]; } export declare function mongoRoleDefinitionResourceSerializer(item: MongoRoleDefinitionResource): any; export declare function mongoRoleDefinitionResourceDeserializer(item: any): MongoRoleDefinitionResource; /** Indicates whether the Role Definition was built-in or user created. */ export type MongoRoleDefinitionType = "BuiltInRole" | "CustomRole"; export declare function privilegeArraySerializer(result: Array): any[]; export declare function privilegeArrayDeserializer(result: Array): any[]; /** 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[]; } export declare function privilegeSerializer(item: Privilege): any; export declare function privilegeDeserializer(item: any): Privilege; /** 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; } export declare function privilegeResourceSerializer(item: PrivilegeResource): any; export declare function privilegeResourceDeserializer(item: any): PrivilegeResource; export declare function roleArraySerializer(result: Array): any[]; export declare function roleArrayDeserializer(result: Array): any[]; /** 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; } export declare function roleSerializer(item: Role): any; export declare function roleDeserializer(item: any): Role; /** 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[]; } export declare function mongoRoleDefinitionCreateUpdateParametersSerializer(item: MongoRoleDefinitionCreateUpdateParameters): any; /** The relevant Mongo Role Definitions. */ export interface _MongoRoleDefinitionListResult { /** List of Mongo Role Definitions and their properties. */ readonly value?: MongoRoleDefinitionGetResults[]; nextLink?: string; } export declare function _mongoRoleDefinitionListResultDeserializer(item: any): _MongoRoleDefinitionListResult; export declare function mongoRoleDefinitionGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB User Definition */ export interface MongoUserDefinitionGetResults extends ProxyResource { /** 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; } export declare function mongoUserDefinitionGetResultsDeserializer(item: any): MongoUserDefinitionGetResults; /** Azure Cosmos DB Mongo User Definition resource object. */ export interface MongoUserDefinitionResource { /** 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; } export declare function mongoUserDefinitionResourceSerializer(item: MongoUserDefinitionResource): any; export declare function mongoUserDefinitionResourceDeserializer(item: any): MongoUserDefinitionResource; /** 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; } export declare function mongoUserDefinitionCreateUpdateParametersSerializer(item: MongoUserDefinitionCreateUpdateParameters): any; /** The relevant User Definition. */ export interface _MongoUserDefinitionListResult { /** List of User Definition and their properties */ readonly value?: MongoUserDefinitionGetResults[]; nextLink?: string; } export declare function _mongoUserDefinitionListResultDeserializer(item: any): _MongoUserDefinitionListResult; export declare function mongoUserDefinitionGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Table. */ export interface TableGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: TableGetPropertiesResource; options?: TableGetPropertiesOptions; } export declare function tableGetResultsDeserializer(item: any): TableGetResults; /** The properties of an Azure Cosmos Table */ export interface TableGetProperties { resource?: TableGetPropertiesResource; options?: TableGetPropertiesOptions; } export declare function tableGetPropertiesDeserializer(item: any): TableGetProperties; /** model interface TableGetPropertiesResource */ export interface TableGetPropertiesResource extends TableResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function tableGetPropertiesResourceDeserializer(item: any): TableGetPropertiesResource; /** model interface TableGetPropertiesOptions */ export interface TableGetPropertiesOptions extends OptionsResource { } export declare function tableGetPropertiesOptionsDeserializer(item: any): TableGetPropertiesOptions; /** 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 account creation. */ createMode?: CreateMode; } export declare function tableResourceSerializer(item: TableResource): any; export declare function tableResourceDeserializer(item: any): TableResource; /** 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; } export declare function tableCreateUpdateParametersSerializer(item: TableCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB Table. */ export interface TableCreateUpdateProperties { /** 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; } export declare function tableCreateUpdatePropertiesSerializer(item: TableCreateUpdateProperties): any; /** The List operation response, that contains the Table and their properties. */ export interface _TableListResult { /** List of Table and their properties. */ readonly value?: TableGetResults[]; nextLink?: string; } export declare function _tableListResultDeserializer(item: any): _TableListResult; export declare function tableGetResultsArrayDeserializer(result: Array): any[]; /** Parameters to create and update an Azure Cosmos DB Table Role Definition. */ export interface TableRoleDefinitionResource extends ProxyResource { /** The path id for the Role Definition. */ idPropertiesId?: string; /** 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 Table 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[]; } export declare function tableRoleDefinitionResourceSerializer(item: TableRoleDefinitionResource): any; export declare function tableRoleDefinitionResourceDeserializer(item: any): TableRoleDefinitionResource; /** Azure Cosmos DB Table Role Definition resource object. */ export interface TableRoleDefinitionResourceProperties { /** The path id for the Role Definition. */ id?: string; /** 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 Table 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[]; } export declare function tableRoleDefinitionResourcePropertiesSerializer(item: TableRoleDefinitionResourceProperties): any; export declare function tableRoleDefinitionResourcePropertiesDeserializer(item: any): TableRoleDefinitionResourceProperties; /** The response of a TableRoleDefinitionResource list operation. */ export interface _TableRoleDefinitionListResult { /** The TableRoleDefinitionResource items on this page */ value: TableRoleDefinitionResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _tableRoleDefinitionListResultDeserializer(item: any): _TableRoleDefinitionListResult; export declare function tableRoleDefinitionResourceArraySerializer(result: Array): any[]; export declare function tableRoleDefinitionResourceArrayDeserializer(result: Array): any[]; /** Parameters to create and update an Azure Cosmos DB Table Role Assignment. */ export interface TableRoleAssignmentResource extends ProxyResource { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this Table Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Table Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; /** Provisioning state of the resource. */ readonly provisioningState?: string; } export declare function tableRoleAssignmentResourceSerializer(item: TableRoleAssignmentResource): any; export declare function tableRoleAssignmentResourceDeserializer(item: any): TableRoleAssignmentResource; /** Azure Cosmos DB Table Role Assignment resource object. */ export interface TableRoleAssignmentResourceProperties { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this Table Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Table Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; /** Provisioning state of the resource. */ readonly provisioningState?: string; } export declare function tableRoleAssignmentResourcePropertiesSerializer(item: TableRoleAssignmentResourceProperties): any; export declare function tableRoleAssignmentResourcePropertiesDeserializer(item: any): TableRoleAssignmentResourceProperties; /** The response of a TableRoleAssignmentResource list operation. */ export interface _TableRoleAssignmentListResult { /** The TableRoleAssignmentResource items on this page */ value: TableRoleAssignmentResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _tableRoleAssignmentListResultDeserializer(item: any): _TableRoleAssignmentListResult; export declare function tableRoleAssignmentResourceArraySerializer(result: Array): any[]; export declare function tableRoleAssignmentResourceArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Cassandra keyspace. */ export interface CassandraKeyspaceGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: CassandraKeyspaceGetPropertiesResource; options?: CassandraKeyspaceGetPropertiesOptions; } export declare function cassandraKeyspaceGetResultsDeserializer(item: any): CassandraKeyspaceGetResults; /** The properties of an Azure Cosmos DB Cassandra keyspace */ export interface CassandraKeyspaceGetProperties { resource?: CassandraKeyspaceGetPropertiesResource; options?: CassandraKeyspaceGetPropertiesOptions; } export declare function cassandraKeyspaceGetPropertiesDeserializer(item: any): CassandraKeyspaceGetProperties; /** model interface CassandraKeyspaceGetPropertiesResource */ export interface CassandraKeyspaceGetPropertiesResource extends CassandraKeyspaceResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function cassandraKeyspaceGetPropertiesResourceDeserializer(item: any): CassandraKeyspaceGetPropertiesResource; /** model interface CassandraKeyspaceGetPropertiesOptions */ export interface CassandraKeyspaceGetPropertiesOptions extends OptionsResource { } export declare function cassandraKeyspaceGetPropertiesOptionsDeserializer(item: any): CassandraKeyspaceGetPropertiesOptions; /** Cosmos DB Cassandra keyspace resource object */ export interface CassandraKeyspaceResource { /** Name of the Cosmos DB Cassandra keyspace */ id: string; } export declare function cassandraKeyspaceResourceSerializer(item: CassandraKeyspaceResource): any; export declare function cassandraKeyspaceResourceDeserializer(item: any): CassandraKeyspaceResource; /** 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; } export declare function cassandraKeyspaceCreateUpdateParametersSerializer(item: CassandraKeyspaceCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB Cassandra keyspace. */ export interface CassandraKeyspaceCreateUpdateProperties { /** 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; } export declare function cassandraKeyspaceCreateUpdatePropertiesSerializer(item: CassandraKeyspaceCreateUpdateProperties): any; /** The List operation response, that contains the Cassandra keyspaces and their properties. */ export interface _CassandraKeyspaceListResult { /** List of Cassandra keyspaces and their properties. */ readonly value?: CassandraKeyspaceGetResults[]; nextLink?: string; } export declare function _cassandraKeyspaceListResultDeserializer(item: any): _CassandraKeyspaceListResult; export declare function cassandraKeyspaceGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Cassandra table. */ export interface CassandraTableGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: CassandraTableGetPropertiesResource; options?: CassandraTableGetPropertiesOptions; } export declare function cassandraTableGetResultsDeserializer(item: any): CassandraTableGetResults; /** The properties of an Azure Cosmos DB Cassandra table */ export interface CassandraTableGetProperties { resource?: CassandraTableGetPropertiesResource; options?: CassandraTableGetPropertiesOptions; } export declare function cassandraTableGetPropertiesDeserializer(item: any): CassandraTableGetProperties; /** model interface CassandraTableGetPropertiesResource */ export interface CassandraTableGetPropertiesResource extends CassandraTableResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function cassandraTableGetPropertiesResourceDeserializer(item: any): CassandraTableGetPropertiesResource; /** model interface CassandraTableGetPropertiesOptions */ export interface CassandraTableGetPropertiesOptions extends OptionsResource { } export declare function cassandraTableGetPropertiesOptionsDeserializer(item: any): CassandraTableGetPropertiesOptions; /** 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; } export declare function cassandraTableResourceSerializer(item: CassandraTableResource): any; export declare function cassandraTableResourceDeserializer(item: any): CassandraTableResource; /** 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[]; } export declare function cassandraSchemaSerializer(item: CassandraSchema): any; export declare function cassandraSchemaDeserializer(item: any): CassandraSchema; export declare function columnArraySerializer(result: Array): any[]; export declare function columnArrayDeserializer(result: Array): any[]; /** 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; } export declare function columnSerializer(item: Column): any; export declare function columnDeserializer(item: any): Column; export declare function cassandraPartitionKeyArraySerializer(result: Array): any[]; export declare function cassandraPartitionKeyArrayDeserializer(result: Array): any[]; /** Cosmos DB Cassandra table partition key */ export interface CassandraPartitionKey { /** Name of the Cosmos DB Cassandra table partition key */ name?: string; } export declare function cassandraPartitionKeySerializer(item: CassandraPartitionKey): any; export declare function cassandraPartitionKeyDeserializer(item: any): CassandraPartitionKey; export declare function clusterKeyArraySerializer(result: Array): any[]; export declare function clusterKeyArrayDeserializer(result: Array): any[]; /** 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; } export declare function clusterKeySerializer(item: ClusterKey): any; export declare function clusterKeyDeserializer(item: any): ClusterKey; /** 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; } export declare function cassandraTableCreateUpdateParametersSerializer(item: CassandraTableCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB Cassandra table. */ export interface CassandraTableCreateUpdateProperties { /** 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; } export declare function cassandraTableCreateUpdatePropertiesSerializer(item: CassandraTableCreateUpdateProperties): any; /** The List operation response, that contains the Cassandra tables and their properties. */ export interface _CassandraTableListResult { /** List of Cassandra tables and their properties. */ readonly value?: CassandraTableGetResults[]; nextLink?: string; } export declare function _cassandraTableListResultDeserializer(item: any): _CassandraTableListResult; export declare function cassandraTableGetResultsArrayDeserializer(result: Array): any[]; /** Parameters to create and update an Azure Cosmos DB Cassandra Role Definition. */ export interface CassandraRoleDefinitionResource extends ProxyResource { /** The path id for the Role Definition. */ idPropertiesId?: string; /** 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 Cassandra 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[]; } export declare function cassandraRoleDefinitionResourceSerializer(item: CassandraRoleDefinitionResource): any; export declare function cassandraRoleDefinitionResourceDeserializer(item: any): CassandraRoleDefinitionResource; /** Azure Cosmos DB Cassandra Role Definition resource object. */ export interface CassandraRoleDefinitionResourceProperties { /** The path id for the Role Definition. */ id?: string; /** 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 Cassandra 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[]; } export declare function cassandraRoleDefinitionResourcePropertiesSerializer(item: CassandraRoleDefinitionResourceProperties): any; export declare function cassandraRoleDefinitionResourcePropertiesDeserializer(item: any): CassandraRoleDefinitionResourceProperties; /** The response of a CassandraRoleDefinitionResource list operation. */ export interface _CassandraRoleDefinitionListResult { /** The CassandraRoleDefinitionResource items on this page */ value: CassandraRoleDefinitionResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _cassandraRoleDefinitionListResultDeserializer(item: any): _CassandraRoleDefinitionListResult; export declare function cassandraRoleDefinitionResourceArraySerializer(result: Array): any[]; export declare function cassandraRoleDefinitionResourceArrayDeserializer(result: Array): any[]; /** Parameters to create and update an Azure Cosmos DB Cassandra Role Assignment. */ export interface CassandraRoleAssignmentResource extends ProxyResource { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this Cassandra Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Cassandra Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; /** Provisioning state of the resource. */ readonly provisioningState?: string; } export declare function cassandraRoleAssignmentResourceSerializer(item: CassandraRoleAssignmentResource): any; export declare function cassandraRoleAssignmentResourceDeserializer(item: any): CassandraRoleAssignmentResource; /** Azure Cosmos DB Cassandra Role Assignment resource object. */ export interface CassandraRoleAssignmentResourceProperties { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this Cassandra Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Cassandra Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; /** Provisioning state of the resource. */ readonly provisioningState?: string; } export declare function cassandraRoleAssignmentResourcePropertiesSerializer(item: CassandraRoleAssignmentResourceProperties): any; export declare function cassandraRoleAssignmentResourcePropertiesDeserializer(item: any): CassandraRoleAssignmentResourceProperties; /** The response of a CassandraRoleAssignmentResource list operation. */ export interface _CassandraRoleAssignmentListResult { /** The CassandraRoleAssignmentResource items on this page */ value: CassandraRoleAssignmentResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _cassandraRoleAssignmentListResultDeserializer(item: any): _CassandraRoleAssignmentListResult; export declare function cassandraRoleAssignmentResourceArraySerializer(result: Array): any[]; export declare function cassandraRoleAssignmentResourceArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Gremlin database. */ export interface GremlinDatabaseGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: GremlinDatabaseGetPropertiesResource; options?: GremlinDatabaseGetPropertiesOptions; } export declare function gremlinDatabaseGetResultsDeserializer(item: any): GremlinDatabaseGetResults; /** The properties of an Azure Cosmos DB SQL database */ export interface GremlinDatabaseGetProperties { resource?: GremlinDatabaseGetPropertiesResource; options?: GremlinDatabaseGetPropertiesOptions; } export declare function gremlinDatabaseGetPropertiesDeserializer(item: any): GremlinDatabaseGetProperties; /** model interface GremlinDatabaseGetPropertiesResource */ export interface GremlinDatabaseGetPropertiesResource extends GremlinDatabaseResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function gremlinDatabaseGetPropertiesResourceDeserializer(item: any): GremlinDatabaseGetPropertiesResource; /** model interface GremlinDatabaseGetPropertiesOptions */ export interface GremlinDatabaseGetPropertiesOptions extends OptionsResource { } export declare function gremlinDatabaseGetPropertiesOptionsDeserializer(item: any): GremlinDatabaseGetPropertiesOptions; /** 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; } export declare function gremlinDatabaseResourceSerializer(item: GremlinDatabaseResource): any; export declare function gremlinDatabaseResourceDeserializer(item: any): GremlinDatabaseResource; /** 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; } export declare function gremlinDatabaseCreateUpdateParametersSerializer(item: GremlinDatabaseCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB Gremlin database. */ export interface GremlinDatabaseCreateUpdateProperties { /** 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; } export declare function gremlinDatabaseCreateUpdatePropertiesSerializer(item: GremlinDatabaseCreateUpdateProperties): any; /** The List operation response, that contains the Gremlin databases and their properties. */ export interface _GremlinDatabaseListResult { /** List of Gremlin databases and their properties. */ readonly value?: GremlinDatabaseGetResults[]; nextLink?: string; } export declare function _gremlinDatabaseListResultDeserializer(item: any): _GremlinDatabaseListResult; export declare function gremlinDatabaseGetResultsArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Gremlin graph. */ export interface GremlinGraphGetResults extends ProxyResource { /** 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?: Record; /** Identity for the resource. */ identity?: ManagedServiceIdentity; resource?: GremlinGraphGetPropertiesResource; options?: GremlinGraphGetPropertiesOptions; } export declare function gremlinGraphGetResultsDeserializer(item: any): GremlinGraphGetResults; /** The properties of an Azure Cosmos DB Gremlin graph */ export interface GremlinGraphGetProperties { resource?: GremlinGraphGetPropertiesResource; options?: GremlinGraphGetPropertiesOptions; } export declare function gremlinGraphGetPropertiesDeserializer(item: any): GremlinGraphGetProperties; /** model interface GremlinGraphGetPropertiesResource */ export interface GremlinGraphGetPropertiesResource extends GremlinGraphResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; } export declare function gremlinGraphGetPropertiesResourceDeserializer(item: any): GremlinGraphGetPropertiesResource; /** model interface GremlinGraphGetPropertiesOptions */ export interface GremlinGraphGetPropertiesOptions extends OptionsResource { } export declare function gremlinGraphGetPropertiesOptionsDeserializer(item: any): GremlinGraphGetPropertiesOptions; /** 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; } export declare function gremlinGraphResourceSerializer(item: GremlinGraphResource): any; export declare function gremlinGraphResourceDeserializer(item: any): GremlinGraphResource; /** 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; } export declare function gremlinGraphCreateUpdateParametersSerializer(item: GremlinGraphCreateUpdateParameters): any; /** Properties to create and update Azure Cosmos DB Gremlin graph. */ export interface GremlinGraphCreateUpdateProperties { /** 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; } export declare function gremlinGraphCreateUpdatePropertiesSerializer(item: GremlinGraphCreateUpdateProperties): any; /** The List operation response, that contains the graphs and their properties. */ export interface _GremlinGraphListResult { /** List of graphs and their properties. */ readonly value?: GremlinGraphGetResults[]; nextLink?: string; } export declare function _gremlinGraphListResultDeserializer(item: any): _GremlinGraphListResult; export declare function gremlinGraphGetResultsArrayDeserializer(result: Array): any[]; /** Parameters to create and update an Azure Cosmos DB Gremlin Role Definition. */ export interface GremlinRoleDefinitionResource extends ProxyResource { /** The path id for the Role Definition. */ idPropertiesId?: string; /** 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 Gremlin 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[]; } export declare function gremlinRoleDefinitionResourceSerializer(item: GremlinRoleDefinitionResource): any; export declare function gremlinRoleDefinitionResourceDeserializer(item: any): GremlinRoleDefinitionResource; /** Azure Cosmos DB Gremlin Role Definition resource object. */ export interface GremlinRoleDefinitionResourceProperties { /** The path id for the Role Definition. */ id?: string; /** 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 Gremlin 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[]; } export declare function gremlinRoleDefinitionResourcePropertiesSerializer(item: GremlinRoleDefinitionResourceProperties): any; export declare function gremlinRoleDefinitionResourcePropertiesDeserializer(item: any): GremlinRoleDefinitionResourceProperties; /** The response of a GremlinRoleDefinitionResource list operation. */ export interface _GremlinRoleDefinitionListResult { /** The GremlinRoleDefinitionResource items on this page */ value: GremlinRoleDefinitionResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _gremlinRoleDefinitionListResultDeserializer(item: any): _GremlinRoleDefinitionListResult; export declare function gremlinRoleDefinitionResourceArraySerializer(result: Array): any[]; export declare function gremlinRoleDefinitionResourceArrayDeserializer(result: Array): any[]; /** Parameters to create and update an Azure Cosmos DB Gremlin Role Assignment. */ export interface GremlinRoleAssignmentResource extends ProxyResource { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this Gremlin Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Gremlin Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; /** Provisioning state of the resource. */ readonly provisioningState?: string; } export declare function gremlinRoleAssignmentResourceSerializer(item: GremlinRoleAssignmentResource): any; export declare function gremlinRoleAssignmentResourceDeserializer(item: any): GremlinRoleAssignmentResource; /** Azure Cosmos DB Gremlin Role Assignment resource object. */ export interface GremlinRoleAssignmentResourceProperties { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this Gremlin Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this Gremlin Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; /** Provisioning state of the resource. */ readonly provisioningState?: string; } export declare function gremlinRoleAssignmentResourcePropertiesSerializer(item: GremlinRoleAssignmentResourceProperties): any; export declare function gremlinRoleAssignmentResourcePropertiesDeserializer(item: any): GremlinRoleAssignmentResourceProperties; /** The response of a GremlinRoleAssignmentResource list operation. */ export interface _GremlinRoleAssignmentListResult { /** The GremlinRoleAssignmentResource items on this page */ value: GremlinRoleAssignmentResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _gremlinRoleAssignmentListResultDeserializer(item: any): _GremlinRoleAssignmentListResult; export declare function gremlinRoleAssignmentResourceArraySerializer(result: Array): any[]; export declare function gremlinRoleAssignmentResourceArrayDeserializer(result: Array): any[]; /** A notebook workspace resource */ export interface NotebookWorkspace extends ProxyResource { /** Specifies the endpoint of Notebook server. */ readonly notebookServerEndpoint?: string; /** Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. */ readonly status?: string; } export declare function notebookWorkspaceDeserializer(item: any): NotebookWorkspace; /** Properties of a notebook workspace resource. */ export interface NotebookWorkspaceProperties { /** Specifies the endpoint of Notebook server. */ readonly notebookServerEndpoint?: string; /** Status of the notebook workspace. Possible values are: Creating, Online, Deleting, Failed, Updating. */ readonly status?: string; } export declare function notebookWorkspacePropertiesDeserializer(item: any): NotebookWorkspaceProperties; /** Known values of {@link NotebookWorkspaceName} that the service accepts. */ export declare enum KnownNotebookWorkspaceName { /** default */ Default = "default" } /** Type of NotebookWorkspaceName */ export type NotebookWorkspaceName = string; /** Parameters to create a notebook workspace resource */ export interface NotebookWorkspaceCreateUpdateParameters extends ARMProxyResource { } export declare function notebookWorkspaceCreateUpdateParametersSerializer(_item: NotebookWorkspaceCreateUpdateParameters): any; /** 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. */ readonly id?: string; /** The name of the database account. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; } export declare function armProxyResourceSerializer(_item: ARMProxyResource): any; /** A list of notebook workspace resources */ export interface _NotebookWorkspaceListResult { /** Array of notebook workspace resources */ value?: NotebookWorkspace[]; nextLink?: string; } export declare function _notebookWorkspaceListResultDeserializer(item: any): _NotebookWorkspaceListResult; export declare function notebookWorkspaceArrayDeserializer(result: Array): any[]; /** The connection info for the given notebook workspace */ export interface NotebookWorkspaceConnectionInfoResult { /** Specifies auth token used for connecting to Notebook server (uses token-based auth). */ readonly authToken?: string; /** Specifies the endpoint of Notebook server. */ readonly notebookServerEndpoint?: string; } export declare function notebookWorkspaceConnectionInfoResultDeserializer(item: any): NotebookWorkspaceConnectionInfoResult; /** A list of private endpoint connections */ export interface _PrivateEndpointConnectionListResult { /** Array of private endpoint connections */ value?: PrivateEndpointConnection[]; nextLink?: string; } export declare function _privateEndpointConnectionListResultDeserializer(item: any): _PrivateEndpointConnectionListResult; /** A private link resource */ export interface PrivateLinkResource extends ProxyResource { /** The private link resource group id. */ readonly groupId?: string; /** The private link resource required member names. */ readonly requiredMembers?: string[]; /** The private link resource required zone names. */ readonly requiredZoneNames?: string[]; } export declare function privateLinkResourceDeserializer(item: any): PrivateLinkResource; /** Properties of a private link resource. */ export interface PrivateLinkResourceProperties { /** The private link resource group id. */ readonly groupId?: string; /** The private link resource required member names. */ readonly requiredMembers?: string[]; /** The private link resource required zone names. */ readonly requiredZoneNames?: string[]; } export declare function privateLinkResourcePropertiesDeserializer(item: any): PrivateLinkResourceProperties; /** A list of private link resources */ export interface _PrivateLinkResourceListResult { /** Array of private link resources */ value?: PrivateLinkResource[]; nextLink?: string; } export declare function _privateLinkResourceListResultDeserializer(item: any): _PrivateLinkResourceListResult; export declare function privateLinkResourceArrayDeserializer(result: Array): any[]; /** The response to a list percentile metrics request. */ export interface _PercentileMetricListResult { /** The list of percentile metrics for the account. */ readonly value?: PercentileMetric[]; nextLink?: string; } export declare function _percentileMetricListResultDeserializer(item: any): _PercentileMetricListResult; export declare function percentileMetricArrayDeserializer(result: Array): any[]; /** Percentile Metric data */ export interface PercentileMetric { /** The start time for the metric (ISO-8601 format). */ readonly startTime?: Date; /** The end time for the metric (ISO-8601 format). */ readonly endTime?: Date; /** The time grain to be used to summarize the metric values. */ readonly timeGrain?: string; /** The unit of the metric. */ readonly unit?: UnitType; /** The name information for the metric. */ readonly name?: MetricName; /** The percentile metric values for the specified time window and timestep. */ readonly metricValues?: PercentileMetricValue[]; } export declare function percentileMetricDeserializer(item: any): PercentileMetric; export declare function percentileMetricValueArrayDeserializer(result: Array): any[]; /** Represents percentile metrics values. */ export interface PercentileMetricValue extends MetricValue { /** The 10th percentile value for the metric. */ readonly p10?: number; /** The 25th percentile value for the metric. */ readonly p25?: number; /** The 50th percentile value for the metric. */ readonly p50?: number; /** The 75th percentile value for the metric. */ readonly p75?: number; /** The 90th percentile value for the metric. */ readonly p90?: number; /** The 95th percentile value for the metric. */ readonly p95?: number; /** The 99th percentile value for the metric. */ readonly p99?: number; } export declare function percentileMetricValueDeserializer(item: any): PercentileMetricValue; /** The response to a list partition metrics request. */ export interface _PartitionMetricListResult { /** The list of partition-level metrics for the account. */ readonly value?: PartitionMetric[]; nextLink?: string; } export declare function _partitionMetricListResultDeserializer(item: any): _PartitionMetricListResult; export declare function partitionMetricArrayDeserializer(result: Array): any[]; /** The metric values for a single partition. */ export interface PartitionMetric extends Metric { /** The partition id (GUID identifier) of the metric values. */ readonly partitionId?: string; /** The partition key range id (integer identifier) of the metric values. */ readonly partitionKeyRangeId?: string; } export declare function partitionMetricDeserializer(item: any): PartitionMetric; /** 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 */ readonly value?: PartitionUsage[]; nextLink?: string; } export declare function _partitionUsagesResultDeserializer(item: any): _PartitionUsagesResult; export declare function partitionUsageArrayDeserializer(result: Array): any[]; /** The partition level usage data for a usage request. */ export interface PartitionUsage extends Usage { /** The partition id (GUID identifier) of the usages. */ readonly partitionId?: string; /** The partition key range id (integer identifier) of the usages. */ readonly partitionKeyRangeId?: string; } export declare function partitionUsageDeserializer(item: any): PartitionUsage; /** Cosmos DB location get result */ export interface LocationGetResult extends ProxyResource { /** Cosmos DB location metadata */ properties?: LocationProperties; } export declare function locationGetResultDeserializer(item: any): LocationGetResult; /** Cosmos DB location metadata */ export interface LocationProperties { /** Flag indicating whether the location supports availability zones or not. */ readonly supportsAvailabilityZone?: boolean; /** Flag indicating whether the location is residency sensitive. */ readonly isResidencyRestricted?: boolean; /** The properties of available backup storage redundancies. */ readonly backupStorageRedundancies?: BackupStorageRedundancy[]; /** Flag indicating whether the subscription have access in region for Non-Availability Zones. */ readonly isSubscriptionRegionAccessAllowedForRegular?: boolean; /** Flag indicating whether the subscription have access in region for Availability Zones(Az). */ readonly isSubscriptionRegionAccessAllowedForAz?: boolean; /** Enum to indicate current buildout status of the region. */ readonly status?: Status; } export declare function locationPropertiesDeserializer(item: any): LocationProperties; /** Enum to indicate current buildout status of the region. */ export declare enum KnownStatus { /** Uninitialized */ Uninitialized = "Uninitialized", /** Initializing */ Initializing = "Initializing", /** InternallyReady */ InternallyReady = "InternallyReady", /** Online */ Online = "Online", /** Deleting */ Deleting = "Deleting", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled", /** Updating */ Updating = "Updating", /** Creating */ Creating = "Creating" } /** * Enum to indicate current buildout status of the region. \ * {@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** \ * **Succeeded** \ * **Failed** \ * **Canceled** \ * **Updating** \ * **Creating** */ export type Status = string; /** The List operation response, that contains Cosmos DB locations and their properties. */ export interface _LocationListResult { /** List of Cosmos DB locations and their properties. */ readonly value?: LocationGetResult[]; nextLink?: string; } export declare function _locationListResultDeserializer(item: any): _LocationListResult; export declare function locationGetResultArrayDeserializer(result: Array): any[]; /** Representation of a managed Cassandra cluster. */ export interface ClusterResource extends ProxyResource { /** Properties of a managed Cassandra cluster. */ properties?: ClusterResourceProperties; /** 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?: Record; /** Identity for the resource. */ identity?: ManagedCassandraManagedServiceIdentity; } export declare function clusterResourceSerializer(item: ClusterResource): any; export declare function clusterResourceDeserializer(item: any): 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; /** The form of AutoReplicate that is being used by this cluster. */ autoReplicate?: AutoReplicate; /** 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. */ 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. */ readonly seedNodes?: SeedNode[]; /** List of the data center names for unmanaged data centers in this cluster to be included in auto-replication. */ externalDataCenters?: string[]; /** (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; /** Extensions to be added or updated on cluster. */ extensions?: string[]; /** List of backup schedules that define when you want to back up your data. */ backupSchedules?: BackupSchedule[]; /** How the nodes in the cluster react to scheduled events */ scheduledEventStrategy?: ScheduledEventStrategy; /** 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. */ readonly privateLinkResourceId?: string; } export declare function clusterResourcePropertiesSerializer(item: ClusterResourceProperties): any; export declare function clusterResourcePropertiesDeserializer(item: any): ClusterResourceProperties; /** The status of the resource at the time the operation was called. */ export declare enum KnownManagedCassandraProvisioningState { /** Creating */ Creating = "Creating", /** Updating */ Updating = "Updating", /** Deleting */ Deleting = "Deleting", /** Succeeded */ Succeeded = "Succeeded", /** Failed */ Failed = "Failed", /** Canceled */ Canceled = "Canceled" } /** * The status of the resource at the time the operation was called. \ * {@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; /** 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'. */ export declare enum KnownAuthenticationMethod { /** None */ None = "None", /** Cassandra */ Cassandra = "Cassandra", /** Ldap */ Ldap = "Ldap" } /** * 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'. \ * {@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; /** model interface SeedNode */ export interface SeedNode { /** IP address of this seed node. */ ipAddress?: string; } export declare function seedNodeSerializer(item: SeedNode): any; export declare function seedNodeDeserializer(item: any): SeedNode; /** The form of AutoReplicate that is being used by this cluster. */ export declare enum KnownAutoReplicate { /** None */ None = "None", /** SystemKeyspaces */ SystemKeyspaces = "SystemKeyspaces", /** AllKeyspaces */ AllKeyspaces = "AllKeyspaces" } /** * The form of AutoReplicate that is being used by this cluster. \ * {@link KnownAutoReplicate} can be used interchangeably with AutoReplicate, * this enum contains the known values that the service supports. * ### Known values supported by the service * **None** \ * **SystemKeyspaces** \ * **AllKeyspaces** */ export type AutoReplicate = string; export declare function certificateArraySerializer(result: Array): any[]; export declare function certificateArrayDeserializer(result: Array): any[]; /** model interface Certificate */ export interface Certificate { /** PEM formatted public key. */ pem?: string; } export declare function certificateSerializer(item: Certificate): any; export declare function certificateDeserializer(item: any): Certificate; export declare function seedNodeArraySerializer(result: Array): any[]; export declare function seedNodeArrayDeserializer(result: Array): any[]; /** model interface CassandraError */ 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; } export declare function cassandraErrorSerializer(item: CassandraError): any; export declare function cassandraErrorDeserializer(item: any): CassandraError; export declare function backupScheduleArraySerializer(result: Array): any[]; export declare function backupScheduleArrayDeserializer(result: Array): any[]; /** model interface BackupSchedule */ export interface BackupSchedule { /** The unique identifier of backup schedule. */ scheduleName?: string; /** The cron expression that defines when you want to back up your data. */ cronExpression?: string; /** The retention period (hours) of the backups. If you want to retain data forever, set retention to 0. */ retentionInHours?: number; } export declare function backupScheduleSerializer(item: BackupSchedule): any; export declare function backupScheduleDeserializer(item: any): BackupSchedule; /** How the nodes in the cluster react to scheduled events */ export declare enum KnownScheduledEventStrategy { /** Ignore */ Ignore = "Ignore", /** StopAny */ StopAny = "StopAny", /** StopByRack */ StopByRack = "StopByRack" } /** * How the nodes in the cluster react to scheduled events \ * {@link KnownScheduledEventStrategy} can be used interchangeably with ScheduledEventStrategy, * this enum contains the known values that the service supports. * ### Known values supported by the service * **Ignore** \ * **StopAny** \ * **StopByRack** */ export type ScheduledEventStrategy = string; /** How to connect to the azure services needed for running the cluster */ export declare enum KnownAzureConnectionType { /** None */ None = "None", /** VPN */ VPN = "VPN" } /** * How to connect to the azure services needed for running the cluster \ * {@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; /** Identity for the resource. */ export interface ManagedCassandraManagedServiceIdentity { /** The object id of the identity resource. */ readonly principalId?: string; /** The tenant id of the resource. */ readonly tenantId?: string; /** The type of the resource. */ type?: ManagedCassandraResourceIdentityType; } export declare function managedCassandraManagedServiceIdentitySerializer(item: ManagedCassandraManagedServiceIdentity): any; export declare function managedCassandraManagedServiceIdentityDeserializer(item: any): ManagedCassandraManagedServiceIdentity; /** The type of the resource. */ export declare enum KnownManagedCassandraResourceIdentityType { /** SystemAssigned */ SystemAssigned = "SystemAssigned", /** None */ None = "None" } /** * The type of the resource. \ * {@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; /** List of managed Cassandra clusters. */ export interface _ListClusters { /** Container for the array of clusters. */ value?: ClusterResource[]; nextLink?: string; } export declare function _listClustersDeserializer(item: any): _ListClusters; export declare function clusterResourceArraySerializer(result: Array): any[]; export declare function clusterResourceArrayDeserializer(result: Array): any[]; /** 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?: Record; /** 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; } export declare function commandPostBodySerializer(item: CommandPostBody): any; /** Response of /command api */ export interface CommandOutput { /** Output of the command. */ commandOutput?: string; } export declare function commandOutputDeserializer(item: any): CommandOutput; /** 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 declare function cassandraClusterPublicStatusDeserializer(item: any): CassandraClusterPublicStatus; /** model interface ManagedCassandraReaperStatus */ export interface ManagedCassandraReaperStatus { healthy?: boolean; /** Dictionary of */ repairRunIds?: Record; /** Dictionary of */ repairSchedules?: Record; } export declare function managedCassandraReaperStatusDeserializer(item: any): ManagedCassandraReaperStatus; export declare function connectionErrorArrayDeserializer(result: Array): any[]; /** model interface ConnectionError */ 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 declare function connectionErrorDeserializer(item: any): ConnectionError; /** The kind of connection error that occurred. */ export declare enum KnownConnectionState { /** Unknown */ Unknown = "Unknown", /** OK */ OK = "OK", /** OperatorToDataCenterNetworkError */ OperatorToDataCenterNetworkError = "OperatorToDataCenterNetworkError", /** DatacenterToDatacenterNetworkError */ DatacenterToDatacenterNetworkError = "DatacenterToDatacenterNetworkError", /** InternalOperatorToDataCenterCertificateError */ InternalOperatorToDataCenterCertificateError = "InternalOperatorToDataCenterCertificateError", /** InternalError */ InternalError = "InternalError" } /** * The kind of connection error that occurred. \ * {@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; export declare function cassandraErrorArraySerializer(result: Array): any[]; export declare function cassandraErrorArrayDeserializer(result: Array): any[]; export declare function cassandraClusterPublicStatusDataCentersItemArrayDeserializer(result: Array): any[]; /** model interface CassandraClusterPublicStatusDataCentersItem */ 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 declare function cassandraClusterPublicStatusDataCentersItemDeserializer(item: any): CassandraClusterPublicStatusDataCentersItem; export declare function componentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemsArrayDeserializer(result: Array): any[]; /** model interface 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; /** If node has been updated to latest model */ isLatestModel?: boolean; } export declare function componentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItemsDeserializer(item: any): ComponentsM9L909SchemasCassandraclusterpublicstatusPropertiesDatacentersItemsPropertiesNodesItems; /** The state of the node in Cassandra ring. */ export declare enum KnownNodeState { /** Normal */ Normal = "Normal", /** Leaving */ Leaving = "Leaving", /** Joining */ Joining = "Joining", /** Moving */ Moving = "Moving", /** Stopped */ Stopped = "Stopped" } /** * The state of the node in Cassandra ring. \ * {@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; /** A managed Cassandra data center. */ export interface DataCenterResource extends ProxyResource { /** Properties of a managed Cassandra data center. */ properties?: DataCenterResourceProperties; } export declare function dataCenterResourceSerializer(item: DataCenterResource): any; export declare function dataCenterResourceDeserializer(item: any): 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. */ 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; } export declare function dataCenterResourcePropertiesSerializer(item: DataCenterResourceProperties): any; export declare function dataCenterResourcePropertiesDeserializer(item: any): DataCenterResourceProperties; /** 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; } export declare function authenticationMethodLdapPropertiesSerializer(item: AuthenticationMethodLdapProperties): any; export declare function authenticationMethodLdapPropertiesDeserializer(item: any): AuthenticationMethodLdapProperties; /** List of managed Cassandra data centers and their properties. */ export interface _ListDataCenters { /** Container for array of data centers. */ readonly value?: DataCenterResource[]; nextLink?: string; } export declare function _listDataCentersDeserializer(item: any): _ListDataCenters; export declare function dataCenterResourceArraySerializer(result: Array): any[]; export declare function dataCenterResourceArrayDeserializer(result: Array): any[]; /** A Azure Cosmos DB restorable database account. */ export interface RestorableDatabaseAccountGetResult extends ProxyResource { /** 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 least recent time at which the database account can be restored to (ISO-8601 format). */ oldestRestorableTime?: Date; /** The time at which the restorable database account has been deleted (ISO-8601 format). */ deletionTime?: Date; /** The API type of the restorable database account. */ readonly apiType?: ApiType; /** List of regions where the of the database account can be restored from. */ readonly restorableLocations?: RestorableLocationResource[]; } export declare function restorableDatabaseAccountGetResultDeserializer(item: any): RestorableDatabaseAccountGetResult; /** The properties of a restorable database account. */ export interface RestorableDatabaseAccountProperties { /** The name of the global database account */ accountName?: string; /** The creation time of the restorable database account (ISO-8601 format). */ creationTime?: Date; /** The least recent time at which the database account can be restored to (ISO-8601 format). */ oldestRestorableTime?: Date; /** The time at which the restorable database account has been deleted (ISO-8601 format). */ deletionTime?: Date; /** The API type of the restorable database account. */ readonly apiType?: ApiType; /** List of regions where the of the database account can be restored from. */ readonly restorableLocations?: RestorableLocationResource[]; } export declare function restorableDatabaseAccountPropertiesDeserializer(item: any): RestorableDatabaseAccountProperties; /** Enum to indicate the API type of the restorable database account. */ export declare enum KnownApiType { /** MongoDB */ MongoDB = "MongoDB", /** Gremlin */ Gremlin = "Gremlin", /** Cassandra */ Cassandra = "Cassandra", /** Table */ Table = "Table", /** Sql */ Sql = "Sql", /** GremlinV2 */ GremlinV2 = "GremlinV2" } /** * Enum to indicate the API type of the restorable database account. \ * {@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; export declare function restorableLocationResourceArrayDeserializer(result: Array): any[]; /** Properties of the regional restorable account. */ export interface RestorableLocationResource { /** The location of the regional restorable account. */ readonly locationName?: string; /** The instance id of the regional restorable account. */ readonly regionalDatabaseAccountInstanceId?: string; /** The creation time of the regional restorable database account (ISO-8601 format). */ readonly creationTime?: Date; /** The time at which the regional restorable database account has been deleted (ISO-8601 format). */ readonly deletionTime?: Date; } export declare function restorableLocationResourceDeserializer(item: any): RestorableLocationResource; /** The List operation response, that contains the restorable database accounts and their properties. */ export interface _RestorableDatabaseAccountsListResult { /** List of restorable database accounts and their properties. */ readonly value?: RestorableDatabaseAccountGetResult[]; nextLink?: string; } export declare function _restorableDatabaseAccountsListResultDeserializer(item: any): _RestorableDatabaseAccountsListResult; export declare function restorableDatabaseAccountGetResultArrayDeserializer(result: Array): any[]; /** The List operation response, that contains the SQL database events and their properties. */ export interface _RestorableSqlDatabasesListResult { /** List of SQL database events and their properties. */ readonly value?: RestorableSqlDatabaseGetResult[]; nextLink?: string; } export declare function _restorableSqlDatabasesListResultDeserializer(item: any): _RestorableSqlDatabasesListResult; export declare function restorableSqlDatabaseGetResultArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB SQL database event */ export interface RestorableSqlDatabaseGetResult { /** The unique resource Identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The resource of an Azure Cosmos DB SQL database event */ resource?: RestorableSqlDatabasePropertiesResource; } export declare function restorableSqlDatabaseGetResultDeserializer(item: any): RestorableSqlDatabaseGetResult; /** The properties of an Azure Cosmos DB SQL database event */ export interface RestorableSqlDatabaseProperties { /** The resource of an Azure Cosmos DB SQL database event */ resource?: RestorableSqlDatabasePropertiesResource; } export declare function restorableSqlDatabasePropertiesDeserializer(item: any): RestorableSqlDatabaseProperties; /** The resource of an Azure Cosmos DB SQL database event */ export interface RestorableSqlDatabasePropertiesResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** The operation type of this database event. */ readonly operationType?: OperationType; /** A state of this database to identify if this database is restorable in same account. */ readonly canUndelete?: string; /** The reason why this database can not be restored in same account. */ readonly canUndeleteReason?: string; /** The time when this database event happened. */ readonly eventTimestamp?: string; /** The name of the SQL database. */ readonly ownerId?: string; /** The resource ID of the SQL database. */ readonly ownerResourceId?: string; /** Cosmos DB SQL database resource object */ database?: RestorableSqlDatabasePropertiesResourceDatabase; } export declare function restorableSqlDatabasePropertiesResourceDeserializer(item: any): RestorableSqlDatabasePropertiesResource; /** Enum to indicate the operation type of the event. */ export declare enum KnownOperationType { /** Create */ Create = "Create", /** Replace */ Replace = "Replace", /** Delete */ Delete = "Delete", /** Recreate */ Recreate = "Recreate", /** SystemOperation */ SystemOperation = "SystemOperation" } /** * Enum to indicate the operation type of the event. \ * {@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; /** Cosmos DB SQL database resource object */ export interface RestorableSqlDatabasePropertiesResourceDatabase extends SqlDatabaseResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; /** A system generated property that specified the addressable path of the collections resource. */ readonly colls?: string; /** A system generated property that specifies the addressable path of the users resource. */ readonly users?: string; /** A system generated property that specifies the addressable path of the database resource. */ readonly self?: string; } export declare function restorableSqlDatabasePropertiesResourceDatabaseDeserializer(item: any): 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. */ readonly value?: RestorableSqlContainerGetResult[]; nextLink?: string; } export declare function _restorableSqlContainersListResultDeserializer(item: any): _RestorableSqlContainersListResult; export declare function restorableSqlContainerGetResultArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB SQL container event */ export interface RestorableSqlContainerGetResult { /** The unique resource Identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The resource of an Azure Cosmos DB SQL container event */ resource?: RestorableSqlContainerPropertiesResource; } export declare function restorableSqlContainerGetResultDeserializer(item: any): RestorableSqlContainerGetResult; /** The properties of an Azure Cosmos DB SQL container event */ export interface RestorableSqlContainerProperties { /** The resource of an Azure Cosmos DB SQL container event */ resource?: RestorableSqlContainerPropertiesResource; } export declare function restorableSqlContainerPropertiesDeserializer(item: any): RestorableSqlContainerProperties; /** The resource of an Azure Cosmos DB SQL container event */ export interface RestorableSqlContainerPropertiesResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** The operation type of this container event. */ readonly operationType?: OperationType; /** A state of this container to identify if this container is restorable in same account. */ readonly canUndelete?: string; /** The reason why this container can not be restored in same account. */ readonly canUndeleteReason?: string; /** The when this container event happened. */ readonly eventTimestamp?: string; /** The name of this SQL container. */ readonly ownerId?: string; /** The resource ID of this SQL container. */ readonly ownerResourceId?: string; /** Cosmos DB SQL container resource object */ container?: RestorableSqlContainerPropertiesResourceContainer; } export declare function restorableSqlContainerPropertiesResourceDeserializer(item: any): RestorableSqlContainerPropertiesResource; /** Cosmos DB SQL container resource object */ export interface RestorableSqlContainerPropertiesResourceContainer extends SqlContainerResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** A system generated property that denotes the last updated timestamp of the resource. */ readonly ts?: number; /** A system generated property representing the resource etag required for optimistic concurrency control. */ readonly etag?: string; /** A system generated property that specifies the addressable path of the container resource. */ readonly self?: string; } export declare function restorableSqlContainerPropertiesResourceContainerDeserializer(item: any): 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. */ readonly value?: RestorableSqlResourcesGetResult[]; nextLink?: string; } export declare function _restorableSqlResourcesListResultDeserializer(item: any): _RestorableSqlResourcesListResult; export declare function restorableSqlResourcesGetResultArrayDeserializer(result: Array): any[]; /** Specific Databases to restore. */ export interface RestorableSqlResourcesGetResult { /** The unique resource identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The name of the database available for restore. */ databaseName?: string; /** The names of the collections available for restore. */ collectionNames?: string[]; } export declare function restorableSqlResourcesGetResultDeserializer(item: any): RestorableSqlResourcesGetResult; /** The List operation response, that contains the MongoDB database events and their properties. */ export interface _RestorableMongodbDatabasesListResult { /** List of MongoDB database events and their properties. */ readonly value?: RestorableMongodbDatabaseGetResult[]; nextLink?: string; } export declare function _restorableMongodbDatabasesListResultDeserializer(item: any): _RestorableMongodbDatabasesListResult; export declare function restorableMongodbDatabaseGetResultArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB MongoDB database event */ export interface RestorableMongodbDatabaseGetResult { /** The unique resource Identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The resource of an Azure Cosmos DB MongoDB database event */ resource?: RestorableMongodbDatabasePropertiesResource; } export declare function restorableMongodbDatabaseGetResultDeserializer(item: any): RestorableMongodbDatabaseGetResult; /** The properties of an Azure Cosmos DB MongoDB database event */ export interface RestorableMongodbDatabaseProperties { /** The resource of an Azure Cosmos DB MongoDB database event */ resource?: RestorableMongodbDatabasePropertiesResource; } export declare function restorableMongodbDatabasePropertiesDeserializer(item: any): RestorableMongodbDatabaseProperties; /** The resource of an Azure Cosmos DB MongoDB database event */ export interface RestorableMongodbDatabasePropertiesResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** The operation type of this database event. */ readonly operationType?: OperationType; /** A state of this database to identify if this database is restorable in same account. */ readonly canUndelete?: string; /** The reason why this database can not be restored in same account. */ readonly canUndeleteReason?: string; /** The time when this database event happened. */ readonly eventTimestamp?: string; /** The name of this MongoDB database. */ readonly ownerId?: string; /** The resource ID of this MongoDB database. */ readonly ownerResourceId?: string; } export declare function restorableMongodbDatabasePropertiesResourceDeserializer(item: any): RestorableMongodbDatabasePropertiesResource; /** The List operation response, that contains the MongoDB collection events and their properties. */ export interface _RestorableMongodbCollectionsListResult { /** List of MongoDB collection events and their properties. */ readonly value?: RestorableMongodbCollectionGetResult[]; nextLink?: string; } export declare function _restorableMongodbCollectionsListResultDeserializer(item: any): _RestorableMongodbCollectionsListResult; export declare function restorableMongodbCollectionGetResultArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB MongoDB collection event */ export interface RestorableMongodbCollectionGetResult { /** The unique resource Identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The resource of an Azure Cosmos DB MongoDB collection event */ resource?: RestorableMongodbCollectionPropertiesResource; } export declare function restorableMongodbCollectionGetResultDeserializer(item: any): RestorableMongodbCollectionGetResult; /** The properties of an Azure Cosmos DB MongoDB collection event */ export interface RestorableMongodbCollectionProperties { /** The resource of an Azure Cosmos DB MongoDB collection event */ resource?: RestorableMongodbCollectionPropertiesResource; } export declare function restorableMongodbCollectionPropertiesDeserializer(item: any): RestorableMongodbCollectionProperties; /** The resource of an Azure Cosmos DB MongoDB collection event */ export interface RestorableMongodbCollectionPropertiesResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** The operation type of this collection event. */ readonly operationType?: OperationType; /** A state of this collection to identify if this container is restorable in same account. */ readonly canUndelete?: string; /** The reason why this collection can not be restored in same account. */ readonly canUndeleteReason?: string; /** The time when this collection event happened. */ readonly eventTimestamp?: string; /** The name of this MongoDB collection. */ readonly ownerId?: string; /** The resource ID of this MongoDB collection. */ readonly ownerResourceId?: string; } export declare function restorableMongodbCollectionPropertiesResourceDeserializer(item: any): RestorableMongodbCollectionPropertiesResource; /** The List operation response, that contains the restorable MongoDB resources. */ export interface _RestorableMongodbResourcesListResult { /** List of restorable MongoDB resources, including the database and collection names. */ readonly value?: RestorableMongodbResourcesGetResult[]; nextLink?: string; } export declare function _restorableMongodbResourcesListResultDeserializer(item: any): _RestorableMongodbResourcesListResult; export declare function restorableMongodbResourcesGetResultArrayDeserializer(result: Array): any[]; /** Specific Databases to restore. */ export interface RestorableMongodbResourcesGetResult { /** The unique resource identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The name of the database available for restore. */ databaseName?: string; /** The names of the collections available for restore. */ collectionNames?: string[]; } export declare function restorableMongodbResourcesGetResultDeserializer(item: any): RestorableMongodbResourcesGetResult; /** The List operation response, that contains the Gremlin database events and their properties. */ export interface _RestorableGremlinDatabasesListResult { /** List of Gremlin database events and their properties. */ readonly value?: RestorableGremlinDatabaseGetResult[]; nextLink?: string; } export declare function _restorableGremlinDatabasesListResultDeserializer(item: any): _RestorableGremlinDatabasesListResult; export declare function restorableGremlinDatabaseGetResultArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Gremlin database event */ export interface RestorableGremlinDatabaseGetResult { /** The unique resource Identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The resource of an Azure Cosmos DB Gremlin database event */ resource?: RestorableGremlinDatabasePropertiesResource; } export declare function restorableGremlinDatabaseGetResultDeserializer(item: any): RestorableGremlinDatabaseGetResult; /** The properties of an Azure Cosmos DB Gremlin database event */ export interface RestorableGremlinDatabaseProperties { /** The resource of an Azure Cosmos DB Gremlin database event */ resource?: RestorableGremlinDatabasePropertiesResource; } export declare function restorableGremlinDatabasePropertiesDeserializer(item: any): RestorableGremlinDatabaseProperties; /** The resource of an Azure Cosmos DB Gremlin database event */ export interface RestorableGremlinDatabasePropertiesResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** The operation type of this database event. */ readonly operationType?: OperationType; /** A state of this database to identify if this database is restorable in same account. */ readonly canUndelete?: string; /** The reason why this database can not be restored in same account. */ readonly canUndeleteReason?: string; /** The time when this database event happened. */ readonly eventTimestamp?: string; /** The name of this Gremlin database. */ readonly ownerId?: string; /** The resource ID of this Gremlin database. */ readonly ownerResourceId?: string; } export declare function restorableGremlinDatabasePropertiesResourceDeserializer(item: any): RestorableGremlinDatabasePropertiesResource; /** The List operation response, that contains the Gremlin graph events and their properties. */ export interface _RestorableGremlinGraphsListResult { /** List of Gremlin graph events and their properties. */ readonly value?: RestorableGremlinGraphGetResult[]; nextLink?: string; } export declare function _restorableGremlinGraphsListResultDeserializer(item: any): _RestorableGremlinGraphsListResult; export declare function restorableGremlinGraphGetResultArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Gremlin graph event */ export interface RestorableGremlinGraphGetResult { /** The unique resource Identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The resource of an Azure Cosmos DB Gremlin graph event */ resource?: RestorableGremlinGraphPropertiesResource; } export declare function restorableGremlinGraphGetResultDeserializer(item: any): RestorableGremlinGraphGetResult; /** The properties of an Azure Cosmos DB Gremlin graph event */ export interface RestorableGremlinGraphProperties { /** The resource of an Azure Cosmos DB Gremlin graph event */ resource?: RestorableGremlinGraphPropertiesResource; } export declare function restorableGremlinGraphPropertiesDeserializer(item: any): RestorableGremlinGraphProperties; /** The resource of an Azure Cosmos DB Gremlin graph event */ export interface RestorableGremlinGraphPropertiesResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** The operation type of this graph event. */ readonly operationType?: OperationType; /** A state of this graph to identify if this graph is restorable in same account. */ readonly canUndelete?: string; /** The reason why this graph can not be restored in same account. */ readonly canUndeleteReason?: string; /** The time when this graph event happened. */ readonly eventTimestamp?: string; /** The name of this Gremlin graph. */ readonly ownerId?: string; /** The resource ID of this Gremlin graph. */ readonly ownerResourceId?: string; } export declare function restorableGremlinGraphPropertiesResourceDeserializer(item: any): RestorableGremlinGraphPropertiesResource; /** 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. */ readonly value?: RestorableGremlinResourcesGetResult[]; nextLink?: string; } export declare function _restorableGremlinResourcesListResultDeserializer(item: any): _RestorableGremlinResourcesListResult; export declare function restorableGremlinResourcesGetResultArrayDeserializer(result: Array): any[]; /** Specific Databases to restore. */ export interface RestorableGremlinResourcesGetResult { /** The unique resource identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The name of the gremlin database available for restore. */ databaseName?: string; /** The names of the graphs available for restore. */ graphNames?: string[]; } export declare function restorableGremlinResourcesGetResultDeserializer(item: any): RestorableGremlinResourcesGetResult; /** The List operation response, that contains the Table events and their properties. */ export interface _RestorableTablesListResult { /** List of Table events and their properties. */ readonly value?: RestorableTableGetResult[]; nextLink?: string; } export declare function _restorableTablesListResultDeserializer(item: any): _RestorableTablesListResult; export declare function restorableTableGetResultArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Table event */ export interface RestorableTableGetResult { /** The unique resource Identifier of the ARM resource. */ readonly id?: string; /** The name of the ARM resource. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; /** The resource of an Azure Cosmos DB Table event */ resource?: RestorableTablePropertiesResource; } export declare function restorableTableGetResultDeserializer(item: any): RestorableTableGetResult; /** The properties of an Azure Cosmos DB Table event */ export interface RestorableTableProperties { /** The resource of an Azure Cosmos DB Table event */ resource?: RestorableTablePropertiesResource; } export declare function restorableTablePropertiesDeserializer(item: any): RestorableTableProperties; /** The resource of an Azure Cosmos DB Table event */ export interface RestorableTablePropertiesResource { /** A system generated property. A unique identifier. */ readonly rid?: string; /** The operation type of this table event. */ readonly operationType?: OperationType; /** A state of this table to identify if this table is restorable in same account. */ readonly canUndelete?: string; /** The reason why this table can not be restored in same account. */ readonly canUndeleteReason?: string; /** The time when this table event happened. */ readonly eventTimestamp?: string; /** The name of this Table. */ readonly ownerId?: string; /** The resource ID of this Table. */ readonly ownerResourceId?: string; } export declare function restorableTablePropertiesResourceDeserializer(item: any): RestorableTablePropertiesResource; /** List of restorable table names. */ export interface _RestorableTableResourcesListResult { /** List of restorable table names. */ readonly value?: RestorableTableResourcesGetResult[]; nextLink?: string; } export declare function _restorableTableResourcesListResultDeserializer(item: any): _RestorableTableResourcesListResult; export declare function restorableTableResourcesGetResultArrayDeserializer(result: Array): any[]; /** Specific Databases to restore. */ export interface RestorableTableResourcesGetResult { /** The unique resource identifier of the ARM resource. */ readonly id?: string; /** The name of the Table. */ readonly name?: string; /** The type of Azure resource. */ readonly type?: string; } export declare function restorableTableResourcesGetResultDeserializer(item: any): RestorableTableResourcesGetResult; /** Properties for the database account. */ export interface ServiceResource extends ProxyResource { /** Services response resource. */ properties?: ServiceResourcePropertiesUnion; } export declare function serviceResourceDeserializer(item: any): ServiceResource; /** Services response resource. */ export interface ServiceResourceProperties { /** Time of the last state change (ISO-8601 format). */ readonly creationTime?: Date; /** Instance type for the service. */ instanceSize?: ServiceSize; /** Instance count for the service. */ instanceCount?: number; /** ServiceType for the service. */ /** The discriminator possible values: DataTransfer, SqlDedicatedGateway, GraphAPICompute, MaterializedViewsBuilder */ serviceType: ServiceType; /** Describes the status of a service. */ readonly status?: ServiceStatus; /** Additional properties */ additionalProperties?: Record; } export declare function serviceResourcePropertiesDeserializer(item: any): ServiceResourceProperties; /** Alias for ServiceResourcePropertiesUnion */ export type ServiceResourcePropertiesUnion = DataTransferServiceResourceProperties | SqlDedicatedGatewayServiceResourceProperties | GraphAPIComputeServiceResourceProperties | MaterializedViewsBuilderServiceResourceProperties | ServiceResourceProperties; export declare function serviceResourcePropertiesUnionDeserializer(item: any): ServiceResourcePropertiesUnion; /** Instance type for the service. */ export declare enum KnownServiceSize { /** Cosmos.D4s */ CosmosD4S = "Cosmos.D4s", /** Cosmos.D8s */ CosmosD8S = "Cosmos.D8s", /** Cosmos.D16s */ CosmosD16S = "Cosmos.D16s" } /** * Instance type for the service. \ * {@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; /** ServiceType for the service. */ export declare enum KnownServiceType { /** SqlDedicatedGateway */ SqlDedicatedGateway = "SqlDedicatedGateway", /** DataTransfer */ DataTransfer = "DataTransfer", /** GraphAPICompute */ GraphAPICompute = "GraphAPICompute", /** MaterializedViewsBuilder */ MaterializedViewsBuilder = "MaterializedViewsBuilder" } /** * ServiceType for the service. \ * {@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; /** Describes the status of a service. */ export declare enum KnownServiceStatus { /** Creating */ Creating = "Creating", /** Running */ Running = "Running", /** Updating */ Updating = "Updating", /** Deleting */ Deleting = "Deleting", /** Error */ Error = "Error", /** Stopped */ Stopped = "Stopped" } /** * Describes the status of a service. \ * {@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; /** Properties for DataTransferServiceResource. */ export interface DataTransferServiceResourceProperties extends ServiceResourceProperties { /** An array that contains all of the locations for the service. */ readonly locations?: DataTransferRegionalServiceResource[]; /** ServiceType for the service. */ serviceType: "DataTransfer"; } export declare function dataTransferServiceResourcePropertiesDeserializer(item: any): DataTransferServiceResourceProperties; export declare function dataTransferRegionalServiceResourceArrayDeserializer(result: Array): any[]; /** Resource for a regional service location. */ export interface DataTransferRegionalServiceResource extends RegionalServiceResource { } export declare function dataTransferRegionalServiceResourceDeserializer(item: any): DataTransferRegionalServiceResource; /** Properties for SqlDedicatedGatewayServiceResource. */ export interface SqlDedicatedGatewayServiceResourceProperties extends ServiceResourceProperties { /** SqlDedicatedGateway endpoint for the service. */ sqlDedicatedGatewayEndpoint?: string; /** DedicatedGatewayType for the service. */ dedicatedGatewayType?: DedicatedGatewayType; /** An array that contains all of the locations for the service. */ readonly locations?: SqlDedicatedGatewayRegionalServiceResource[]; /** ServiceType for the service. */ serviceType: "SqlDedicatedGateway"; } export declare function sqlDedicatedGatewayServiceResourcePropertiesDeserializer(item: any): SqlDedicatedGatewayServiceResourceProperties; /** DedicatedGatewayType for the service. */ export declare enum KnownDedicatedGatewayType { /** IntegratedCache */ IntegratedCache = "IntegratedCache", /** DistributedQuery */ DistributedQuery = "DistributedQuery" } /** * DedicatedGatewayType for the service. \ * {@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; export declare function sqlDedicatedGatewayRegionalServiceResourceArrayDeserializer(result: Array): any[]; /** Resource for a regional service location. */ export interface SqlDedicatedGatewayRegionalServiceResource extends RegionalServiceResource { /** The regional endpoint for SqlDedicatedGateway. */ readonly sqlDedicatedGatewayEndpoint?: string; } export declare function sqlDedicatedGatewayRegionalServiceResourceDeserializer(item: any): SqlDedicatedGatewayRegionalServiceResource; /** Properties for GraphAPIComputeServiceResource. */ export interface GraphAPIComputeServiceResourceProperties extends ServiceResourceProperties { /** GraphAPICompute endpoint for the service. */ graphApiComputeEndpoint?: string; /** An array that contains all of the locations for the service. */ readonly locations?: GraphAPIComputeRegionalServiceResource[]; /** ServiceType for the service. */ serviceType: "GraphAPICompute"; } export declare function graphAPIComputeServiceResourcePropertiesDeserializer(item: any): GraphAPIComputeServiceResourceProperties; export declare function graphAPIComputeRegionalServiceResourceArrayDeserializer(result: Array): any[]; /** Resource for a regional service location. */ export interface GraphAPIComputeRegionalServiceResource extends RegionalServiceResource { /** The regional endpoint for GraphAPICompute. */ readonly graphApiComputeEndpoint?: string; } export declare function graphAPIComputeRegionalServiceResourceDeserializer(item: any): GraphAPIComputeRegionalServiceResource; /** Properties for MaterializedViewsBuilderServiceResource. */ export interface MaterializedViewsBuilderServiceResourceProperties extends ServiceResourceProperties { /** An array that contains all of the locations for the service. */ readonly locations?: MaterializedViewsBuilderRegionalServiceResource[]; /** ServiceType for the service. */ serviceType: "MaterializedViewsBuilder"; } export declare function materializedViewsBuilderServiceResourcePropertiesDeserializer(item: any): MaterializedViewsBuilderServiceResourceProperties; export declare function materializedViewsBuilderRegionalServiceResourceArrayDeserializer(result: Array): any[]; /** Resource for a regional service location. */ export interface MaterializedViewsBuilderRegionalServiceResource extends RegionalServiceResource { } export declare function materializedViewsBuilderRegionalServiceResourceDeserializer(item: any): MaterializedViewsBuilderRegionalServiceResource; /** Resource for a regional service location. */ export interface RegionalServiceResource { /** The regional service name. */ readonly name?: string; /** The location name. */ readonly location?: string; /** Describes the status of a service. */ readonly status?: ServiceStatus; } export declare function regionalServiceResourceDeserializer(item: any): RegionalServiceResource; /** Parameters for Create or Update request for ServiceResource */ export interface ServiceResourceCreateUpdateParameters { /** Properties in ServiceResourceCreateUpdateParameters. */ properties?: ServiceResourceCreateUpdatePropertiesUnion; } export declare function serviceResourceCreateUpdateParametersSerializer(item: ServiceResourceCreateUpdateParameters): any; /** Properties in ServiceResourceCreateUpdateParameters. */ export interface ServiceResourceCreateUpdateProperties { /** Instance type for the service. */ instanceSize?: ServiceSize; /** Instance count for the service. */ instanceCount?: number; /** ServiceType for the service. */ /** The discriminator possible values: DataTransfer, SqlDedicatedGateway, GraphAPICompute, MaterializedViewsBuilder */ serviceType: ServiceType; } export declare function serviceResourceCreateUpdatePropertiesSerializer(item: ServiceResourceCreateUpdateProperties): any; /** Alias for ServiceResourceCreateUpdatePropertiesUnion */ export type ServiceResourceCreateUpdatePropertiesUnion = DataTransferServiceResourceCreateUpdateProperties | SqlDedicatedGatewayServiceResourceCreateUpdateProperties | GraphAPIComputeServiceResourceCreateUpdateProperties | MaterializedViewsBuilderServiceResourceCreateUpdateProperties | ServiceResourceCreateUpdateProperties; export declare function serviceResourceCreateUpdatePropertiesUnionSerializer(item: ServiceResourceCreateUpdatePropertiesUnion): any; /** Properties for Create or Update request for DataTransferServiceResource */ export interface DataTransferServiceResourceCreateUpdateProperties extends ServiceResourceCreateUpdateProperties { /** ServiceType for the service. */ serviceType: "DataTransfer"; } export declare function dataTransferServiceResourceCreateUpdatePropertiesSerializer(item: DataTransferServiceResourceCreateUpdateProperties): any; /** Properties for Create or Update request for SqlDedicatedGatewayServiceResource */ export interface SqlDedicatedGatewayServiceResourceCreateUpdateProperties extends ServiceResourceCreateUpdateProperties { /** DedicatedGatewayType for the service. */ dedicatedGatewayType?: DedicatedGatewayType; /** ServiceType for the service. */ serviceType: "SqlDedicatedGateway"; } export declare function sqlDedicatedGatewayServiceResourceCreateUpdatePropertiesSerializer(item: SqlDedicatedGatewayServiceResourceCreateUpdateProperties): any; /** Properties for Create or Update request for GraphAPIComputeServiceResource */ export interface GraphAPIComputeServiceResourceCreateUpdateProperties extends ServiceResourceCreateUpdateProperties { /** ServiceType for the service. */ serviceType: "GraphAPICompute"; } export declare function graphAPIComputeServiceResourceCreateUpdatePropertiesSerializer(item: GraphAPIComputeServiceResourceCreateUpdateProperties): any; /** Properties for Create or Update request for MaterializedViewsBuilderServiceResource */ export interface MaterializedViewsBuilderServiceResourceCreateUpdateProperties extends ServiceResourceCreateUpdateProperties { /** ServiceType for the service. */ serviceType: "MaterializedViewsBuilder"; } export declare function materializedViewsBuilderServiceResourceCreateUpdatePropertiesSerializer(item: MaterializedViewsBuilderServiceResourceCreateUpdateProperties): any; /** The List operation response, that contains the Service Resource and their properties. */ export interface _ServiceResourceListResult { /** List of Service Resource and their properties. */ readonly value?: ServiceResource[]; nextLink?: string; } export declare function _serviceResourceListResultDeserializer(item: any): _ServiceResourceListResult; export declare function serviceResourceArrayDeserializer(result: Array): any[]; /** Parameters to create and update an Azure Cosmos DB MongoMI Role Definition. */ export interface MongoMIRoleDefinitionResource extends ProxyResource { /** The path id for the Role Definition. */ idPropertiesId?: string; /** 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 MongoMI 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[]; } export declare function mongoMIRoleDefinitionResourceSerializer(item: MongoMIRoleDefinitionResource): any; export declare function mongoMIRoleDefinitionResourceDeserializer(item: any): MongoMIRoleDefinitionResource; /** Azure Cosmos DB MongoMI Role Definition resource object. */ export interface MongoMIRoleDefinitionResourceProperties { /** The path id for the Role Definition. */ id?: string; /** 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 MongoMI 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[]; } export declare function mongoMIRoleDefinitionResourcePropertiesSerializer(item: MongoMIRoleDefinitionResourceProperties): any; export declare function mongoMIRoleDefinitionResourcePropertiesDeserializer(item: any): MongoMIRoleDefinitionResourceProperties; /** The response of a MongoMIRoleDefinitionResource list operation. */ export interface _MongoMIRoleDefinitionListResult { /** The MongoMIRoleDefinitionResource items on this page */ value: MongoMIRoleDefinitionResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _mongoMIRoleDefinitionListResultDeserializer(item: any): _MongoMIRoleDefinitionListResult; export declare function mongoMIRoleDefinitionResourceArraySerializer(result: Array): any[]; export declare function mongoMIRoleDefinitionResourceArrayDeserializer(result: Array): any[]; /** Parameters to create and update an Azure Cosmos DB MongoMI Role Assignment. */ export interface MongoMIRoleAssignmentResource extends ProxyResource { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this MongoMI Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this MongoMI Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; /** Provisioning state of the resource. */ readonly provisioningState?: string; } export declare function mongoMIRoleAssignmentResourceSerializer(item: MongoMIRoleAssignmentResource): any; export declare function mongoMIRoleAssignmentResourceDeserializer(item: any): MongoMIRoleAssignmentResource; /** Azure Cosmos DB MongoMI Role Assignment resource object. */ export interface MongoMIRoleAssignmentResourceProperties { /** The unique identifier for the associated Role Definition. */ roleDefinitionId?: string; /** The data plane resource path for which access is being granted through this MongoMI Role Assignment. */ scope?: string; /** The unique identifier for the associated AAD principal in the AAD graph to which access is being granted through this MongoMI Role Assignment. Tenant ID for the principal is inferred using the tenant associated with the subscription. */ principalId?: string; /** Provisioning state of the resource. */ readonly provisioningState?: string; } export declare function mongoMIRoleAssignmentResourcePropertiesSerializer(item: MongoMIRoleAssignmentResourceProperties): any; export declare function mongoMIRoleAssignmentResourcePropertiesDeserializer(item: any): MongoMIRoleAssignmentResourceProperties; /** The response of a MongoMIRoleAssignmentResource list operation. */ export interface _MongoMIRoleAssignmentListResult { /** The MongoMIRoleAssignmentResource items on this page */ value: MongoMIRoleAssignmentResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _mongoMIRoleAssignmentListResultDeserializer(item: any): _MongoMIRoleAssignmentListResult; export declare function mongoMIRoleAssignmentResourceArraySerializer(result: Array): any[]; export declare function mongoMIRoleAssignmentResourceArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB FleetResource. */ export interface FleetResource extends TrackedResource { /** A provisioning state of the Fleet. */ readonly provisioningState?: Status; } export declare function fleetResourceSerializer(item: FleetResource): any; export declare function fleetResourceDeserializer(item: any): FleetResource; /** Properties to update Azure Cosmos DB fleet resource. */ export interface FleetResourceProperties { /** A provisioning state of the Fleet. */ readonly provisioningState?: Status; } export declare function fleetResourcePropertiesSerializer(_item: FleetResourceProperties): any; export declare function fleetResourcePropertiesDeserializer(item: any): FleetResourceProperties; /** The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location' */ export interface TrackedResource extends Resource { /** Resource tags. */ tags?: Record; /** The geo-location where the resource lives */ location: string; } export declare function trackedResourceSerializer(item: TrackedResource): any; export declare function trackedResourceDeserializer(item: any): TrackedResource; /** Represents a fleet resource for updates. */ export interface FleetResourceUpdate { /** Resource tags. */ tags?: Record; /** A provisioning state of the Fleet. */ readonly provisioningState?: Status; } export declare function fleetResourceUpdateSerializer(item: FleetResourceUpdate): any; /** The response of a FleetResource list operation. */ export interface _FleetListResult { /** The FleetResource items on this page */ value: FleetResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _fleetListResultDeserializer(item: any): _FleetListResult; export declare function fleetResourceArraySerializer(result: Array): any[]; export declare function fleetResourceArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Fleetspace. */ export interface FleetspaceResource extends ProxyResource { /** A provisioning state of the Fleetspace. */ readonly 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; } export declare function fleetspaceResourceSerializer(item: FleetspaceResource): any; export declare function fleetspaceResourceDeserializer(item: any): FleetspaceResource; /** Properties to update Azure Cosmos DB Fleetspace. */ export interface FleetspaceProperties { /** A provisioning state of the Fleetspace. */ readonly 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; } export declare function fleetspacePropertiesSerializer(item: FleetspaceProperties): any; export declare function fleetspacePropertiesDeserializer(item: any): FleetspaceProperties; /** The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL' */ export declare enum KnownFleetspacePropertiesFleetspaceApiKind { /** NoSQL */ NoSQL = "NoSQL" } /** * The kind of API this fleetspace belongs to. Acceptable values: 'NoSQL' \ * {@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; /** 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. */ export declare enum KnownFleetspacePropertiesServiceTier { /** GeneralPurpose */ GeneralPurpose = "GeneralPurpose", /** BusinessCritical */ BusinessCritical = "BusinessCritical" } /** * 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. \ * {@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; /** Configuration for throughput pool in the fleetspace. */ export interface FleetspacePropertiesThroughputPoolConfiguration { /** Minimum throughput for the pool. */ minThroughput?: number; /** Maximum throughput for the pool. */ maxThroughput?: number; /** Total dedicated throughput (RU/s) for fleetspace. Represents the sum of all manual provisioned throughput and all autoscale max RU/s across all shared throughput databases and dedicated throughput containers across all accounts in the fleetspace for 1 region. */ dedicatedRUs?: number; /** Maximum consumable throughput (RU/s) for fleetspace. Represents the maximum throughput that resources in the fleetspace can consume from the fleetspace's pool in 1 region. */ maxConsumableRUs?: number; } export declare function fleetspacePropertiesThroughputPoolConfigurationSerializer(item: FleetspacePropertiesThroughputPoolConfiguration): any; export declare function fleetspacePropertiesThroughputPoolConfigurationDeserializer(item: any): FleetspacePropertiesThroughputPoolConfiguration; /** Represents a fleetspace resource for updates. */ export interface FleetspaceUpdate { /** A provisioning state of the Fleetspace. */ readonly 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; } export declare function fleetspaceUpdateSerializer(item: FleetspaceUpdate): any; /** The response of a FleetspaceResource list operation. */ export interface _FleetspaceListResult { /** The FleetspaceResource items on this page */ value: FleetspaceResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _fleetspaceListResultDeserializer(item: any): _FleetspaceListResult; export declare function fleetspaceResourceArraySerializer(result: Array): any[]; export declare function fleetspaceResourceArrayDeserializer(result: Array): any[]; /** An Azure Cosmos DB Fleetspace Account */ export interface FleetspaceAccountResource extends ProxyResource { /** A provisioning state of the Fleetspace Account. */ readonly provisioningState?: Status; /** Configuration for fleetspace Account in the fleetspace. */ globalDatabaseAccountProperties?: FleetspaceAccountPropertiesGlobalDatabaseAccountProperties; } export declare function fleetspaceAccountResourceSerializer(item: FleetspaceAccountResource): any; export declare function fleetspaceAccountResourceDeserializer(item: any): FleetspaceAccountResource; /** An Azure Cosmos DB Global Database Account which is part of a Fleetspace Account. */ export interface FleetspaceAccountProperties { /** A provisioning state of the Fleetspace Account. */ readonly provisioningState?: Status; /** Configuration for fleetspace Account in the fleetspace. */ globalDatabaseAccountProperties?: FleetspaceAccountPropertiesGlobalDatabaseAccountProperties; } export declare function fleetspaceAccountPropertiesSerializer(item: FleetspaceAccountProperties): any; export declare function fleetspaceAccountPropertiesDeserializer(item: any): FleetspaceAccountProperties; /** 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; } export declare function fleetspaceAccountPropertiesGlobalDatabaseAccountPropertiesSerializer(item: FleetspaceAccountPropertiesGlobalDatabaseAccountProperties): any; export declare function fleetspaceAccountPropertiesGlobalDatabaseAccountPropertiesDeserializer(item: any): FleetspaceAccountPropertiesGlobalDatabaseAccountProperties; /** The response of a FleetspaceAccountResource list operation. */ export interface _FleetspaceAccountListResult { /** The FleetspaceAccountResource items on this page */ value: FleetspaceAccountResource[]; /** The link to the next page of items */ nextLink?: string; } export declare function _fleetspaceAccountListResultDeserializer(item: any): _FleetspaceAccountListResult; export declare function fleetspaceAccountResourceArraySerializer(result: Array): any[]; export declare function fleetspaceAccountResourceArrayDeserializer(result: Array): any[]; /** The available API versions. */ export declare enum KnownVersions { /** The 2026-03-15 API version. */ V20260315 = "2026-03-15" } export declare function _privateEndpointConnectionPropertiesSerializer(item: PrivateEndpointConnection): any; export declare function _privateEndpointConnectionPropertiesDeserializer(item: any): { privateEndpoint: any; privateLinkServiceConnectionState: any; groupId: any; provisioningState: any; }; export declare function _databaseAccountGetResultsPropertiesDeserializer(item: any): { provisioningState: any; documentEndpoint: any; databaseAccountOfferType: any; ipRules: any; isVirtualNetworkFilterEnabled: any; enableAutomaticFailover: any; consistencyPolicy: any; capabilities: any; writeLocations: any; readLocations: any; locations: any; failoverPolicies: any; virtualNetworkRules: any; privateEndpointConnections: any; enableMultipleWriteLocations: any; enableCassandraConnector: any; connectorOffer: any; disableKeyBasedMetadataWriteAccess: any; keyVaultKeyUri: any; defaultIdentity: any; publicNetworkAccess: any; enableFreeTier: any; apiProperties: any; enableAnalyticalStorage: any; analyticalStorageConfiguration: any; instanceId: any; createMode: any; restoreParameters: any; backupPolicy: any; cors: any; networkAclBypass: any; networkAclBypassResourceIds: any; disableLocalAuth: any; capacity: any; keysMetadata: any; enablePartitionMerge: any; enableBurstCapacity: any; minimalTlsVersion: any; customerManagedKeyStatus: any; keyVaultKeyUriVersion: any; enablePriorityBasedExecution: any; defaultPriorityLevel: any; enablePerRegionPerPartitionAutoscale: any; enforceHierarchicalPartitionKeyIdLastLevel: any; }; export declare function _databaseAccountCreateUpdateParametersPropertiesSerializer(item: DatabaseAccountCreateUpdateParameters): any; export declare function _databaseAccountUpdateParametersPropertiesSerializer(item: DatabaseAccountUpdateParameters): any; export declare function _sqlDatabaseGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _sqlDatabaseCreateUpdateParametersPropertiesSerializer(item: SqlDatabaseCreateUpdateParameters): any; export declare function _throughputSettingsGetResultsPropertiesDeserializer(item: any): { resource: any; }; export declare function _throughputSettingsUpdateParametersPropertiesSerializer(item: ThroughputSettingsUpdateParameters): any; export declare function _clientEncryptionKeyGetResultsPropertiesDeserializer(item: any): { resource: any; }; export declare function _clientEncryptionKeyCreateUpdateParametersPropertiesSerializer(item: ClientEncryptionKeyCreateUpdateParameters): any; export declare function _sqlContainerGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _sqlContainerCreateUpdateParametersPropertiesSerializer(item: SqlContainerCreateUpdateParameters): any; export declare function _sqlStoredProcedureGetResultsPropertiesDeserializer(item: any): { resource: any; }; export declare function _sqlStoredProcedureCreateUpdateParametersPropertiesSerializer(item: SqlStoredProcedureCreateUpdateParameters): any; export declare function _sqlUserDefinedFunctionGetResultsPropertiesDeserializer(item: any): { resource: any; }; export declare function _sqlUserDefinedFunctionCreateUpdateParametersPropertiesSerializer(item: SqlUserDefinedFunctionCreateUpdateParameters): any; export declare function _sqlTriggerGetResultsPropertiesDeserializer(item: any): { resource: any; }; export declare function _sqlTriggerCreateUpdateParametersPropertiesSerializer(item: SqlTriggerCreateUpdateParameters): any; export declare function _sqlRoleDefinitionGetResultsPropertiesSerializer(item: SqlRoleDefinitionGetResults): any; export declare function _sqlRoleDefinitionGetResultsPropertiesDeserializer(item: any): { roleName: any; typePropertiesType: any; assignableScopes: any; permissions: any; }; export declare function _sqlRoleDefinitionCreateUpdateParametersPropertiesSerializer(item: SqlRoleDefinitionCreateUpdateParameters): any; export declare function _sqlRoleDefinitionCreateUpdateParametersPropertiesDeserializer(item: any): { roleName: any; type: any; assignableScopes: any; permissions: any; }; export declare function _sqlRoleAssignmentGetResultsPropertiesSerializer(item: SqlRoleAssignmentGetResults): any; export declare function _sqlRoleAssignmentGetResultsPropertiesDeserializer(item: any): { roleDefinitionId: any; scope: any; principalId: any; }; export declare function _sqlRoleAssignmentCreateUpdateParametersPropertiesSerializer(item: SqlRoleAssignmentCreateUpdateParameters): any; export declare function _sqlRoleAssignmentCreateUpdateParametersPropertiesDeserializer(item: any): { roleDefinitionId: any; scope: any; principalId: any; }; export declare function _mongoDBDatabaseGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _mongoDBDatabaseCreateUpdateParametersPropertiesSerializer(item: MongoDBDatabaseCreateUpdateParameters): any; export declare function _mongoDBCollectionGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _mongoDBCollectionCreateUpdateParametersPropertiesSerializer(item: MongoDBCollectionCreateUpdateParameters): any; export declare function _mongoRoleDefinitionGetResultsPropertiesSerializer(item: MongoRoleDefinitionGetResults): any; export declare function _mongoRoleDefinitionGetResultsPropertiesDeserializer(item: any): { roleName: any; typePropertiesType: any; databaseName: any; privileges: any; roles: any; }; export declare function _mongoRoleDefinitionCreateUpdateParametersPropertiesSerializer(item: MongoRoleDefinitionCreateUpdateParameters): any; export declare function _mongoRoleDefinitionCreateUpdateParametersPropertiesDeserializer(item: any): { roleName: any; type: any; databaseName: any; privileges: any; roles: any; }; export declare function _mongoUserDefinitionGetResultsPropertiesSerializer(item: MongoUserDefinitionGetResults): any; export declare function _mongoUserDefinitionGetResultsPropertiesDeserializer(item: any): { userName: any; password: any; databaseName: any; customData: any; roles: any; mechanisms: any; }; export declare function _mongoUserDefinitionCreateUpdateParametersPropertiesSerializer(item: MongoUserDefinitionCreateUpdateParameters): any; export declare function _mongoUserDefinitionCreateUpdateParametersPropertiesDeserializer(item: any): { userName: any; password: any; databaseName: any; customData: any; roles: any; mechanisms: any; }; export declare function _tableGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _tableCreateUpdateParametersPropertiesSerializer(item: TableCreateUpdateParameters): any; export declare function _tableRoleDefinitionResourcePropertiesSerializer(item: TableRoleDefinitionResource): any; export declare function _tableRoleDefinitionResourcePropertiesDeserializer(item: any): { idPropertiesId: any; roleName: any; typePropertiesType: any; assignableScopes: any; permissions: any; }; export declare function _tableRoleAssignmentResourcePropertiesSerializer(item: TableRoleAssignmentResource): any; export declare function _tableRoleAssignmentResourcePropertiesDeserializer(item: any): { roleDefinitionId: any; scope: any; principalId: any; provisioningState: any; }; export declare function _cassandraKeyspaceGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _cassandraKeyspaceCreateUpdateParametersPropertiesSerializer(item: CassandraKeyspaceCreateUpdateParameters): any; export declare function _cassandraTableGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _cassandraTableCreateUpdateParametersPropertiesSerializer(item: CassandraTableCreateUpdateParameters): any; export declare function _cassandraRoleDefinitionResourcePropertiesSerializer(item: CassandraRoleDefinitionResource): any; export declare function _cassandraRoleDefinitionResourcePropertiesDeserializer(item: any): { idPropertiesId: any; roleName: any; typePropertiesType: any; assignableScopes: any; permissions: any; }; export declare function _cassandraRoleAssignmentResourcePropertiesSerializer(item: CassandraRoleAssignmentResource): any; export declare function _cassandraRoleAssignmentResourcePropertiesDeserializer(item: any): { roleDefinitionId: any; scope: any; principalId: any; provisioningState: any; }; export declare function _gremlinDatabaseGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _gremlinDatabaseCreateUpdateParametersPropertiesSerializer(item: GremlinDatabaseCreateUpdateParameters): any; export declare function _gremlinGraphGetResultsPropertiesDeserializer(item: any): { resource: any; options: any; }; export declare function _gremlinGraphCreateUpdateParametersPropertiesSerializer(item: GremlinGraphCreateUpdateParameters): any; export declare function _gremlinRoleDefinitionResourcePropertiesSerializer(item: GremlinRoleDefinitionResource): any; export declare function _gremlinRoleDefinitionResourcePropertiesDeserializer(item: any): { idPropertiesId: any; roleName: any; typePropertiesType: any; assignableScopes: any; permissions: any; }; export declare function _gremlinRoleAssignmentResourcePropertiesSerializer(item: GremlinRoleAssignmentResource): any; export declare function _gremlinRoleAssignmentResourcePropertiesDeserializer(item: any): { roleDefinitionId: any; scope: any; principalId: any; provisioningState: any; }; export declare function _notebookWorkspacePropertiesDeserializer(item: any): { notebookServerEndpoint: any; status: any; }; export declare function _privateLinkResourcePropertiesDeserializer(item: any): { groupId: any; requiredMembers: any; requiredZoneNames: any; }; export declare function _restorableDatabaseAccountGetResultPropertiesDeserializer(item: any): { accountName: any; creationTime: any; oldestRestorableTime: any; deletionTime: any; apiType: any; restorableLocations: any; }; export declare function _restorableSqlDatabaseGetResultPropertiesDeserializer(item: any): { resource: any; }; export declare function _restorableSqlContainerGetResultPropertiesDeserializer(item: any): { resource: any; }; export declare function _restorableMongodbDatabaseGetResultPropertiesDeserializer(item: any): { resource: any; }; export declare function _restorableMongodbCollectionGetResultPropertiesDeserializer(item: any): { resource: any; }; export declare function _restorableGremlinDatabaseGetResultPropertiesDeserializer(item: any): { resource: any; }; export declare function _restorableGremlinGraphGetResultPropertiesDeserializer(item: any): { resource: any; }; export declare function _restorableTableGetResultPropertiesDeserializer(item: any): { resource: any; }; export declare function _mongoMIRoleDefinitionResourcePropertiesSerializer(item: MongoMIRoleDefinitionResource): any; export declare function _mongoMIRoleDefinitionResourcePropertiesDeserializer(item: any): { idPropertiesId: any; roleName: any; typePropertiesType: any; assignableScopes: any; permissions: any; }; export declare function _mongoMIRoleAssignmentResourcePropertiesSerializer(item: MongoMIRoleAssignmentResource): any; export declare function _mongoMIRoleAssignmentResourcePropertiesDeserializer(item: any): { roleDefinitionId: any; scope: any; principalId: any; provisioningState: any; }; export declare function _fleetResourcePropertiesSerializer(_item: FleetResource): any; export declare function _fleetResourcePropertiesDeserializer(item: any): { provisioningState: any; }; export declare function _fleetResourceUpdatePropertiesSerializer(_item: FleetResourceUpdate): any; export declare function _fleetResourceUpdatePropertiesDeserializer(item: any): { provisioningState: any; }; export declare function _fleetspaceResourcePropertiesSerializer(item: FleetspaceResource): any; export declare function _fleetspaceResourcePropertiesDeserializer(item: any): { provisioningState: any; fleetspaceApiKind: any; serviceTier: any; dataRegions: any; throughputPoolConfiguration: any; }; export declare function _fleetspaceUpdatePropertiesSerializer(item: FleetspaceUpdate): any; export declare function _fleetspaceUpdatePropertiesDeserializer(item: any): { provisioningState: any; fleetspaceApiKind: any; serviceTier: any; dataRegions: any; throughputPoolConfiguration: any; }; export declare function _fleetspaceAccountResourcePropertiesSerializer(item: FleetspaceAccountResource): any; export declare function _fleetspaceAccountResourcePropertiesDeserializer(item: any): { provisioningState: any; globalDatabaseAccountProperties: any; }; export type DatabaseAccountsCheckNameExistsResponse = { body: boolean; }; //# sourceMappingURL=models.d.ts.map