你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

PublicNetworkAccess 结构

定义

定义 PublicNetworkAccess 的值。

[Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.PublicNetworkAccessConverter))]
public struct PublicNetworkAccess : IEquatable<Microsoft.Azure.Management.Media.Models.PublicNetworkAccess>
[<Newtonsoft.Json.JsonConverter(typeof(Microsoft.Azure.Management.Media.Models.PublicNetworkAccessConverter))>]
type PublicNetworkAccess = struct
Public Structure PublicNetworkAccess
Implements IEquatable(Of PublicNetworkAccess)
继承
PublicNetworkAccess
属性
Newtonsoft.Json.JsonConverterAttribute
实现

字段

Disabled

已禁用公用网络访问。

Enabled

已启用公用网络访问。

方法

Equals(Object)

替代 PublicNetworkAccess 的 Equals 运算符

Equals(PublicNetworkAccess)

比较 PublicNetworkAccess 类型的枚举

GetHashCode()

为 hashCode PublicNetworkAccess 返回

ToString()

返回 PublicNetworkAccess 的字符串表示形式

运算符

Equality(PublicNetworkAccess, PublicNetworkAccess)

为枚举 PublicNetworkAccess 重写 == 运算符

Implicit(PublicNetworkAccess to String)

用于将 PublicNetworkAccess 转换为字符串的隐式运算符

Implicit(String to PublicNetworkAccess)

用于将字符串转换为 PublicNetworkAccess 的隐式运算符

Inequality(PublicNetworkAccess, PublicNetworkAccess)

为枚举 PublicNetworkAccess 重写 != 运算符

适用于