ProvisioningServiceDescriptionInner Class

public final class ProvisioningServiceDescriptionInner
extends Resource

The description of the provisioning service.

Constructor Summary

Constructor Description
ProvisioningServiceDescriptionInner()

Creates an instance of ProvisioningServiceDescriptionInner class.

Method Summary

Modifier and Type Method and Description
String etag()

Get the etag property: The Etag field is *not* required.

static ProvisioningServiceDescriptionInner fromJson(JsonReader jsonReader)

Reads an instance of ProvisioningServiceDescriptionInner from the JsonReader.

String id()

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

ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

String name()

Get the name property: The name of the resource.

IotDpsPropertiesDescription properties()

Get the properties property: Service specific properties for a provisioning service.

String resourceGroup()

Get the resourceGroup property: The resource group of the resource.

IotDpsSkuInfo sku()

Get the sku property: Sku info for a provisioning Service.

String subscriptionid()

Get the subscriptionid property: The subscription id of the resource.

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.

ProvisioningServiceDescriptionInner withEtag(String etag)

Set the etag property: The Etag field is *not* required.

ProvisioningServiceDescriptionInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

ProvisioningServiceDescriptionInner withLocation(String location)
ProvisioningServiceDescriptionInner withProperties(IotDpsPropertiesDescription properties)

Set the properties property: Service specific properties for a provisioning service.

ProvisioningServiceDescriptionInner withResourceGroup(String resourceGroup)

Set the resourceGroup property: The resource group of the resource.

ProvisioningServiceDescriptionInner withSku(IotDpsSkuInfo sku)

Set the sku property: Sku info for a provisioning Service.

ProvisioningServiceDescriptionInner withSubscriptionid(String subscriptionid)

Set the subscriptionid property: The subscription id of the resource.

ProvisioningServiceDescriptionInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

ProvisioningServiceDescriptionInner

public ProvisioningServiceDescriptionInner()

Creates an instance of ProvisioningServiceDescriptionInner class.

Method Details

etag

public String etag()

Get the etag property: The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.

Returns:

the etag value.

fromJson

public static ProvisioningServiceDescriptionInner fromJson(JsonReader jsonReader)

Reads an instance of ProvisioningServiceDescriptionInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ProvisioningServiceDescriptionInner 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:

ProvisioningServiceDescriptionInner.id()

Returns:

the id value.

identity

public ManagedServiceIdentity identity()

Get the identity property: The managed service identities assigned to this resource.

Returns:

the identity value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ProvisioningServiceDescriptionInner.name()

Returns:

the name value.

properties

public IotDpsPropertiesDescription properties()

Get the properties property: Service specific properties for a provisioning service.

Returns:

the properties value.

resourceGroup

public String resourceGroup()

Get the resourceGroup property: The resource group of the resource.

Returns:

the resourceGroup value.

sku

public IotDpsSkuInfo sku()

Get the sku property: Sku info for a provisioning Service.

Returns:

the sku value.

subscriptionid

public String subscriptionid()

Get the subscriptionid property: The subscription id of the resource.

Returns:

the subscriptionid 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:

ProvisioningServiceDescriptionInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ProvisioningServiceDescriptionInner.type()

Returns:

the type value.

withEtag

public ProvisioningServiceDescriptionInner withEtag(String etag)

Set the etag property: The Etag field is *not* required. If it is provided in the response body, it must also be provided as a header per the normal ETag convention.

Parameters:

etag - the etag value to set.

Returns:

the ProvisioningServiceDescriptionInner object itself.

withIdentity

public ProvisioningServiceDescriptionInner withIdentity(ManagedServiceIdentity identity)

Set the identity property: The managed service identities assigned to this resource.

Parameters:

identity - the identity value to set.

Returns:

the ProvisioningServiceDescriptionInner object itself.

withLocation

public ProvisioningServiceDescriptionInner withLocation(String location)

Overrides:

ProvisioningServiceDescriptionInner.withLocation(String location)

Parameters:

location

withProperties

public ProvisioningServiceDescriptionInner withProperties(IotDpsPropertiesDescription properties)

Set the properties property: Service specific properties for a provisioning service.

Parameters:

properties - the properties value to set.

Returns:

the ProvisioningServiceDescriptionInner object itself.

withResourceGroup

public ProvisioningServiceDescriptionInner withResourceGroup(String resourceGroup)

Set the resourceGroup property: The resource group of the resource.

Parameters:

resourceGroup - the resourceGroup value to set.

Returns:

the ProvisioningServiceDescriptionInner object itself.

withSku

public ProvisioningServiceDescriptionInner withSku(IotDpsSkuInfo sku)

Set the sku property: Sku info for a provisioning Service.

Parameters:

sku - the sku value to set.

Returns:

the ProvisioningServiceDescriptionInner object itself.

withSubscriptionid

public ProvisioningServiceDescriptionInner withSubscriptionid(String subscriptionid)

Set the subscriptionid property: The subscription id of the resource.

Parameters:

subscriptionid - the subscriptionid value to set.

Returns:

the ProvisioningServiceDescriptionInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to