Compartilhar via


ArmCosmosDBModelFactory.CosmosDBFirewallRuleData Método

Definição

Inicializa uma nova instância do CosmosDBFirewallRuleData.

public static Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleData CosmosDBFirewallRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.CosmosDB.Models.CosmosDBProvisioningState? provisioningState = default, string startIPAddress = default, string endIPAddress = default);
static member CosmosDBFirewallRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.CosmosDB.Models.CosmosDBProvisioningState> * string * string -> Azure.ResourceManager.CosmosDB.CosmosDBFirewallRuleData
Public Shared Function CosmosDBFirewallRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of CosmosDBProvisioningState) = Nothing, Optional startIPAddress As String = Nothing, Optional endIPAddress As String = Nothing) As CosmosDBFirewallRuleData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

provisioningState
Nullable<CosmosDBProvisioningState>

O estado de provisionamento da regra de firewall.

startIPAddress
String

O endereço IP inicial da regra de firewall do cluster mongo. Deve ser o formato IPv4.

endIPAddress
String

O endereço IP final da regra de firewall do cluster mongo. Deve ser o formato IPv4.

Retornos

Uma nova CosmosDBFirewallRuleData instância para simulação.

Aplica-se a