public final class ResourceGroupInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
ResourceGroupInner() |
| Modifier and Type | Method and Description |
|---|---|
String |
managedBy()
Get the managedBy property: The ID of the resource that manages this resource group.
|
ResourceGroupProperties |
properties()
Get the properties property: The resource group properties.
|
void |
validate()
Validates the instance.
|
ResourceGroupInner |
withLocation(String location) |
ResourceGroupInner |
withManagedBy(String managedBy)
Set the managedBy property: The ID of the resource that manages this resource group.
|
ResourceGroupInner |
withProperties(ResourceGroupProperties properties)
Set the properties property: The resource group properties.
|
ResourceGroupInner |
withTags(Map<String,String> tags) |
public ResourceGroupProperties properties()
public ResourceGroupInner withProperties(ResourceGroupProperties properties)
properties - the properties value to set.public String managedBy()
public ResourceGroupInner withManagedBy(String managedBy)
managedBy - the managedBy value to set.public ResourceGroupInner withLocation(String location)
withLocation in class com.azure.core.management.Resourcepublic ResourceGroupInner withTags(Map<String,String> tags)
withTags in class com.azure.core.management.Resourcepublic void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.