ArmCosmosDBModelFactory.CosmosDBFirewallRuleData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- provisioningState
- Nullable<CosmosDBProvisioningState>
The provisioning state of the firewall rule.
- startIPAddress
- String
The start IP address of the mongo cluster firewall rule. Must be IPv4 format.
- endIPAddress
- String
The end IP address of the mongo cluster firewall rule. Must be IPv4 format.
Returns
A new CosmosDBFirewallRuleData instance for mocking.
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for