Dela via


NetworkAccessPolicy Struct

Definition

Policy for accessing the disk via network.

public readonly struct NetworkAccessPolicy : IEquatable<Azure.ResourceManager.Compute.Models.NetworkAccessPolicy>
type NetworkAccessPolicy = struct
Public Structure NetworkAccessPolicy
Implements IEquatable(Of NetworkAccessPolicy)
Inheritance
NetworkAccessPolicy
Implements

Constructors

NetworkAccessPolicy(String)

Initializes a new instance of NetworkAccessPolicy.

Properties

AllowAll

The disk can be exported or uploaded to from any network.

AllowPrivate

The disk can be exported or uploaded to using a DiskAccess resource's private endpoints.

DenyAll

The disk cannot be exported.

Methods

Equals(NetworkAccessPolicy)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(NetworkAccessPolicy, NetworkAccessPolicy)

Determines if two NetworkAccessPolicy values are the same.

Implicit(String to NetworkAccessPolicy)

Converts a string to a NetworkAccessPolicy.

Inequality(NetworkAccessPolicy, NetworkAccessPolicy)

Determines if two NetworkAccessPolicy values are not the same.

Applies to