Share via


ArmElasticModelFactory.MonitorProperties Method

Definition

Initializes a new instance of MonitorProperties.

public static Azure.ResourceManager.Elastic.Models.MonitorProperties MonitorProperties (Azure.ResourceManager.Elastic.Models.ProvisioningState? provisioningState = default, Azure.ResourceManager.Elastic.Models.MonitoringStatus? monitoringStatus = default, Azure.ResourceManager.Elastic.Models.ElasticProperties elasticProperties = default, Azure.ResourceManager.Elastic.Models.UserInfo userInfo = default, Azure.ResourceManager.Elastic.Models.PlanDetails planDetails = default, string version = default, string subscriptionState = default, string saaSAzureSubscriptionStatus = default, string sourceCampaignName = default, string sourceCampaignId = default, Azure.ResourceManager.Elastic.Models.LiftrResourceCategory? liftrResourceCategory = default, int? liftrResourcePreference = default, bool? generateApiKey = default);
static member MonitorProperties : Nullable<Azure.ResourceManager.Elastic.Models.ProvisioningState> * Nullable<Azure.ResourceManager.Elastic.Models.MonitoringStatus> * Azure.ResourceManager.Elastic.Models.ElasticProperties * Azure.ResourceManager.Elastic.Models.UserInfo * Azure.ResourceManager.Elastic.Models.PlanDetails * string * string * string * string * string * Nullable<Azure.ResourceManager.Elastic.Models.LiftrResourceCategory> * Nullable<int> * Nullable<bool> -> Azure.ResourceManager.Elastic.Models.MonitorProperties
Public Shared Function MonitorProperties (Optional provisioningState As Nullable(Of ProvisioningState) = Nothing, Optional monitoringStatus As Nullable(Of MonitoringStatus) = Nothing, Optional elasticProperties As ElasticProperties = Nothing, Optional userInfo As UserInfo = Nothing, Optional planDetails As PlanDetails = 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 LiftrResourceCategory) = Nothing, Optional liftrResourcePreference As Nullable(Of Integer) = Nothing, Optional generateApiKey As Nullable(Of Boolean) = Nothing) As MonitorProperties

Parameters

provisioningState
Nullable<ProvisioningState>

Provisioning state of the monitor resource.

monitoringStatus
Nullable<MonitoringStatus>

Flag specifying if the resource monitoring is enabled or disabled.

elasticProperties
ElasticProperties

Elastic cloud properties.

userInfo
UserInfo

User information.

planDetails
PlanDetails

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<LiftrResourceCategory>
liftrResourcePreference
Nullable<Int32>

The priority of the resource.

generateApiKey
Nullable<Boolean>

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

Returns

A new MonitorProperties instance for mocking.

Applies to