NGroupInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. containerinstance. fluent. models. NGroupInner
- com.
- com.
public final class NGroupInner
extends ProxyResource
Describes the NGroups resource.
Constructor Summary
| Constructor | Description |
|---|---|
| NGroupInner() |
Creates an instance of NGroup |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Container |
containerGroupProfiles()
Get the container |
|
Elastic |
elasticProfile()
Get the elastic |
|
static
NGroup |
fromJson(JsonReader jsonReader)
Reads an instance of NGroup |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
|
NGroup |
identity()
Get the identity property: The identity of the NGroup, if configured. |
| String |
location()
Get the location property: The geo-location where the resource lives. |
| String |
name()
Get the name property: The name of the resource. |
|
Placement |
placementProfile()
Get the placement |
|
NGroup |
provisioningState()
Get the provisioning |
|
System |
systemData()
Get the system |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
|
Update |
updateProfile()
Get the update |
| void |
validate()
Validates the instance. |
|
NGroup |
withContainerGroupProfiles(List<ContainerGroupProfileStub> containerGroupProfiles)
Set the container |
|
NGroup |
withElasticProfile(ElasticProfile elasticProfile)
Set the elastic |
|
NGroup |
withIdentity(NGroupIdentity identity)
Set the identity property: The identity of the NGroup, if configured. |
|
NGroup |
withLocation(String location)
Set the location property: The geo-location where the resource lives. |
|
NGroup |
withPlacementProfile(PlacementProfile placementProfile)
Set the placement |
|
NGroup |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
NGroup |
withUpdateProfile(UpdateProfile updateProfile)
Set the update |
|
NGroup |
withZones(List<String> zones)
Set the zones property: The availability zones. |
| List<String> |
zones()
Get the zones property: The availability zones. |
Methods inherited from ProxyResource
Methods inherited from java.lang.Object
Constructor Details
NGroupInner
public NGroupInner()
Creates an instance of NGroupInner class.
Method Details
containerGroupProfiles
public List<ContainerGroupProfileStub> containerGroupProfiles()
Get the containerGroupProfiles property: The Container Group Profiles that could be used in the NGroups resource.
Returns:
elasticProfile
public ElasticProfile elasticProfile()
Get the elasticProfile property: The elastic profile.
Returns:
fromJson
public static NGroupInner fromJson(JsonReader jsonReader)
Reads an instance of NGroupInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
NGroupInner.id()Returns:
identity
public NGroupIdentity identity()
Get the identity property: The identity of the NGroup, if configured.
Returns:
location
public String location()
Get the location property: The geo-location where the resource lives.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
NGroupInner.name()Returns:
placementProfile
public PlacementProfile placementProfile()
Get the placementProfile property: Provides options w.r.t allocation and management w.r.t certain placement policies. These utilize capabilities provided by the underlying Azure infrastructure. They are typically used for high availability scenarios. E.g., distributing CGs across fault domains.
Returns:
provisioningState
public NGroupProvisioningState provisioningState()
Get the provisioningState property: The provisioning state, which only appears in the response.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
NGroupInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
NGroupInner.type()Returns:
updateProfile
public UpdateProfile updateProfile()
Get the updateProfile property: Used by the customer to specify the way to update the Container Groups in NGroup.
Returns:
validate
public void validate()
Validates the instance.
withContainerGroupProfiles
public NGroupInner withContainerGroupProfiles(List<ContainerGroupProfileStub> containerGroupProfiles)
Set the containerGroupProfiles property: The Container Group Profiles that could be used in the NGroups resource.
Parameters:
Returns:
withElasticProfile
public NGroupInner withElasticProfile(ElasticProfile elasticProfile)
Set the elasticProfile property: The elastic profile.
Parameters:
Returns:
withIdentity
public NGroupInner withIdentity(NGroupIdentity identity)
Set the identity property: The identity of the NGroup, if configured.
Parameters:
Returns:
withLocation
public NGroupInner withLocation(String location)
Set the location property: The geo-location where the resource lives.
Parameters:
Returns:
withPlacementProfile
public NGroupInner withPlacementProfile(PlacementProfile placementProfile)
Set the placementProfile property: Provides options w.r.t allocation and management w.r.t certain placement policies. These utilize capabilities provided by the underlying Azure infrastructure. They are typically used for high availability scenarios. E.g., distributing CGs across fault domains.
Parameters:
Returns:
withTags
public NGroupInner withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns:
withUpdateProfile
public NGroupInner withUpdateProfile(UpdateProfile updateProfile)
Set the updateProfile property: Used by the customer to specify the way to update the Container Groups in NGroup.
Parameters:
Returns:
withZones
public NGroupInner withZones(List<String> zones)
Set the zones property: The availability zones.
Parameters:
Returns:
zones
public List<String> zones()
Get the zones property: The availability zones.
Returns: