RevisionInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. appservice. fluent. models. RevisionInner
- com.
- com.
- com.
public final class RevisionInner
extends Resource
Container App Revision.
Constructor Summary
Constructor | Description |
---|---|
RevisionInner() |
Creates an instance of Revision |
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
active()
Get the active property: Boolean describing if the Revision is Active. |
Offset |
createdTime()
Get the created |
String |
fqdn()
Get the fqdn property: Fully qualified domain name of the revision. |
static
Revision |
fromJson(JsonReader jsonReader)
Reads an instance of Revision |
Revision |
healthState()
Get the health |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
kind()
Get the kind property: Kind of resource. |
String |
name()
Get the name property: The name of the resource. |
String |
provisioningError()
Get the provisioning |
Revision |
provisioningState()
Get the provisioning |
Integer |
replicas()
Get the replicas property: Number of pods currently running for this revision. |
Template |
template()
Get the template property: Container App Revision Template with all possible settings and the defaults if user did not provide them. |
Json |
toJson(JsonWriter jsonWriter) |
Integer |
trafficWeight()
Get the traffic |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Revision |
withKind(String kind)
Set the kind property: Kind of resource. |
Revision |
withLocation(String location) |
Revision |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
RevisionInner
public RevisionInner()
Creates an instance of RevisionInner class.
Method Details
active
public Boolean active()
Get the active property: Boolean describing if the Revision is Active.
Returns:
createdTime
public OffsetDateTime createdTime()
Get the createdTime property: Timestamp describing when the revision was created by controller.
Returns:
fqdn
public String fqdn()
Get the fqdn property: Fully qualified domain name of the revision.
Returns:
fromJson
public static RevisionInner fromJson(JsonReader jsonReader)
Reads an instance of RevisionInner from the JsonReader.
Parameters:
Returns:
Throws:
healthState
public RevisionHealthState healthState()
Get the healthState property: Current health State of the revision.
Returns:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RevisionInner.id()Returns:
kind
public String kind()
Get the kind property: Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things\_You\_Should\_Know/kind\_property.md\#app-service-resource-kind-reference for details supported values for kind.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RevisionInner.name()Returns:
provisioningError
public String provisioningError()
Get the provisioningError property: Optional Field - Platform Error Message.
Returns:
provisioningState
public RevisionProvisioningState provisioningState()
Get the provisioningState property: Current provisioning State of the revision.
Returns:
replicas
public Integer replicas()
Get the replicas property: Number of pods currently running for this revision.
Returns:
template
public Template template()
Get the template property: Container App Revision Template with all possible settings and the defaults if user did not provide them. The defaults are populated as they were at the creation time.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RevisionInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
trafficWeight
public Integer trafficWeight()
Get the trafficWeight property: Traffic weight assigned to this revision.
Returns:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RevisionInner.type()Returns:
validate
public void validate()
Validates the instance.
withKind
public RevisionInner withKind(String kind)
Set the kind property: Kind of resource. If the resource is an app, you can refer to https://github.com/Azure/app-service-linux-docs/blob/master/Things\_You\_Should\_Know/kind\_property.md\#app-service-resource-kind-reference for details supported values for kind.
Parameters:
Returns:
withLocation
public RevisionInner withLocation(String location)
Overrides:
RevisionInner.withLocation(String location)Parameters:
withTags
public RevisionInner withTags(Map
Overrides:
RevisionInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java