共用方式為


ArmElasticModelFactory.ElasticMonitorProperties Method

Definition

Initializes a new instance of ElasticMonitorProperties.

public static Azure.ResourceManager.Elastic.Models.ElasticMonitorProperties ElasticMonitorProperties (Azure.ResourceManager.Elastic.Models.ElasticProvisioningState? provisioningState = default, Azure.ResourceManager.Elastic.Models.ElasticMonitoringStatus? monitoringStatus = default, Azure.ResourceManager.Elastic.Models.ElasticCloudProperties elasticProperties = default, Azure.ResourceManager.Elastic.Models.ElasticUserInfo userInfo = default, Azure.ResourceManager.Elastic.Models.ElasticPlanDetails planDetails = default, string version = default, string subscriptionState = default, string saaSAzureSubscriptionStatus = default, string sourceCampaignName = default, string sourceCampaignId = default, Azure.ResourceManager.Elastic.Models.ElasticLiftrResourceCategory? liftrResourceCategory = default, int? liftrResourcePreference = default, bool? isApiKeyGenerated = default);
static member ElasticMonitorProperties : Nullable<Azure.ResourceManager.Elastic.Models.ElasticProvisioningState> * Nullable<Azure.ResourceManager.Elastic.Models.ElasticMonitoringStatus> * Azure.ResourceManager.Elastic.Models.ElasticCloudProperties * Azure.ResourceManager.Elastic.Models.ElasticUserInfo * Azure.ResourceManager.Elastic.Models.ElasticPlanDetails * string * string * string * string * string * Nullable<Azure.ResourceManager.Elastic.Models.ElasticLiftrResourceCategory> * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.Elastic.Models.ElasticMonitorProperties
Public Shared Function ElasticMonitorProperties (Optional provisioningState As Nullable(Of ElasticProvisioningState) = Nothing, Optional monitoringStatus As Nullable(Of ElasticMonitoringStatus) = Nothing, Optional elasticProperties As ElasticCloudProperties = Nothing, Optional userInfo As ElasticUserInfo = Nothing, Optional planDetails As ElasticPlanDetails = Nothing, Optional version As String = Nothing, Optional subscriptionState As String = Nothing, Optional saaSAzureSubscriptionStatus As String = Nothing, Optional sourceCampaignName As String = Nothing, Optional sourceCampaignId As String = Nothing, Optional liftrResourceCategory As Nullable(Of ElasticLiftrResourceCategory) = Nothing, Optional liftrResourcePreference As Nullable(Of Integer) = Nothing, Optional isApiKeyGenerated As Nullable(Of Boolean) = Nothing) As ElasticMonitorProperties

Parameters

provisioningState
Nullable<ElasticProvisioningState>

Provisioning state of the monitor resource.

monitoringStatus
Nullable<ElasticMonitoringStatus>

Flag specifying if the resource monitoring is enabled or disabled.

elasticProperties
ElasticCloudProperties

Elastic cloud properties.

userInfo
ElasticUserInfo

User information.

planDetails
ElasticPlanDetails

Plan details of the monitor resource.

version
String

Version of elastic of the monitor resource.

subscriptionState
String

State of the Azure Subscription containing the monitor resource.

saaSAzureSubscriptionStatus
String

Status of Azure Subscription where Marketplace SaaS is located.

sourceCampaignName
String

Name of the marketing campaign.

sourceCampaignId
String

A unique identifier associated with the campaign.

liftrResourceCategory
Nullable<ElasticLiftrResourceCategory>
liftrResourcePreference
Nullable<Int32>

The priority of the resource.

isApiKeyGenerated
Nullable<Boolean>

Flag to determine if User API Key has to be generated and shared.

Returns

A new ElasticMonitorProperties instance for mocking.

Applies to