StandbyPoolProfileDefinition Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. StandbyPoolProfileDefinition
- com.
Implements
public final class StandbyPoolProfileDefinition
implements JsonSerializable<StandbyPoolProfileDefinition>
The standby pool profile reference.
Constructor Summary
| Constructor | Description |
|---|---|
| StandbyPoolProfileDefinition() |
Creates an instance of Standby |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Boolean |
failContainerGroupCreateOnReuseFailure()
Get the fail |
|
static
Standby |
fromJson(JsonReader jsonReader)
Reads an instance of Standby |
| String |
id()
Get the id property: The standby pool profile reference id. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Standby |
withFailContainerGroupCreateOnReuseFailure(Boolean failContainerGroupCreateOnReuseFailure)
Set the fail |
|
Standby |
withId(String id)
Set the id property: The standby pool profile reference id. |
Methods inherited from java.lang.Object
Constructor Details
StandbyPoolProfileDefinition
public StandbyPoolProfileDefinition()
Creates an instance of StandbyPoolProfileDefinition class.
Method Details
failContainerGroupCreateOnReuseFailure
public Boolean failContainerGroupCreateOnReuseFailure()
Get the failContainerGroupCreateOnReuseFailure property: The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool.
Returns:
fromJson
public static StandbyPoolProfileDefinition fromJson(JsonReader jsonReader)
Reads an instance of StandbyPoolProfileDefinition from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: The standby pool profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyPoolName}'.
Returns:
toJson
validate
public void validate()
Validates the instance.
withFailContainerGroupCreateOnReuseFailure
public StandbyPoolProfileDefinition withFailContainerGroupCreateOnReuseFailure(Boolean failContainerGroupCreateOnReuseFailure)
Set the failContainerGroupCreateOnReuseFailure property: The flag to determine whether ACI should fail the create request if the container group can not be obtained from standby pool.
Parameters:
Returns:
withId
public StandbyPoolProfileDefinition withId(String id)
Set the id property: The standby pool profile reference id.This will be an ARM resource id in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.StandbyPool/standbyContainerGroupPools/{standbyPoolName}'.
Parameters:
Returns: