Aracılığıyla paylaş


AdminRulesOperationsExtensions.CreateOrUpdate Method

Definition

Creates or updates an admin rule.

public static Microsoft.Azure.Management.Network.Models.BaseAdminRule CreateOrUpdate (this Microsoft.Azure.Management.Network.IAdminRulesOperations operations, Microsoft.Azure.Management.Network.Models.BaseAdminRule adminRule, string resourceGroupName, string networkManagerName, string configurationName, string ruleCollectionName, string ruleName);
static member CreateOrUpdate : Microsoft.Azure.Management.Network.IAdminRulesOperations * Microsoft.Azure.Management.Network.Models.BaseAdminRule * string * string * string * string * string -> Microsoft.Azure.Management.Network.Models.BaseAdminRule
<Extension()>
Public Function CreateOrUpdate (operations As IAdminRulesOperations, adminRule As BaseAdminRule, resourceGroupName As String, networkManagerName As String, configurationName As String, ruleCollectionName As String, ruleName As String) As BaseAdminRule

Parameters

operations
IAdminRulesOperations

The operations group for this extension method.

adminRule
BaseAdminRule

The admin rule to create or update

resourceGroupName
String

The name of the resource group.

networkManagerName
String

The name of the network manager.

configurationName
String

The name of the network manager Security Configuration.

ruleCollectionName
String

The name of the network manager security Configuration rule collection.

ruleName
String

The name of the rule.

Returns

Applies to