Class PartialOnlineDeploymentPartialTrackedResource
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.PartialOnlineDeploymentPartialTrackedResource
-
public final class PartialOnlineDeploymentPartialTrackedResource extends Object
Strictly used in update requests.
-
-
Constructor Summary
Constructors Constructor Description PartialOnlineDeploymentPartialTrackedResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartialManagedServiceIdentity
identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities).String
kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.String
location()
Get the location property: The geo-location where the resource lives.PartialOnlineDeployment
properties()
Get the properties property: Additional attributes of the entity.PartialSku
sku()
Get the sku property: Sku details required for ARM contract for Autoscaling.Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.PartialOnlineDeploymentPartialTrackedResource
withIdentity(PartialManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities).PartialOnlineDeploymentPartialTrackedResource
withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.PartialOnlineDeploymentPartialTrackedResource
withLocation(String location)
Set the location property: The geo-location where the resource lives.PartialOnlineDeploymentPartialTrackedResource
withProperties(PartialOnlineDeployment properties)
Set the properties property: Additional attributes of the entity.PartialOnlineDeploymentPartialTrackedResource
withSku(PartialSku sku)
Set the sku property: Sku details required for ARM contract for Autoscaling.PartialOnlineDeploymentPartialTrackedResource
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
identity
public PartialManagedServiceIdentity identity()
Get the identity property: Managed service identity (system assigned and/or user assigned identities).- Returns:
- the identity value.
-
withIdentity
public PartialOnlineDeploymentPartialTrackedResource withIdentity(PartialManagedServiceIdentity identity)
Set the identity property: Managed service identity (system assigned and/or user assigned identities).- Parameters:
identity
- the identity value to set.- Returns:
- the PartialOnlineDeploymentPartialTrackedResource object itself.
-
kind
public String kind()
Get the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.- Returns:
- the kind value.
-
withKind
public PartialOnlineDeploymentPartialTrackedResource withKind(String kind)
Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.- Parameters:
kind
- the kind value to set.- Returns:
- the PartialOnlineDeploymentPartialTrackedResource object itself.
-
location
public String location()
Get the location property: The geo-location where the resource lives.- Returns:
- the location value.
-
withLocation
public PartialOnlineDeploymentPartialTrackedResource withLocation(String location)
Set the location property: The geo-location where the resource lives.- Parameters:
location
- the location value to set.- Returns:
- the PartialOnlineDeploymentPartialTrackedResource object itself.
-
properties
public PartialOnlineDeployment properties()
Get the properties property: Additional attributes of the entity.- Returns:
- the properties value.
-
withProperties
public PartialOnlineDeploymentPartialTrackedResource withProperties(PartialOnlineDeployment properties)
Set the properties property: Additional attributes of the entity.- Parameters:
properties
- the properties value to set.- Returns:
- the PartialOnlineDeploymentPartialTrackedResource object itself.
-
sku
public PartialSku sku()
Get the sku property: Sku details required for ARM contract for Autoscaling.- Returns:
- the sku value.
-
withSku
public PartialOnlineDeploymentPartialTrackedResource withSku(PartialSku sku)
Set the sku property: Sku details required for ARM contract for Autoscaling.- Parameters:
sku
- the sku value to set.- Returns:
- the PartialOnlineDeploymentPartialTrackedResource object itself.
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public PartialOnlineDeploymentPartialTrackedResource withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the PartialOnlineDeploymentPartialTrackedResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-