Class NetworkPolicy
Represents a network policy resource. Network policies are regional resources. You can use a network policy to enable or disable internet access and external IP access. Network policies are associated with a VMware Engine network, which might span across regions. For a given region, a network policy applies to all private clouds in the VMware Engine network associated with the policy.
Implements
Inherited Members
Namespace: Google.Apis.VMwareEngine.v1.Data
Assembly: Google.Apis.VMwareEngine.v1.dll
Syntax
public class NetworkPolicy : IDirectResponseSchema
Properties
CreateTime
object representation of CreateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
CreateTimeDateTimeOffset
DateTimeOffset representation of CreateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
CreateTimeRaw
Output only. Creation time of this resource.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
Description
Optional. User-provided description for this network policy.
Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
EdgeServicesCidr
Required. IP address range in CIDR notation used to create internet access and external IP access. An RFC 1918 CIDR block, with a "/26" prefix, is required. The range cannot overlap with any prefixes either in the consumer VPC network or in use by the private clouds attached to that VPC network.
Declaration
[JsonProperty("edgeServicesCidr")]
public virtual string EdgeServicesCidr { get; set; }
Property Value
Type | Description |
---|---|
string |
ExternalIp
Network service that allows External IP addresses to be assigned to VMware workloads. This service can only
be enabled when internet_access
is also enabled.
Declaration
[JsonProperty("externalIp")]
public virtual NetworkService ExternalIp { get; set; }
Property Value
Type | Description |
---|---|
NetworkService |
InternetAccess
Network service that allows VMware workloads to access the internet.
Declaration
[JsonProperty("internetAccess")]
public virtual NetworkService InternetAccess { get; set; }
Property Value
Type | Description |
---|---|
NetworkService |
Name
Output only. Identifier. The resource name of this network policy. Resource names are schemeless URIs that
follow the conventions in https://cloud.google.com/apis/design/resource_names. For example:
projects/my-project/locations/us-central1/networkPolicies/my-network-policy
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Uid
Output only. System-generated unique identifier for the resource.
Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |
UpdateTime
object representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type | Description |
---|---|
object |
UpdateTimeDateTimeOffset
DateTimeOffset representation of UpdateTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type | Description |
---|---|
DateTimeOffset? |
UpdateTimeRaw
Output only. Last update time of this resource.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
VmwareEngineNetwork
Optional. The relative resource name of the VMware Engine network. Specify the name in the following form:
projects/{project}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
where {project}
can either be a project number or a project ID.
Declaration
[JsonProperty("vmwareEngineNetwork")]
public virtual string VmwareEngineNetwork { get; set; }
Property Value
Type | Description |
---|---|
string |
VmwareEngineNetworkCanonical
Output only. The canonical name of the VMware Engine network in the form:
projects/{project_number}/locations/{location}/vmwareEngineNetworks/{vmware_engine_network_id}
Declaration
[JsonProperty("vmwareEngineNetworkCanonical")]
public virtual string VmwareEngineNetworkCanonical { get; set; }
Property Value
Type | Description |
---|---|
string |