다음을 통해 공유


NetworkProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.NetworkProfile

Implements

public final class NetworkProfile
implements JsonSerializable<NetworkProfile>

Service network profile payload.

Constructor Summary

Constructor Description
NetworkProfile()

Creates an instance of NetworkProfile class.

Method Summary

Modifier and Type Method and Description
String appNetworkResourceGroup()

Get the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.

String appSubnetId()

Get the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.

static NetworkProfile fromJson(JsonReader jsonReader)

Reads an instance of NetworkProfile from the JsonReader.

IngressConfig ingressConfig()

Get the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.

NetworkProfileOutboundIPs outboundIPs()

Get the outboundIPs property: Desired outbound IP resources for Azure Spring Apps resource.

String outboundType()

Get the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.

List<RequiredTraffic> requiredTraffics()

Get the requiredTraffics property: Required inbound or outbound traffics for Azure Spring Apps resource.

String serviceCidr()

Get the serviceCidr property: Azure Spring Apps service reserved CIDR.

String serviceRuntimeNetworkResourceGroup()

Get the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.

String serviceRuntimeSubnetId()

Get the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

NetworkProfile withAppNetworkResourceGroup(String appNetworkResourceGroup)

Set the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.

NetworkProfile withAppSubnetId(String appSubnetId)

Set the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.

NetworkProfile withIngressConfig(IngressConfig ingressConfig)

Set the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.

NetworkProfile withOutboundType(String outboundType)

Set the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.

NetworkProfile withServiceCidr(String serviceCidr)

Set the serviceCidr property: Azure Spring Apps service reserved CIDR.

NetworkProfile withServiceRuntimeNetworkResourceGroup(String serviceRuntimeNetworkResourceGroup)

Set the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.

NetworkProfile withServiceRuntimeSubnetId(String serviceRuntimeSubnetId)

Set the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.

Methods inherited from java.lang.Object

Constructor Details

NetworkProfile

public NetworkProfile()

Creates an instance of NetworkProfile class.

Method Details

appNetworkResourceGroup

public String appNetworkResourceGroup()

Get the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.

Returns:

the appNetworkResourceGroup value.

appSubnetId

public String appSubnetId()

Get the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.

Returns:

the appSubnetId value.

fromJson

public static NetworkProfile fromJson(JsonReader jsonReader)

Reads an instance of NetworkProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If an error occurs while reading the NetworkProfile.

ingressConfig

public IngressConfig ingressConfig()

Get the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.

Returns:

the ingressConfig value.

outboundIPs

public NetworkProfileOutboundIPs outboundIPs()

Get the outboundIPs property: Desired outbound IP resources for Azure Spring Apps resource.

Returns:

the outboundIPs value.

outboundType

public String outboundType()

Get the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.

Returns:

the outboundType value.

requiredTraffics

public List requiredTraffics()

Get the requiredTraffics property: Required inbound or outbound traffics for Azure Spring Apps resource.

Returns:

the requiredTraffics value.

serviceCidr

public String serviceCidr()

Get the serviceCidr property: Azure Spring Apps service reserved CIDR.

Returns:

the serviceCidr value.

serviceRuntimeNetworkResourceGroup

public String serviceRuntimeNetworkResourceGroup()

Get the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.

Returns:

the serviceRuntimeNetworkResourceGroup value.

serviceRuntimeSubnetId

public String serviceRuntimeSubnetId()

Get the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.

Returns:

the serviceRuntimeSubnetId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAppNetworkResourceGroup

public NetworkProfile withAppNetworkResourceGroup(String appNetworkResourceGroup)

Set the appNetworkResourceGroup property: Name of the resource group containing network resources for customer apps in Azure Spring Apps.

Parameters:

appNetworkResourceGroup - the appNetworkResourceGroup value to set.

Returns:

the NetworkProfile object itself.

withAppSubnetId

public NetworkProfile withAppSubnetId(String appSubnetId)

Set the appSubnetId property: Fully qualified resource Id of the subnet to host customer apps in Azure Spring Apps.

Parameters:

appSubnetId - the appSubnetId value to set.

Returns:

the NetworkProfile object itself.

withIngressConfig

public NetworkProfile withIngressConfig(IngressConfig ingressConfig)

Set the ingressConfig property: Ingress configuration payload for Azure Spring Apps resource.

Parameters:

ingressConfig - the ingressConfig value to set.

Returns:

the NetworkProfile object itself.

withOutboundType

public NetworkProfile withOutboundType(String outboundType)

Set the outboundType property: The egress traffic type of Azure Spring Apps VNet instances.

Parameters:

outboundType - the outboundType value to set.

Returns:

the NetworkProfile object itself.

withServiceCidr

public NetworkProfile withServiceCidr(String serviceCidr)

Set the serviceCidr property: Azure Spring Apps service reserved CIDR.

Parameters:

serviceCidr - the serviceCidr value to set.

Returns:

the NetworkProfile object itself.

withServiceRuntimeNetworkResourceGroup

public NetworkProfile withServiceRuntimeNetworkResourceGroup(String serviceRuntimeNetworkResourceGroup)

Set the serviceRuntimeNetworkResourceGroup property: Name of the resource group containing network resources of Azure Spring Apps Service Runtime.

Parameters:

serviceRuntimeNetworkResourceGroup - the serviceRuntimeNetworkResourceGroup value to set.

Returns:

the NetworkProfile object itself.

withServiceRuntimeSubnetId

public NetworkProfile withServiceRuntimeSubnetId(String serviceRuntimeSubnetId)

Set the serviceRuntimeSubnetId property: Fully qualified resource Id of the subnet to host Azure Spring Apps Service Runtime.

Parameters:

serviceRuntimeSubnetId - the serviceRuntimeSubnetId value to set.

Returns:

the NetworkProfile object itself.

Applies to