ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy Class
- java.
lang. Object - com.
azure. resourcemanager. containerinstance. models. ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy
- com.
Implements
public final class ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy
implements JsonSerializable<ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy>
The ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy model.
Constructor Summary
| Constructor | Description |
|---|---|
| ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy() |
Creates an instance of Elastic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Elastic |
fromJson(JsonReader jsonReader)
Reads an instance of Elastic |
| String |
prefix()
Get the prefix property: The prefix can be used when there are tooling limitations (e. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Elastic |
withPrefix(String prefix)
Set the prefix property: The prefix can be used when there are tooling limitations (e. |
Methods inherited from java.lang.Object
Constructor Details
ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy
public ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy()
Creates an instance of ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy class.
Method Details
fromJson
public static ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy fromJson(JsonReader jsonReader)
Reads an instance of ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy from the JsonReader.
Parameters:
Returns:
Throws:
prefix
public String prefix()
Get the prefix property: The prefix can be used when there are tooling limitations (e.g. on the Azure portal where CGs from multiple NGroups exist in the same RG). The prefix with the suffixed resource name must still follow Azure resource naming guidelines.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPrefix
public ElasticProfileContainerGroupNamingPolicyGuidNamingPolicy withPrefix(String prefix)
Set the prefix property: The prefix can be used when there are tooling limitations (e.g. on the Azure portal where CGs from multiple NGroups exist in the same RG). The prefix with the suffixed resource name must still follow Azure resource naming guidelines.
Parameters:
Returns: