Udostępnij za pośrednictwem


ArmDatadogModelFactory.MonitorProperties Method

Definition

Initializes a new instance of MonitorProperties.

public static Azure.ResourceManager.Datadog.Models.MonitorProperties MonitorProperties (Azure.ResourceManager.Datadog.Models.ProvisioningState? provisioningState = default, Azure.ResourceManager.Datadog.Models.MonitoringStatus? monitoringStatus = default, Azure.ResourceManager.Datadog.Models.MarketplaceSubscriptionStatus? marketplaceSubscriptionStatus = default, Azure.ResourceManager.Datadog.Models.DatadogOrganizationProperties datadogOrganizationProperties = default, Azure.ResourceManager.Datadog.Models.UserInfo userInfo = default, Azure.ResourceManager.Datadog.Models.LiftrResourceCategory? liftrResourceCategory = default, int? liftrResourcePreference = default);
static member MonitorProperties : Nullable<Azure.ResourceManager.Datadog.Models.ProvisioningState> * Nullable<Azure.ResourceManager.Datadog.Models.MonitoringStatus> * Nullable<Azure.ResourceManager.Datadog.Models.MarketplaceSubscriptionStatus> * Azure.ResourceManager.Datadog.Models.DatadogOrganizationProperties * Azure.ResourceManager.Datadog.Models.UserInfo * Nullable<Azure.ResourceManager.Datadog.Models.LiftrResourceCategory> * Nullable<int> -> Azure.ResourceManager.Datadog.Models.MonitorProperties
Public Shared Function MonitorProperties (Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional monitoringStatus As Nullable(Of MonitoringStatus) = Nothing, Optional marketplaceSubscriptionStatus As Nullable(Of MarketplaceSubscriptionStatus) = Nothing, Optional datadogOrganizationProperties As DatadogOrganizationProperties = Nothing, Optional userInfo As UserInfo = Nothing, Optional liftrResourceCategory As Nullable(Of LiftrResourceCategory) = Nothing, Optional liftrResourcePreference As Nullable(Of Integer) = Nothing) As MonitorProperties

Parameters

provisioningState
Nullable<ProvisioningState>
monitoringStatus
Nullable<MonitoringStatus>

Flag specifying if the resource monitoring is enabled or disabled.

marketplaceSubscriptionStatus
Nullable<MarketplaceSubscriptionStatus>

Flag specifying the Marketplace Subscription Status of the resource. If payment is not made in time, the resource will go in Suspended state.

datadogOrganizationProperties
DatadogOrganizationProperties

Datadog organization properties.

userInfo
UserInfo

User info.

liftrResourceCategory
Nullable<LiftrResourceCategory>
liftrResourcePreference
Nullable<Int32>

The priority of the resource.

Returns

A new MonitorProperties instance for mocking.

Applies to