BatchDeploymentInner Class

public final class BatchDeploymentInner
extends Resource

The BatchDeployment model.

Constructor Summary

Constructor Description
BatchDeploymentInner()

Creates an instance of BatchDeploymentInner class.

Method Summary

Modifier and Type Method and Description
static BatchDeploymentInner fromJson(JsonReader jsonReader)

Reads an instance of BatchDeploymentInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

ManagedServiceIdentity 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 name()

Get the name property: The name of the resource.

BatchDeploymentProperties properties()

Get the properties property: [Required] Additional attributes of the entity.

Sku sku()

Get the sku property: Sku details required for ARM contract for Autoscaling.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

BatchDeploymentInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

BatchDeploymentInner withKind(String kind)

Set the kind property: Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type.

BatchDeploymentInner withLocation(String location)
BatchDeploymentInner withProperties(BatchDeploymentProperties properties)

Set the properties property: [Required] Additional attributes of the entity.

BatchDeploymentInner withSku(Sku sku)

Set the sku property: Sku details required for ARM contract for Autoscaling.

BatchDeploymentInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

BatchDeploymentInner

public BatchDeploymentInner()

Creates an instance of BatchDeploymentInner class.

Method Details

fromJson

public static BatchDeploymentInner fromJson(JsonReader jsonReader)

Reads an instance of BatchDeploymentInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of BatchDeploymentInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

BatchDeploymentInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: Managed service identity (system assigned and/or user assigned identities).

Returns:

the identity value.

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.

name

public String name()

Get the name property: The name of the resource.

Overrides:

BatchDeploymentInner.name()

Returns:

the name value.

properties

public BatchDeploymentProperties properties()

Get the properties property: [Required] Additional attributes of the entity.

Returns:

the properties value.

sku

public Sku sku()

Get the sku property: Sku details required for ARM contract for Autoscaling.

Returns:

the sku value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

BatchDeploymentInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

BatchDeploymentInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withIdentity

public BatchDeploymentInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: Managed service identity (system assigned and/or user assigned identities).

Parameters:

identity - the identity value to set.

Returns:

the BatchDeploymentInner object itself.

withKind

public BatchDeploymentInner 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 BatchDeploymentInner object itself.

withLocation

public BatchDeploymentInner withLocation(String location)

Overrides:

BatchDeploymentInner.withLocation(String location)

Parameters:

location

withProperties

public BatchDeploymentInner withProperties(BatchDeploymentProperties properties)

Set the properties property: [Required] Additional attributes of the entity.

Parameters:

properties - the properties value to set.

Returns:

the BatchDeploymentInner object itself.

withSku

public BatchDeploymentInner withSku(Sku sku)

Set the sku property: Sku details required for ARM contract for Autoscaling.

Parameters:

sku - the sku value to set.

Returns:

the BatchDeploymentInner object itself.

withTags

public BatchDeploymentInner withTags(Map<String,String> tags)

Overrides:

BatchDeploymentInner.withTags(Map<String,String> tags)

Parameters:

tags

Applies to