ArmCosmosDBModelFactory.DataTransferServiceProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of DataTransferServiceProperties.
public static Azure.ResourceManager.CosmosDB.Models.DataTransferServiceProperties DataTransferServiceProperties (DateTimeOffset? createdOn = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize? instanceSize = default, int? instanceCount = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus? status = default, System.Collections.Generic.IDictionary<string,BinaryData> additionalProperties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.CosmosDB.Models.DataTransferRegionalService> locations = default);
static member DataTransferServiceProperties : Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceSize> * Nullable<int> * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBServiceStatus> * System.Collections.Generic.IDictionary<string, BinaryData> * seq<Azure.ResourceManager.CosmosDB.Models.DataTransferRegionalService> -> Azure.ResourceManager.CosmosDB.Models.DataTransferServiceProperties
Public Shared Function DataTransferServiceProperties (Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional instanceSize As Nullable(Of CosmosDBServiceSize) = Nothing, Optional instanceCount As Nullable(Of Integer) = Nothing, Optional status As Nullable(Of CosmosDBServiceStatus) = Nothing, Optional additionalProperties As IDictionary(Of String, BinaryData) = Nothing, Optional locations As IEnumerable(Of DataTransferRegionalService) = Nothing) As DataTransferServiceProperties
Parameters
- createdOn
- Nullable<DateTimeOffset>
Time of the last state change (ISO-8601 format).
- instanceSize
- Nullable<CosmosDBServiceSize>
Instance type for the service.
- status
- Nullable<CosmosDBServiceStatus>
Describes the status of a service.
- additionalProperties
- IDictionary<String,BinaryData>
Additional Properties.
- locations
- IEnumerable<DataTransferRegionalService>
An array that contains all of the locations for the service.
Returns
A new DataTransferServiceProperties instance for mocking.