CloudServiceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. compute. fluent. models. CloudServiceInner
- com.
- com.
- com.
public final class CloudServiceInner
extends Resource
Describes the cloud service.
Constructor Summary
Constructor | Description |
---|---|
CloudServiceInner() |
Creates an instance of Cloud |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Cloud |
fromJson(JsonReader jsonReader)
Reads an instance of Cloud |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Cloud |
properties()
Get the properties property: Cloud service properties. |
System |
systemData()
Get the system |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Cloud |
withLocation(String location) |
Cloud |
withProperties(CloudServiceProperties properties)
Set the properties property: Cloud service properties. |
Cloud |
withSystemData(SystemData systemData)
Set the system |
Cloud |
withTags(Map<String,String> tags) |
Cloud |
withZones(List<String> zones)
Set the zones property: List of logical availability zone of the resource. |
List<String> |
zones()
Get the zones property: List of logical availability zone of the resource. |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
CloudServiceInner
public CloudServiceInner()
Creates an instance of CloudServiceInner class.
Method Details
fromJson
public static CloudServiceInner fromJson(JsonReader jsonReader)
Reads an instance of CloudServiceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
CloudServiceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
CloudServiceInner.name()Returns:
properties
public CloudServiceProperties properties()
Get the properties property: Cloud service properties.
Returns:
systemData
public SystemData systemData()
Get the systemData property: The system meta data relating to this resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
CloudServiceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
CloudServiceInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public CloudServiceInner withLocation(String location)
Overrides:
CloudServiceInner.withLocation(String location)Parameters:
withProperties
public CloudServiceInner withProperties(CloudServiceProperties properties)
Set the properties property: Cloud service properties.
Parameters:
Returns:
withSystemData
public CloudServiceInner withSystemData(SystemData systemData)
Set the systemData property: The system meta data relating to this resource.
Parameters:
Returns:
withTags
public CloudServiceInner withTags(Map
Overrides:
CloudServiceInner.withTags(Map<String,String> tags)Parameters:
withZones
public CloudServiceInner withZones(List
Set the zones property: List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
Parameters:
Returns:
zones
public List
Get the zones property: List of logical availability zone of the resource. List should contain only 1 zone where cloud service should be provisioned. This field is optional.
Returns:
Applies to
Azure SDK for Java