次の方法で共有


ResourceGroupInner Class

public final class ResourceGroupInner
extends Resource

Resource group information.

Constructor Summary

Constructor Description
ResourceGroupInner()

Creates an instance of ResourceGroupInner class.

Method Summary

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)

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

managedBy

public String managedBy()

Get the managedBy property: The ID of the resource that manages this resource group.

Returns:

the managedBy value.

properties

public ResourceGroupProperties properties()

Get the properties property: The resource group properties.

Returns:

the properties value.

validate

public void validate()

Validates the instance.

withLocation

public ResourceGroupInner withLocation(String location)

Overrides:

ResourceGroupInner.withLocation(String location)

Parameters:

location

withManagedBy

public ResourceGroupInner withManagedBy(String managedBy)

Set the managedBy property: The ID of the resource that manages this resource group.

Parameters:

managedBy - the managedBy value to set.

Returns:

the ResourceGroupInner object itself.

withProperties

public ResourceGroupInner withProperties(ResourceGroupProperties properties)

Set the properties property: The resource group properties.

Parameters:

properties - the properties value to set.

Returns:

the ResourceGroupInner object itself.

withTags

public ResourceGroupInner withTags(Map tags)

Overrides:

ResourceGroupInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to