ResourceGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. resources. fluent. models. ResourceGroupInner
- com.
- com.
- com.
public final class ResourceGroupInner
extends Resource
Resource group information.
Constructor Summary
Constructor | Description |
---|---|
ResourceGroupInner() |
Creates an instance of Resource |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
String |
id()
Get the id property: Fully qualified resource Id for the resource. |
String |
managedBy()
Get the managed |
String |
name()
Get the name property: The name of the resource. |
Resource |
properties()
Get the properties property: The resource group properties. |
Json |
toJson(JsonWriter jsonWriter) |
String |
type()
Get the type property: The type of the resource. |
void |
validate()
Validates the instance. |
Resource |
withLocation(String location) |
Resource |
withManagedBy(String managedBy)
Set the managed |
Resource |
withProperties(ResourceGroupProperties properties)
Set the properties property: The resource group properties. |
Resource |
withTags(Map<String,String> tags) |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
ResourceGroupInner
public ResourceGroupInner()
Creates an instance of ResourceGroupInner class.
Method Details
fromJson
public static ResourceGroupInner fromJson(JsonReader jsonReader)
Reads an instance of ResourceGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
ResourceGroupInner.id()Returns:
managedBy
public String managedBy()
Get the managedBy property: The ID of the resource that manages this resource group.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
ResourceGroupInner.name()Returns:
properties
public ResourceGroupProperties properties()
Get the properties property: The resource group properties.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ResourceGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
ResourceGroupInner.type()Returns:
validate
public void validate()
Validates the instance.
withLocation
public ResourceGroupInner withLocation(String location)
Overrides:
ResourceGroupInner.withLocation(String location)Parameters:
withManagedBy
public ResourceGroupInner withManagedBy(String managedBy)
Set the managedBy property: The ID of the resource that manages this resource group.
Parameters:
Returns:
withProperties
public ResourceGroupInner withProperties(ResourceGroupProperties properties)
Set the properties property: The resource group properties.
Parameters:
Returns:
withTags
public ResourceGroupInner withTags(Map
Overrides:
ResourceGroupInner.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java