Class ResourceGroupPatchable
java.lang.Object
com.azure.resourcemanager.resources.models.ResourceGroupPatchable
Resource group information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the managedBy property: The ID of the resource that manages this resource group.name()Get the name property: The name of the resource group.Get the properties property: The resource group properties.tags()Get the tags property: The tags attached to the resource group.voidvalidate()Validates the instance.withManagedBy(String managedBy) Set the managedBy property: The ID of the resource that manages this resource group.Set the name property: The name of the resource group.withProperties(ResourceGroupProperties properties) Set the properties property: The resource group properties.Set the tags property: The tags attached to the resource group.
-
Constructor Details
-
ResourceGroupPatchable
public ResourceGroupPatchable()
-
-
Method Details
-
name
Get the name property: The name of the resource group.- Returns:
- the name value.
-
withName
Set the name property: The name of the resource group.- Parameters:
name- the name value to set.- Returns:
- the ResourceGroupPatchable object itself.
-
properties
Get the properties property: The resource group properties.- Returns:
- the properties value.
-
withProperties
Set the properties property: The resource group properties.- Parameters:
properties- the properties value to set.- Returns:
- the ResourceGroupPatchable object itself.
-
managedBy
Get the managedBy property: The ID of the resource that manages this resource group.- Returns:
- the managedBy value.
-
withManagedBy
Set the managedBy property: The ID of the resource that manages this resource group.- Parameters:
managedBy- the managedBy value to set.- Returns:
- the ResourceGroupPatchable object itself.
-
tags
Get the tags property: The tags attached to the resource group.- Returns:
- the tags value.
-
withTags
Set the tags property: The tags attached to the resource group.- Parameters:
tags- the tags value to set.- Returns:
- the ResourceGroupPatchable object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-