ManagedResourceGroupConfiguration Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. ManagedResourceGroupConfiguration
- com.
Implements
public final class ManagedResourceGroupConfiguration
implements JsonSerializable<ManagedResourceGroupConfiguration>
ManagedResourceGroupConfiguration represents the configuration of the resource group managed by Azure.
Constructor Summary
| Constructor | Description |
|---|---|
| ManagedResourceGroupConfiguration() |
Creates an instance of Managed |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Managed |
fromJson(JsonReader jsonReader)
Reads an instance of Managed |
| String |
location()
Get the location property: The location of the managed resource group. |
| String |
name()
Get the name property: The name for the managed resource group. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Managed |
withLocation(String location)
Set the location property: The location of the managed resource group. |
|
Managed |
withName(String name)
Set the name property: The name for the managed resource group. |
Methods inherited from java.lang.Object
Constructor Details
ManagedResourceGroupConfiguration
public ManagedResourceGroupConfiguration()
Creates an instance of ManagedResourceGroupConfiguration class.
Method Details
fromJson
public static ManagedResourceGroupConfiguration fromJson(JsonReader jsonReader)
Reads an instance of ManagedResourceGroupConfiguration from the JsonReader.
Parameters:
Returns:
Throws:
location
public String location()
Get the location property: The location of the managed resource group. If not specified, the location of the parent resource is chosen.
Returns:
name
public String name()
Get the name property: The name for the managed resource group. If not specified, the unique name is automatically generated.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLocation
public ManagedResourceGroupConfiguration withLocation(String location)
Set the location property: The location of the managed resource group. If not specified, the location of the parent resource is chosen.
Parameters:
Returns:
withName
public ManagedResourceGroupConfiguration withName(String name)
Set the name property: The name for the managed resource group. If not specified, the unique name is automatically generated.
Parameters:
Returns: