Udostępnij za pośrednictwem


AccessRule Class

Definition

Access rule.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AccessRuleTypeConverter))]
public class AccessRule : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRule
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.AccessRuleTypeConverter))>]
type AccessRule = class
    interface IAccessRule
    interface IJsonSerializable
Public Class AccessRule
Implements IAccessRule
Inheritance
AccessRule
Attributes
Implements

Constructors

AccessRule()

Creates an new AccessRule instance.

Properties

AddressPrefix

Address prefixes that are allowed access.

Direction

Direction of the access rule.

Name

Name of the access rule.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AccessRule.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AccessRule.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.IAccessRule.

FromJsonString(String)

Creates a new instance of AccessRule, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AccessRule into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to