Share via


DiskPublicNetworkAccess Struct

Definition

Policy for controlling export on the disk.

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

Constructors

DiskPublicNetworkAccess(String)

Initializes a new instance of DiskPublicNetworkAccess.

Properties

Disabled

You cannot access the underlying data of the disk publicly on the internet even when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.

Enabled

You can generate a SAS URI to access the underlying data of the disk publicly on the internet when NetworkAccessPolicy is set to AllowAll. You can access the data via the SAS URI only from your trusted Azure VNET when NetworkAccessPolicy is set to AllowPrivate.

Methods

Equals(DiskPublicNetworkAccess)

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(DiskPublicNetworkAccess, DiskPublicNetworkAccess)

Determines if two DiskPublicNetworkAccess values are the same.

Implicit(String to DiskPublicNetworkAccess)

Converts a String to a DiskPublicNetworkAccess.

Inequality(DiskPublicNetworkAccess, DiskPublicNetworkAccess)

Determines if two DiskPublicNetworkAccess values are not the same.

Applies to