ArmCosmosDBModelFactory.CapacityModeChangeTransitionState 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 CapacityModeChangeTransitionState.
public static Azure.ResourceManager.CosmosDB.Models.CapacityModeChangeTransitionState CapacityModeChangeTransitionState (Azure.ResourceManager.CosmosDB.Models.CapacityModeTransitionStatus? capacityModeTransitionStatus = default, Azure.ResourceManager.CosmosDB.Models.CapacityMode? currentCapacityMode = default, Azure.ResourceManager.CosmosDB.Models.CapacityMode? previousCapacityMode = default, DateTimeOffset? capacityModeTransitionBeginTimestamp = default, DateTimeOffset? capacityModeTransitionEndTimestamp = default, DateTimeOffset? capacityModeLastSuccessfulTransitionEndTimestamp = default);
static member CapacityModeChangeTransitionState : Nullable<Azure.ResourceManager.CosmosDB.Models.CapacityModeTransitionStatus> * Nullable<Azure.ResourceManager.CosmosDB.Models.CapacityMode> * Nullable<Azure.ResourceManager.CosmosDB.Models.CapacityMode> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.CosmosDB.Models.CapacityModeChangeTransitionState
Public Shared Function CapacityModeChangeTransitionState (Optional capacityModeTransitionStatus As Nullable(Of CapacityModeTransitionStatus) = Nothing, Optional currentCapacityMode As Nullable(Of CapacityMode) = Nothing, Optional previousCapacityMode As Nullable(Of CapacityMode) = Nothing, Optional capacityModeTransitionBeginTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional capacityModeTransitionEndTimestamp As Nullable(Of DateTimeOffset) = Nothing, Optional capacityModeLastSuccessfulTransitionEndTimestamp As Nullable(Of DateTimeOffset) = Nothing) As CapacityModeChangeTransitionState
Parameters
- capacityModeTransitionStatus
- Nullable<CapacityModeTransitionStatus>
The transition status of capacity mode.
- currentCapacityMode
- Nullable<CapacityMode>
Indicates the current capacity mode of the account.
- previousCapacityMode
- Nullable<CapacityMode>
Indicates the previous capacity mode of the account before successful transition.
- capacityModeTransitionBeginTimestamp
- Nullable<DateTimeOffset>
Begin time in UTC of the capacity mode change.
- capacityModeTransitionEndTimestamp
- Nullable<DateTimeOffset>
End time in UTC of the capacity mode change.
- capacityModeLastSuccessfulTransitionEndTimestamp
- Nullable<DateTimeOffset>
End time in UTC of the last successful capacity mode change.
Returns
A new CapacityModeChangeTransitionState instance for mocking.