共用方式為


ResourceGroupPatchable Class

  • java.lang.Object
    • com.microsoft.azure.management.resources.ResourceGroupPatchable

public class ResourceGroupPatchable

Resource group information.

Constructor Summary

Constructor Description
ResourceGroupPatchable()

Method Summary

Modifier and Type Method and Description
java.lang.String managedBy()

Get the ID of the resource that manages this resource group.

java.lang.String name()

Get the name of the resource group.

ResourceGroupProperties properties()

Get the resource group properties.

java.util.Map<java.lang.String,java.lang.String> tags()

Get the tags attached to the resource group.

ResourceGroupPatchable withManagedBy(String managedBy)

Set the ID of the resource that manages this resource group.

ResourceGroupPatchable withName(String name)

Set the name of the resource group.

ResourceGroupPatchable withProperties(ResourceGroupProperties properties)

Set the resource group properties.

ResourceGroupPatchable withTags(Map<String,String> tags)

Set the tags attached to the resource group.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

ResourceGroupPatchable

public ResourceGroupPatchable()

Method Details

managedBy

public String managedBy()

Get the ID of the resource that manages this resource group.

Returns:

the managedBy value

name

public String name()

Get the name of the resource group.

Returns:

the name value

properties

public ResourceGroupProperties properties()

Get the resource group properties.

Returns:

the properties value

tags

public Map tags()

Get the tags attached to the resource group.

Returns:

the tags value

withManagedBy

public ResourceGroupPatchable withManagedBy(String managedBy)

Set the ID of the resource that manages this resource group.

Parameters:

managedBy - the managedBy value to set

Returns:

the ResourceGroupPatchable object itself.

withName

public ResourceGroupPatchable withName(String name)

Set the name of the resource group.

Parameters:

name - the name value to set

Returns:

the ResourceGroupPatchable object itself.

withProperties

public ResourceGroupPatchable withProperties(ResourceGroupProperties properties)

Set the resource group properties.

Parameters:

properties - the properties value to set

Returns:

the ResourceGroupPatchable object itself.

withTags

public ResourceGroupPatchable withTags(Map tags)

Set the tags attached to the resource group.

Parameters:

tags - the tags value to set

Returns:

the ResourceGroupPatchable object itself.

Applies to