RegistrationInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. azurestack. fluent. models. RegistrationInner
- com.
- com.
- com.
public final class RegistrationInner
extends Resource
Registration information.
Constructor Summary
| Constructor | Description |
|---|---|
| RegistrationInner() |
Creates an instance of Registration |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
billingModel()
Get the billing |
| String |
cloudId()
Get the cloud |
| String |
etag()
Get the etag property: The entity tag used for optimistic concurrency when modifying the resource. |
|
static
Registration |
fromJson(JsonReader jsonReader)
Reads an instance of Registration |
| 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 object |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| void |
validate()
Validates the instance. |
|
Registration |
withBillingModel(String billingModel)
Set the billing |
|
Registration |
withCloudId(String cloudId)
Set the cloud |
|
Registration |
withEtag(String etag)
Set the etag property: The entity tag used for optimistic concurrency when modifying the resource. |
|
Registration |
withLocation(String location) |
|
Registration |
withObjectId(String objectId)
Set the object |
|
Registration |
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:
cloudId
public String cloudId()
Get the cloudId property: The identifier of the registered Azure Stack.
Returns:
etag
public String etag()
Get the etag property: The entity tag used for optimistic concurrency when modifying the resource.
Returns:
fromJson
public static RegistrationInner fromJson(JsonReader jsonReader)
Reads an instance of RegistrationInner from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
RegistrationInner.id()Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
RegistrationInner.name()Returns:
objectId
public String objectId()
Get the objectId property: The object identifier associated with the Azure Stack connecting to Azure.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RegistrationInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
RegistrationInner.type()Returns:
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:
Returns:
withCloudId
public RegistrationInner withCloudId(String cloudId)
Set the cloudId property: The identifier of the registered Azure Stack.
Parameters:
Returns:
withEtag
public RegistrationInner withEtag(String etag)
Set the etag property: The entity tag used for optimistic concurrency when modifying the resource.
Parameters:
Returns:
withLocation
public RegistrationInner withLocation(String location)
Overrides:
RegistrationInner.withLocation(String location)Parameters:
withObjectId
public RegistrationInner withObjectId(String objectId)
Set the objectId property: The object identifier associated with the Azure Stack connecting to Azure.
Parameters:
Returns:
withTags
public RegistrationInner withTags(Map<String,String> tags)
Overrides:
RegistrationInner.withTags(Map<String,String> tags)Parameters: