ArmOperationalInsightsModelFactory.OperationalInsightsWorkspaceReplicationProperties Method

Definition

Initializes a new instance of OperationalInsightsWorkspaceReplicationProperties.

public static Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceReplicationProperties OperationalInsightsWorkspaceReplicationProperties(Azure.Core.AzureLocation? location = default, bool? isReplicationEnabled = default, Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceReplicationState? provisioningState = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default);
static member OperationalInsightsWorkspaceReplicationProperties : Nullable<Azure.Core.AzureLocation> * Nullable<bool> * Nullable<Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceReplicationState> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.OperationalInsights.Models.OperationalInsightsWorkspaceReplicationProperties
Public Shared Function OperationalInsightsWorkspaceReplicationProperties (Optional location As Nullable(Of AzureLocation) = Nothing, Optional isReplicationEnabled As Nullable(Of Boolean) = Nothing, Optional provisioningState As Nullable(Of OperationalInsightsWorkspaceReplicationState) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing) As OperationalInsightsWorkspaceReplicationProperties

Parameters

location
Nullable<AzureLocation>

The location of the replication.

isReplicationEnabled
Nullable<Boolean>

Specifies whether the replication is enabled or not. When true, workspace configuration and data is replicated to the specified location. If replication is been enabled, location must be provided.

provisioningState
Nullable<OperationalInsightsWorkspaceReplicationState>

The provisioning state of the replication.

createdOn
Nullable<DateTimeOffset>

The last time when the replication was enabled.

lastModifiedOn
Nullable<DateTimeOffset>

The last time when the replication was updated.

Returns

A new OperationalInsightsWorkspaceReplicationProperties instance for mocking.

Applies to