ArmNetworkModelFactory.InboundSecurityRuleData 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.
Overloads
InboundSecurityRuleData(ResourceIdentifier, String, String, Nullable<InboundSecurityRuleType>, IEnumerable<InboundSecurityRules>, Nullable<NetworkProvisioningState>)
- Source:
- ArmNetworkModelFactory.cs
public static Azure.ResourceManager.Network.InboundSecurityRuleData InboundSecurityRuleData(Azure.Core.ResourceIdentifier id = default, string name = default, string type = default, Azure.ResourceManager.Network.Models.InboundSecurityRuleType? ruleType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.InboundSecurityRules> rules = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member InboundSecurityRuleData : Azure.Core.ResourceIdentifier * string * string * Nullable<Azure.ResourceManager.Network.Models.InboundSecurityRuleType> * seq<Azure.ResourceManager.Network.Models.InboundSecurityRules> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.InboundSecurityRuleData
Public Shared Function InboundSecurityRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional ruleType As Nullable(Of InboundSecurityRuleType) = Nothing, Optional rules As IEnumerable(Of InboundSecurityRules) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As InboundSecurityRuleData
Parameters
Resource ID.
- name
- String
Name of the resource.
- type
- String
Resource type.
- ruleType
- Nullable<InboundSecurityRuleType>
Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule.
- rules
- IEnumerable<InboundSecurityRules>
List of allowed rules.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the resource.
Returns
A new InboundSecurityRuleData instance for mocking.
Applies to
InboundSecurityRuleData(ResourceIdentifier, String, Nullable<ResourceType>, Nullable<InboundSecurityRuleType>, IEnumerable<InboundSecurityRules>, Nullable<NetworkProvisioningState>, Nullable<ETag>)
- Source:
- ArmNetworkModelFactory.cs
public static Azure.ResourceManager.Network.InboundSecurityRuleData InboundSecurityRuleData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ResourceManager.Network.Models.InboundSecurityRuleType? ruleType = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.InboundSecurityRules> rules = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, Azure.ETag? eTag = default);
static member InboundSecurityRuleData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ResourceManager.Network.Models.InboundSecurityRuleType> * seq<Azure.ResourceManager.Network.Models.InboundSecurityRules> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.InboundSecurityRuleData
Public Shared Function InboundSecurityRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional ruleType As Nullable(Of InboundSecurityRuleType) = Nothing, Optional rules As IEnumerable(Of InboundSecurityRules) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As InboundSecurityRuleData
Parameters
Resource ID.
- name
- String
Name of the resource.
- resourceType
- Nullable<ResourceType>
Resource type.
- ruleType
- Nullable<InboundSecurityRuleType>
Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule.
- rules
- IEnumerable<InboundSecurityRules>
List of allowed rules.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the resource.
Returns
A new InboundSecurityRuleData instance for mocking.