Class ApplicationGroupInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.core.management.Resource
-
- com.azure.resourcemanager.desktopvirtualization.models.ResourceModelWithAllowedPropertySet
-
- com.azure.resourcemanager.desktopvirtualization.fluent.models.ApplicationGroupInner
-
public final class ApplicationGroupInner extends ResourceModelWithAllowedPropertySet
Represents a ApplicationGroup definition.
-
-
Constructor Summary
Constructors Constructor Description ApplicationGroupInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationGroupTypeapplicationGroupType()Get the applicationGroupType property: Resource Type of ApplicationGroup.BooleancloudPcResource()Get the cloudPcResource property: Is cloud pc resource.Stringdescription()Get the description property: Description of ApplicationGroup.StringfriendlyName()Get the friendlyName property: Friendly name of ApplicationGroup.StringhostPoolArmPath()Get the hostPoolArmPath property: HostPool arm path of ApplicationGroup.MigrationRequestPropertiesmigrationRequest()Get the migrationRequest property: The registration info of HostPool.StringobjectId()Get the objectId property: ObjectId of ApplicationGroup.com.azure.core.management.SystemDatasystemData()Get the systemData property: Metadata pertaining to creation and last modification of the resource.voidvalidate()Validates the instance.ApplicationGroupInnerwithApplicationGroupType(ApplicationGroupType applicationGroupType)Set the applicationGroupType property: Resource Type of ApplicationGroup.ApplicationGroupInnerwithDescription(String description)Set the description property: Description of ApplicationGroup.ApplicationGroupInnerwithFriendlyName(String friendlyName)Set the friendlyName property: Friendly name of ApplicationGroup.ApplicationGroupInnerwithHostPoolArmPath(String hostPoolArmPath)Set the hostPoolArmPath property: HostPool arm path of ApplicationGroup.ApplicationGroupInnerwithIdentity(ResourceModelWithAllowedPropertySetIdentity identity)Set the identity property: The identity property.ApplicationGroupInnerwithKind(String kind)Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g.ApplicationGroupInnerwithLocation(String location)ApplicationGroupInnerwithManagedBy(String managedBy)Set the managedBy property: The fully qualified resource ID of the resource that manages this resource.ApplicationGroupInnerwithMigrationRequest(MigrationRequestProperties migrationRequest)Set the migrationRequest property: The registration info of HostPool.ApplicationGroupInnerwithPlan(ResourceModelWithAllowedPropertySetPlan plan)Set the plan property: The plan property.ApplicationGroupInnerwithSku(ResourceModelWithAllowedPropertySetSku sku)Set the sku property: The sku property.ApplicationGroupInnerwithTags(Map<String,String> tags)StringworkspaceArmPath()Get the workspaceArmPath property: Workspace arm path of ApplicationGroup.
-
-
-
Method Detail
-
systemData
public com.azure.core.management.SystemData systemData()
Get the systemData property: Metadata pertaining to creation and last modification of the resource.- Returns:
- the systemData value.
-
withManagedBy
public ApplicationGroupInner withManagedBy(String managedBy)
Set the managedBy property: The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.- Overrides:
withManagedByin classResourceModelWithAllowedPropertySet- Parameters:
managedBy- the managedBy value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withKind
public ApplicationGroupInner withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type; e.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.- Overrides:
withKindin classResourceModelWithAllowedPropertySet- Parameters:
kind- the kind value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withIdentity
public ApplicationGroupInner withIdentity(ResourceModelWithAllowedPropertySetIdentity identity)
Set the identity property: The identity property.- Overrides:
withIdentityin classResourceModelWithAllowedPropertySet- Parameters:
identity- the identity value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withSku
public ApplicationGroupInner withSku(ResourceModelWithAllowedPropertySetSku sku)
Set the sku property: The sku property.- Overrides:
withSkuin classResourceModelWithAllowedPropertySet- Parameters:
sku- the sku value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withPlan
public ApplicationGroupInner withPlan(ResourceModelWithAllowedPropertySetPlan plan)
Set the plan property: The plan property.- Overrides:
withPlanin classResourceModelWithAllowedPropertySet- Parameters:
plan- the plan value to set.- Returns:
- the ResourceModelWithAllowedPropertySet object itself.
-
withLocation
public ApplicationGroupInner withLocation(String location)
- Overrides:
withLocationin classResourceModelWithAllowedPropertySet
-
withTags
public ApplicationGroupInner withTags(Map<String,String> tags)
- Overrides:
withTagsin classResourceModelWithAllowedPropertySet
-
objectId
public String objectId()
Get the objectId property: ObjectId of ApplicationGroup. (internal use).- Returns:
- the objectId value.
-
description
public String description()
Get the description property: Description of ApplicationGroup.- Returns:
- the description value.
-
withDescription
public ApplicationGroupInner withDescription(String description)
Set the description property: Description of ApplicationGroup.- Parameters:
description- the description value to set.- Returns:
- the ApplicationGroupInner object itself.
-
friendlyName
public String friendlyName()
Get the friendlyName property: Friendly name of ApplicationGroup.- Returns:
- the friendlyName value.
-
withFriendlyName
public ApplicationGroupInner withFriendlyName(String friendlyName)
Set the friendlyName property: Friendly name of ApplicationGroup.- Parameters:
friendlyName- the friendlyName value to set.- Returns:
- the ApplicationGroupInner object itself.
-
hostPoolArmPath
public String hostPoolArmPath()
Get the hostPoolArmPath property: HostPool arm path of ApplicationGroup.- Returns:
- the hostPoolArmPath value.
-
withHostPoolArmPath
public ApplicationGroupInner withHostPoolArmPath(String hostPoolArmPath)
Set the hostPoolArmPath property: HostPool arm path of ApplicationGroup.- Parameters:
hostPoolArmPath- the hostPoolArmPath value to set.- Returns:
- the ApplicationGroupInner object itself.
-
workspaceArmPath
public String workspaceArmPath()
Get the workspaceArmPath property: Workspace arm path of ApplicationGroup.- Returns:
- the workspaceArmPath value.
-
applicationGroupType
public ApplicationGroupType applicationGroupType()
Get the applicationGroupType property: Resource Type of ApplicationGroup.- Returns:
- the applicationGroupType value.
-
withApplicationGroupType
public ApplicationGroupInner withApplicationGroupType(ApplicationGroupType applicationGroupType)
Set the applicationGroupType property: Resource Type of ApplicationGroup.- Parameters:
applicationGroupType- the applicationGroupType value to set.- Returns:
- the ApplicationGroupInner object itself.
-
migrationRequest
public MigrationRequestProperties migrationRequest()
Get the migrationRequest property: The registration info of HostPool.- Returns:
- the migrationRequest value.
-
withMigrationRequest
public ApplicationGroupInner withMigrationRequest(MigrationRequestProperties migrationRequest)
Set the migrationRequest property: The registration info of HostPool.- Parameters:
migrationRequest- the migrationRequest value to set.- Returns:
- the ApplicationGroupInner object itself.
-
cloudPcResource
public Boolean cloudPcResource()
Get the cloudPcResource property: Is cloud pc resource.- Returns:
- the cloudPcResource value.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classResourceModelWithAllowedPropertySet- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-