/// <summary>
 /// Initializes a new instance of the GremlinGraphResource class.
 /// </summary>
 /// <param name="id">Name of the Cosmos DB Gremlin graph</param>
 /// <param name="indexingPolicy">The configuration of the indexing
 /// policy. By default, the indexing is automatic for all document
 /// paths within the graph</param>
 /// <param name="partitionKey">The configuration of the partition key
 /// to be used for partitioning data into multiple partitions</param>
 /// <param name="defaultTtl">Default time to live</param>
 /// <param name="uniqueKeyPolicy">The unique key policy configuration
 /// for specifying uniqueness constraints on documents in the
 /// collection in the Azure Cosmos DB service.</param>
 /// <param name="conflictResolutionPolicy">The conflict resolution
 /// policy for the graph.</param>
 public GremlinGraphResource(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int?defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy))
 {
     Id                       = id;
     IndexingPolicy           = indexingPolicy;
     PartitionKey             = partitionKey;
     DefaultTtl               = defaultTtl;
     UniqueKeyPolicy          = uniqueKeyPolicy;
     ConflictResolutionPolicy = conflictResolutionPolicy;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SqlContainerGetPropertiesResource
 /// class.
 /// </summary>
 /// <param name="id">Name of the Cosmos DB SQL container</param>
 /// <param name="indexingPolicy">The configuration of the indexing
 /// policy. By default, the indexing is automatic for all document
 /// paths within the container</param>
 /// <param name="partitionKey">The configuration of the partition key
 /// to be used for partitioning data into multiple partitions</param>
 /// <param name="defaultTtl">Default time to live</param>
 /// <param name="uniqueKeyPolicy">The unique key policy configuration
 /// for specifying uniqueness constraints on documents in the
 /// collection in the Azure Cosmos DB service.</param>
 /// <param name="conflictResolutionPolicy">The conflict resolution
 /// policy for the container.</param>
 /// <param name="analyticalStorageTtl">Analytical TTL.</param>
 /// <param name="_rid">A system generated property. A unique
 /// identifier.</param>
 /// <param name="_ts">A system generated property that denotes the last
 /// updated timestamp of the resource.</param>
 /// <param name="_etag">A system generated property representing the
 /// resource etag required for optimistic concurrency control.</param>
 public SqlContainerGetPropertiesResource(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int?defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), long?analyticalStorageTtl = default(long?), string _rid = default(string), object _ts = default(object), string _etag = default(string))
 {
     Id                       = id;
     IndexingPolicy           = indexingPolicy;
     PartitionKey             = partitionKey;
     DefaultTtl               = defaultTtl;
     UniqueKeyPolicy          = uniqueKeyPolicy;
     ConflictResolutionPolicy = conflictResolutionPolicy;
     AnalyticalStorageTtl     = analyticalStorageTtl;
     this._rid                = _rid;
     this._ts                 = _ts;
     this._etag               = _etag;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the
 /// RestorableSqlContainerPropertiesResourceContainer class.
 /// </summary>
 /// <param name="id">Name of the Cosmos DB SQL container</param>
 /// <param name="indexingPolicy">The configuration of the indexing
 /// policy. By default, the indexing is automatic for all document
 /// paths within the container</param>
 /// <param name="partitionKey">The configuration of the partition key
 /// to be used for partitioning data into multiple partitions</param>
 /// <param name="defaultTtl">Default time to live</param>
 /// <param name="uniqueKeyPolicy">The unique key policy configuration
 /// for specifying uniqueness constraints on documents in the
 /// collection in the Azure Cosmos DB service.</param>
 /// <param name="conflictResolutionPolicy">The conflict resolution
 /// policy for the container.</param>
 /// <param name="clientEncryptionPolicy">The client encryption policy
 /// for the container.</param>
 /// <param name="analyticalStorageTtl">Analytical TTL.</param>
 /// <param name="_rid">A system generated property. A unique
 /// identifier.</param>
 /// <param name="_ts">A system generated property that denotes the last
 /// updated timestamp of the resource.</param>
 /// <param name="_etag">A system generated property representing the
 /// resource etag required for optimistic concurrency control.</param>
 /// <param name="_self">A system generated property that specifies the
 /// addressable path of the container resource.</param>
 public RestorableSqlContainerPropertiesResourceContainer(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int?defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), ClientEncryptionPolicy clientEncryptionPolicy = default(ClientEncryptionPolicy), long?analyticalStorageTtl = default(long?), string _rid = default(string), double?_ts = default(double?), string _etag = default(string), string _self = default(string))
 {
     Id                       = id;
     IndexingPolicy           = indexingPolicy;
     PartitionKey             = partitionKey;
     DefaultTtl               = defaultTtl;
     UniqueKeyPolicy          = uniqueKeyPolicy;
     ConflictResolutionPolicy = conflictResolutionPolicy;
     ClientEncryptionPolicy   = clientEncryptionPolicy;
     AnalyticalStorageTtl     = analyticalStorageTtl;
     this._rid                = _rid;
     this._ts                 = _ts;
     this._etag               = _etag;
     this._self               = _self;
     CustomInit();
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the
 /// RestorableSqlContainerPropertiesResourceContainer class.
 /// </summary>
 /// <param name="id">Name of the Cosmos DB SQL container</param>
 /// <param name="indexingPolicy">The configuration of the indexing
 /// policy. By default, the indexing is automatic for all document
 /// paths within the container</param>
 /// <param name="partitionKey">The configuration of the partition key
 /// to be used for partitioning data into multiple partitions</param>
 /// <param name="defaultTtl">Default time to live</param>
 /// <param name="uniqueKeyPolicy">The unique key policy configuration
 /// for specifying uniqueness constraints on documents in the
 /// collection in the Azure Cosmos DB service.</param>
 /// <param name="conflictResolutionPolicy">The conflict resolution
 /// policy for the container.</param>
 /// <param name="_rid">A system generated property. A unique
 /// identifier.</param>
 /// <param name="_ts">A system generated property that denotes the last
 /// updated timestamp of the resource.</param>
 /// <param name="_etag">A system generated property representing the
 /// resource etag required for optimistic concurrency control.</param>
 /// <param name="_self">A system generated property that specifies the
 /// addressable path of the container resource.</param>
 public RestorableSqlContainerPropertiesResourceContainer(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int?defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), string _rid = default(string), object _ts = default(object), string _etag = default(string), string _self = default(string))
 {
     Id                       = id;
     IndexingPolicy           = indexingPolicy;
     PartitionKey             = partitionKey;
     DefaultTtl               = defaultTtl;
     UniqueKeyPolicy          = uniqueKeyPolicy;
     ConflictResolutionPolicy = conflictResolutionPolicy;
     this._rid                = _rid;
     this._ts                 = _ts;
     this._etag               = _etag;
     this._self               = _self;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SqlContainerResource class.
 /// </summary>
 /// <param name="id">Name of the Cosmos DB SQL container</param>
 /// <param name="indexingPolicy">The configuration of the indexing
 /// policy. By default, the indexing is automatic for all document
 /// paths within the container</param>
 /// <param name="partitionKey">The configuration of the partition key
 /// to be used for partitioning data into multiple partitions</param>
 /// <param name="defaultTtl">Default time to live</param>
 /// <param name="uniqueKeyPolicy">The unique key policy configuration
 /// for specifying uniqueness constraints on documents in the
 /// collection in the Azure Cosmos DB service.</param>
 /// <param name="conflictResolutionPolicy">The conflict resolution
 /// policy for the container.</param>
 /// <param name="clientEncryptionPolicy">The client encryption policy
 /// for the container.</param>
 /// <param name="analyticalStorageTtl">Analytical TTL.</param>
 public SqlContainerResource(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int?defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), ClientEncryptionPolicy clientEncryptionPolicy = default(ClientEncryptionPolicy), long?analyticalStorageTtl = default(long?))
 {
     Id                       = id;
     IndexingPolicy           = indexingPolicy;
     PartitionKey             = partitionKey;
     DefaultTtl               = defaultTtl;
     UniqueKeyPolicy          = uniqueKeyPolicy;
     ConflictResolutionPolicy = conflictResolutionPolicy;
     ClientEncryptionPolicy   = clientEncryptionPolicy;
     AnalyticalStorageTtl     = analyticalStorageTtl;
     CustomInit();
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the GremlinGraphGetPropertiesResource
 /// class.
 /// </summary>
 /// <param name="id">Name of the Cosmos DB Gremlin graph</param>
 /// <param name="indexingPolicy">The configuration of the indexing
 /// policy. By default, the indexing is automatic for all document
 /// paths within the graph</param>
 /// <param name="partitionKey">The configuration of the partition key
 /// to be used for partitioning data into multiple partitions</param>
 /// <param name="defaultTtl">Default time to live</param>
 /// <param name="uniqueKeyPolicy">The unique key policy configuration
 /// for specifying uniqueness constraints on documents in the
 /// collection in the Azure Cosmos DB service.</param>
 /// <param name="conflictResolutionPolicy">The conflict resolution
 /// policy for the graph.</param>
 /// <param name="_rid">A system generated property. A unique
 /// identifier.</param>
 /// <param name="_ts">A system generated property that denotes the last
 /// updated timestamp of the resource.</param>
 /// <param name="_etag">A system generated property representing the
 /// resource etag required for optimistic concurrency control.</param>
 public GremlinGraphGetPropertiesResource(string id, IndexingPolicy indexingPolicy = default(IndexingPolicy), ContainerPartitionKey partitionKey = default(ContainerPartitionKey), int?defaultTtl = default(int?), UniqueKeyPolicy uniqueKeyPolicy = default(UniqueKeyPolicy), ConflictResolutionPolicy conflictResolutionPolicy = default(ConflictResolutionPolicy), string _rid = default(string), double?_ts = default(double?), string _etag = default(string))
 {
     Id                       = id;
     IndexingPolicy           = indexingPolicy;
     PartitionKey             = partitionKey;
     DefaultTtl               = defaultTtl;
     UniqueKeyPolicy          = uniqueKeyPolicy;
     ConflictResolutionPolicy = conflictResolutionPolicy;
     this._rid                = _rid;
     this._ts                 = _ts;
     this._etag               = _etag;
     CustomInit();
 }