次の方法で共有


RegistrationInner Class

public final class RegistrationInner
extends Resource

Registration information.

Constructor Summary

Constructor Description
RegistrationInner()

Creates an instance of RegistrationInner class.

Method Summary

Modifier and Type Method and Description
String billingModel()

Get the billingModel property: Specifies the billing mode for the Azure Stack registration.

String cloudId()

Get the cloudId property: The identifier of the registered Azure Stack.

String etag()

Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.

static RegistrationInner fromJson(JsonReader jsonReader)

Reads an instance of RegistrationInner from the JsonReader.

String id()

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

String name()

Get the name property: The name of the resource.

String objectId()

Get the objectId property: The object identifier associated with the Azure Stack connecting to Azure.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

RegistrationInner withBillingModel(String billingModel)

Set the billingModel property: Specifies the billing mode for the Azure Stack registration.

RegistrationInner withCloudId(String cloudId)

Set the cloudId property: The identifier of the registered Azure Stack.

RegistrationInner withEtag(String etag)

Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.

RegistrationInner withLocation(String location)
RegistrationInner withObjectId(String objectId)

Set the objectId property: The object identifier associated with the Azure Stack connecting to Azure.

RegistrationInner withTags(Map<String,String> tags)

Methods inherited from ProxyResource

Methods inherited from Resource

Methods inherited from java.lang.Object

Constructor Details

RegistrationInner

public RegistrationInner()

Creates an instance of RegistrationInner class.

Method Details

billingModel

public String billingModel()

Get the billingModel property: Specifies the billing mode for the Azure Stack registration.

Returns:

the billingModel value.

cloudId

public String cloudId()

Get the cloudId property: The identifier of the registered Azure Stack.

Returns:

the cloudId value.

etag

public String etag()

Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.

Returns:

the etag value.

fromJson

public static RegistrationInner fromJson(JsonReader jsonReader)

Reads an instance of RegistrationInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

RegistrationInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

RegistrationInner.name()

Returns:

the name value.

objectId

public String objectId()

Get the objectId property: The object identifier associated with the Azure Stack connecting to Azure.

Returns:

the objectId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

RegistrationInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

RegistrationInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

withBillingModel

public RegistrationInner withBillingModel(String billingModel)

Set the billingModel property: Specifies the billing mode for the Azure Stack registration.

Parameters:

billingModel - the billingModel value to set.

Returns:

the RegistrationInner object itself.

withCloudId

public RegistrationInner withCloudId(String cloudId)

Set the cloudId property: The identifier of the registered Azure Stack.

Parameters:

cloudId - the cloudId value to set.

Returns:

the RegistrationInner object itself.

withEtag

public RegistrationInner withEtag(String etag)

Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.

Parameters:

etag - the etag value to set.

Returns:

the RegistrationInner object itself.

withLocation

public RegistrationInner withLocation(String location)

Overrides:

RegistrationInner.withLocation(String location)

Parameters:

location

withObjectId

public RegistrationInner withObjectId(String objectId)

Set the objectId property: The object identifier associated with the Azure Stack connecting to Azure.

Parameters:

objectId - the objectId value to set.

Returns:

the RegistrationInner object itself.

withTags

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

Overrides:

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

Parameters:

tags

Applies to