CloudServicesNetworkInner Class

public final class CloudServicesNetworkInner
extends Resource

CloudServicesNetwork represents additional egress information that will be used by associated virtual machines or hybrid AKS clusters. Upon creation, the additional services that are provided by the platform will be allocated and represented in the status of this resource. All resources associated with this cloud services network will be part of the same layer 2 (L2) isolation domain. At least one service network must be created but may be reused across many virtual machines and/or Hybrid AKS clusters.

Constructor Summary

Constructor Description
CloudServicesNetworkInner()

Creates an instance of CloudServicesNetworkInner class.

Method Summary

Modifier and Type Method and Description
List<EgressEndpoint> additionalEgressEndpoints()

Get the additionalEgressEndpoints property: The list of egress endpoints.

List<String> associatedResourceIds()

Get the associatedResourceIds property: The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.

String clusterId()

Get the clusterId property: The resource ID of the Network Cloud cluster this cloud services network is associated with.

CloudServicesNetworkDetailedStatus detailedStatus()

Get the detailedStatus property: The more detailed status of the cloud services network.

String detailedStatusMessage()

Get the detailedStatusMessage property: The descriptive message about the current detailed status.

CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints()

Get the enableDefaultEgressEndpoints property: The indicator of whether the platform default endpoints are allowed for the egress traffic.

List<EgressEndpoint> enabledEgressEndpoints()

Get the enabledEgressEndpoints property: The full list of additional and default egress endpoints that are currently enabled.

String etag()

Get the etag property: Resource ETag.

ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the cluster associated with the resource.

static CloudServicesNetworkInner fromJson(JsonReader jsonReader)

Reads an instance of CloudServicesNetworkInner from the JsonReader.

List<String> hybridAksClustersAssociatedIds()

Get the hybridAksClustersAssociatedIds property: Field Deprecated.

String id()

Get the id property: Fully qualified resource Id for the resource.

String interfaceName()

Get the interfaceName property: The name of the interface that will be present in the virtual machine to represent this network.

String name()

Get the name property: The name of the resource.

CloudServicesNetworkProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the cloud services network.

CloudServicesNetworkStorageOptions storageOptions()

Get the storageOptions property: The storage options for the cloud services network.

CloudServicesNetworkStorageStatus storageStatus()

Get the storageStatus property: The storage status for the cloud services network.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

List<String> virtualMachinesAssociatedIds()

Get the virtualMachinesAssociatedIds property: Field Deprecated.

CloudServicesNetworkInner withAdditionalEgressEndpoints(List<EgressEndpoint> additionalEgressEndpoints)

Set the additionalEgressEndpoints property: The list of egress endpoints.

CloudServicesNetworkInner withEnableDefaultEgressEndpoints(CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints)

Set the enableDefaultEgressEndpoints property: The indicator of whether the platform default endpoints are allowed for the egress traffic.

CloudServicesNetworkInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the cluster associated with the resource.

CloudServicesNetworkInner withLocation(String location)
CloudServicesNetworkInner withStorageOptions(CloudServicesNetworkStorageOptions storageOptions)

Set the storageOptions property: The storage options for the cloud services network.

CloudServicesNetworkInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

CloudServicesNetworkInner

public CloudServicesNetworkInner()

Creates an instance of CloudServicesNetworkInner class.

Method Details

additionalEgressEndpoints

public List<EgressEndpoint> additionalEgressEndpoints()

Get the additionalEgressEndpoints property: The list of egress endpoints. This allows for connection from a Hybrid AKS cluster to the specified endpoint.

Returns:

the additionalEgressEndpoints value.

associatedResourceIds

public List<String> associatedResourceIds()

Get the associatedResourceIds property: The list of resource IDs for the other Microsoft.NetworkCloud resources that have attached this network.

Returns:

the associatedResourceIds value.

clusterId

public String clusterId()

Get the clusterId property: The resource ID of the Network Cloud cluster this cloud services network is associated with.

Returns:

the clusterId value.

detailedStatus

public CloudServicesNetworkDetailedStatus detailedStatus()

Get the detailedStatus property: The more detailed status of the cloud services network.

Returns:

the detailedStatus value.

detailedStatusMessage

public String detailedStatusMessage()

Get the detailedStatusMessage property: The descriptive message about the current detailed status.

Returns:

