AppResourceInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. appplatform. fluent. models. AppResourceInner
- com.
- com.
public final class AppResourceInner
extends ProxyResource
App resource payload.
Constructor Summary
Constructor | Description |
---|---|
AppResourceInner() |
Creates an instance of App |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
App |
fromJson(JsonReader jsonReader)
Reads an instance of App |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
Managed |
identity()
Get the identity property: The Managed Identity type of the app resource. |
String |
location()
Get the location property: The GEO location of the application, always the same with its parent resource. |
String |
name()
Get the name property: The name of the resource. |
App |
properties()
Get the properties property: Properties of the App 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. |
App |
withIdentity(ManagedIdentityProperties identity)
Set the identity property: The Managed Identity type of the app resource. |
App |
withLocation(String location)
Set the location property: The GEO location of the application, always the same with its parent resource. |
App |
withProperties(AppResourceProperties properties)
Set the properties property: Properties of the App resource. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
AppResourceInner
public AppResourceInner()
Creates an instance of AppResourceInner class.
Method Details
fromJson
public static AppResourceInner fromJson(JsonReader jsonReader)
Reads an instance of AppResourceInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
AppResourceInner.id()Returns:
identity
public ManagedIdentityProperties identity()
Get the identity property: The Managed Identity type of the app resource.
Returns:
location
public String location()
Get the location property: The GEO location of the application, always the same with its parent resource.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
AppResourceInner.name()Returns:
properties
public AppResourceProperties properties()
Get the properties property: Properties of the App 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:
AppResourceInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
AppResourceInner.type()Returns:
validate
public void validate()
Validates the instance.
withIdentity
public AppResourceInner withIdentity(ManagedIdentityProperties identity)
Set the identity property: The Managed Identity type of the app resource.
Parameters:
Returns:
withLocation
public AppResourceInner withLocation(String location)
Set the location property: The GEO location of the application, always the same with its parent resource.
Parameters:
Returns:
withProperties
public AppResourceInner withProperties(AppResourceProperties properties)
Set the properties property: Properties of the App resource.
Parameters:
Returns:
Applies to
Azure SDK for Java