public class ResourceGroup extends Object
| Constructor and Description |
|---|
ResourceGroup()
Initializes a new instance of the ResourceGroup class.
|
ResourceGroup(String location)
Initializes a new instance of the ResourceGroup class with required
arguments.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLocation()
Required.
|
String |
getProperties()
Optional.
|
String |
getProvisioningState()
Optional.
|
HashMap<String,String> |
getTags()
Optional.
|
void |
setLocation(String locationValue)
Required.
|
void |
setProperties(String propertiesValue)
Optional.
|
void |
setProvisioningState(String provisioningStateValue)
Optional.
|
void |
setTags(HashMap<String,String> tagsValue)
Optional.
|
public ResourceGroup()
public ResourceGroup(String location)
location - Gets or sets the location of the resource group. It
cannot be changed after the resource group has been created. Has to be
one of the supported Azure Locations, such as West US, East US, West
Europe, East Asia, etc.public String getLocation()
public void setLocation(String locationValue)
locationValue - The Location value.public String getProperties()
public void setProperties(String propertiesValue)
propertiesValue - The Properties value.public String getProvisioningState()
public void setProvisioningState(String provisioningStateValue)
provisioningStateValue - The ProvisioningState value.public HashMap<String,String> getTags()
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/