DeploymentResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appplatform. fluent. models. DeploymentResourceInner
- com.
- com.
public final class DeploymentResourceInner
extends ProxyResource
Deployment resource payload.
Constructor Summary
Constructor | Description |
---|---|
DeploymentResourceInner() |
Creates an instance of Deployment |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Deployment |
fromJson(JsonReader jsonReader)
Reads an instance of Deployment |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
name()
Get the name property: The name of the resource. |
Deployment |
properties()
Get the properties property: Properties of the Deployment resource. |
Sku |
sku()
Get the sku property: Sku of the Deployment resource. |
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. |
Deployment |
withProperties(DeploymentResourceProperties properties)
Set the properties property: Properties of the Deployment resource. |
Deployment |
withSku(Sku sku)
Set the sku property: Sku of the Deployment resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
DeploymentResourceInner
public DeploymentResourceInner()
Creates an instance of DeploymentResourceInner class.
Method Details
fromJson
public static DeploymentResourceInner fromJson(JsonReader jsonReader)
Reads an instance of DeploymentResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
DeploymentResourceInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
DeploymentResourceInner.name()Returns:
properties
public DeploymentResourceProperties properties()
Get the properties property: Properties of the Deployment resource.
Returns:
sku
public Sku sku()
Get the sku property: Sku of the Deployment resource.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DeploymentResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
DeploymentResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withProperties
public DeploymentResourceInner withProperties(DeploymentResourceProperties properties)
Set the properties property: Properties of the Deployment resource.
Parameters:
Returns:
withSku
public DeploymentResourceInner withSku(Sku sku)
Set the sku property: Sku of the Deployment resource.
Parameters:
Returns:
Applies to
Azure SDK for Java