ResponseMessageEnvelopeRemotePrivateEndpointConnection Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ResponseMessageEnvelopeRemotePrivateEndpointConnection
- com.
Implements
public final class ResponseMessageEnvelopeRemotePrivateEndpointConnection
implements JsonSerializable<ResponseMessageEnvelopeRemotePrivateEndpointConnection>
Message envelope that contains the common Azure resource manager properties and the resource provider specific content.
Constructor Summary
Constructor | Description |
---|---|
ResponseMessageEnvelopeRemotePrivateEndpointConnection() |
Creates an instance of Response |
Method Summary
Modifier and Type | Method and Description |
---|---|
Error |
error()
Get the error property: Azure-Async |
static
Response |
fromJson(JsonReader jsonReader)
Reads an instance of Response |
String |
id()
Get the id property: Resource Id. |
Managed |
identity()
Get the identity property: MSI resource. |
String |
location()
Get the location property: Geographical region resource belongs to e. |
String |
name()
Get the name property: Name of resource. |
Arm |
plan()
Get the plan property: Azure resource manager plan. |
Remote |
properties()
Get the properties property: Resource specific properties. |
Sku |
sku()
Get the sku property: SKU description of the resource. |
String |
status()
Get the status property: Azure-Async |
Map<String,String> |
tags()
Get the tags property: Tags associated with resource. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: Type of resource e. |
void |
validate()
Validates the instance. |
Response |
withError(ErrorEntity error)
Set the error property: Azure-Async |
Response |
withId(String id)
Set the id property: Resource Id. |
Response |
withIdentity(ManagedServiceIdentity identity)
Set the identity property: MSI resource. |
Response |
withLocation(String location)
Set the location property: Geographical region resource belongs to e. |
Response |
withName(String name)
Set the name property: Name of resource. |
Response |
withPlan(ArmPlan plan)
Set the plan property: Azure resource manager plan. |
Response |
withProperties(RemotePrivateEndpointConnection properties)
Set the properties property: Resource specific properties. |
Response |
withSku(SkuDescription sku)
Set the sku property: SKU description of the resource. |
Response |
withStatus(String status)
Set the status property: Azure-Async |
Response |
withTags(Map<String,String> tags)
Set the tags property: Tags associated with resource. |
Response |
withType(String type)
Set the type property: Type of resource e. |
Response |
withZones(List<String> zones)
Set the zones property: Logical Availability Zones the service is hosted in. |
List<String> |
zones()
Get the zones property: Logical Availability Zones the service is hosted in. |
Methods inherited from java.lang.Object
Constructor Details
ResponseMessageEnvelopeRemotePrivateEndpointConnection
public ResponseMessageEnvelopeRemotePrivateEndpointConnection()
Creates an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection class.
Method Details
error
public ErrorEntity error()
Get the error property: Azure-AsyncOperation Error info.
Returns:
fromJson
public static ResponseMessageEnvelopeRemotePrivateEndpointConnection fromJson(JsonReader jsonReader)
Reads an instance of ResponseMessageEnvelopeRemotePrivateEndpointConnection from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this value for GET requests only. For example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}.
Returns:
identity
public ManagedServiceIdentity identity()
Get the identity property: MSI resource.
Returns:
location
public String location()
Get the location property: Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.
Returns:
name
public String name()
Get the name property: Name of resource.
Returns:
plan
public ArmPlan plan()
Get the plan property: Azure resource manager plan.
Returns:
properties
public RemotePrivateEndpointConnection properties()
Get the properties property: Resource specific properties.
Returns:
sku
public SkuDescription sku()
Get the sku property: SKU description of the resource.
Returns:
status
public String status()
Get the status property: Azure-AsyncOperation Status info.
Returns:
tags
public Map
Get the tags property: Tags associated with resource.
Returns:
toJson
type
public String type()
Get the type property: Type of resource e.g "Microsoft.Web/sites".
Returns:
validate
public void validate()
Validates the instance.
withError
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withError(ErrorEntity error)
Set the error property: Azure-AsyncOperation Error info.
Parameters:
Returns:
withId
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withId(String id)
Set the id property: Resource Id. Typically ID is populated only for responses to GET requests. Caller is responsible for passing in this value for GET requests only. For example: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupId}/providers/Microsoft.Web/sites/{sitename}.
Parameters:
Returns:
withIdentity
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withIdentity(ManagedServiceIdentity identity)
Set the identity property: MSI resource.
Parameters:
Returns:
withLocation
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withLocation(String location)
Set the location property: Geographical region resource belongs to e.g. SouthCentralUS, SouthEastAsia.
Parameters:
Returns:
withName
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withName(String name)
Set the name property: Name of resource.
Parameters:
Returns:
withPlan
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withPlan(ArmPlan plan)
Set the plan property: Azure resource manager plan.
Parameters:
Returns:
withProperties
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withProperties(RemotePrivateEndpointConnection properties)
Set the properties property: Resource specific properties.
Parameters:
Returns:
withSku
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withSku(SkuDescription sku)
Set the sku property: SKU description of the resource.
Parameters:
Returns:
withStatus
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withStatus(String status)
Set the status property: Azure-AsyncOperation Status info.
Parameters:
Returns:
withTags
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withTags(Map
Set the tags property: Tags associated with resource.
Parameters:
Returns:
withType
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withType(String type)
Set the type property: Type of resource e.g "Microsoft.Web/sites".
Parameters:
Returns:
withZones
public ResponseMessageEnvelopeRemotePrivateEndpointConnection withZones(List
Set the zones property: Logical Availability Zones the service is hosted in.
Parameters:
Returns:
zones
public List
Get the zones property: Logical Availability Zones the service is hosted in.
Returns:
Applies to
Azure SDK for Java