the detailedStatusMessage value.

enableDefaultEgressEndpoints

public CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints()

Get the enableDefaultEgressEndpoints property: The indicator of whether the platform default endpoints are allowed for the egress traffic.

Returns:

the enableDefaultEgressEndpoints value.

enabledEgressEndpoints

public List<EgressEndpoint> enabledEgressEndpoints()

Get the enabledEgressEndpoints property: The full list of additional and default egress endpoints that are currently enabled.

Returns:

the enabledEgressEndpoints value.

etag

public String etag()

Get the etag property: Resource ETag.

Returns:

the etag value.

extendedLocation

public ExtendedLocation extendedLocation()

Get the extendedLocation property: The extended location of the cluster associated with the resource.

Returns:

the extendedLocation value.

fromJson

public static CloudServicesNetworkInner fromJson(JsonReader jsonReader)

Reads an instance of CloudServicesNetworkInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CloudServicesNetworkInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

hybridAksClustersAssociatedIds

public List<String> hybridAksClustersAssociatedIds()

Get the hybridAksClustersAssociatedIds property: Field Deprecated. These fields will be empty/omitted. The list of Hybrid AKS cluster resource IDs that are associated with this cloud services network.

Returns:

the hybridAksClustersAssociatedIds value.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

CloudServicesNetworkInner.id()

Returns:

the id value.

interfaceName

public String interfaceName()

Get the interfaceName property: The name of the interface that will be present in the virtual machine to represent this network.

Returns:

the interfaceName value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

CloudServicesNetworkInner.name()

Returns:

the name value.

provisioningState

public CloudServicesNetworkProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the cloud services network.

Returns:

the provisioningState value.

storageOptions

public CloudServicesNetworkStorageOptions storageOptions()

Get the storageOptions property: The storage options for the cloud services network.

Returns:

the storageOptions value.

storageStatus

public CloudServicesNetworkStorageStatus storageStatus()

Get the storageStatus property: The storage status for the cloud services network.

Returns:

the storageStatus value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

CloudServicesNetworkInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

CloudServicesNetworkInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

virtualMachinesAssociatedIds

public List<String> virtualMachinesAssociatedIds()

Get the virtualMachinesAssociatedIds property: Field Deprecated. These fields will be empty/omitted. The list of virtual machine resource IDs, excluding any Hybrid AKS virtual machines, that are currently using this cloud services network.

Returns:

the virtualMachinesAssociatedIds value.

withAdditionalEgressEndpoints

public CloudServicesNetworkInner withAdditionalEgressEndpoints(List<EgressEndpoint> additionalEgressEndpoints)

Set the additionalEgressEndpoints property: The list of egress endpoints. This allows for connection from a Hybrid AKS cluster to the specified endpoint.

Parameters:

additionalEgressEndpoints - the additionalEgressEndpoints value to set.

Returns:

the CloudServicesNetworkInner object itself.

withEnableDefaultEgressEndpoints

public CloudServicesNetworkInner withEnableDefaultEgressEndpoints(CloudServicesNetworkEnableDefaultEgressEndpoints enableDefaultEgressEndpoints)

Set the enableDefaultEgressEndpoints property: The indicator of whether the platform default endpoints are allowed for the egress traffic.

Parameters:

enableDefaultEgressEndpoints - the enableDefaultEgressEndpoints value to set.

Returns:

the CloudServicesNetworkInner object itself.

withExtendedLocation

public CloudServicesNetworkInner withExtendedLocation(ExtendedLocation extendedLocation)

Set the extendedLocation property: The extended location of the cluster associated with the resource.

Parameters:

extendedLocation - the extendedLocation value to set.

Returns:

the CloudServicesNetworkInner object itself.

withLocation

public CloudServicesNetworkInner withLocation(String location)

Overrides:

CloudServicesNetworkInner.withLocation(String location)

Parameters:

location

withStorageOptions

public CloudServicesNetworkInner withStorageOptions(CloudServicesNetworkStorageOptions storageOptions)

Set the storageOptions property: The storage options for the cloud services network.

Parameters:

storageOptions - the storageOptions value to set.

Returns:

the CloudServicesNetworkInner object itself.

withTags

public CloudServicesNetworkInner withTags(Map<String,String> tags)

Overrides:

CloudServicesNetworkInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to