ArmNetworkModelFactory.BaseAdminRuleData 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 BaseAdminRuleData.
public static Azure.ResourceManager.Network.BaseAdminRuleData BaseAdminRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = default, Azure.ETag? etag = default);
public static Azure.ResourceManager.Network.BaseAdminRuleData BaseAdminRuleData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string kind = "Unknown", Azure.ETag? etag = default);
static member BaseAdminRuleData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<Azure.ETag> -> Azure.ResourceManager.Network.BaseAdminRuleData
Public Shared Function BaseAdminRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = Nothing, Optional etag As Nullable(Of ETag) = Nothing) As BaseAdminRuleData
Public Shared Function BaseAdminRuleData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional kind As String = "Unknown", Optional etag As Nullable(Of ETag) = Nothing) As BaseAdminRuleData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- kind
- String
Whether the rule is custom or default.
Returns
A new BaseAdminRuleData instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET