PrivateCloudIdentity Class

  • java.lang.Object
    • com.azure.resourcemanager.avs.models.PrivateCloudIdentity

public final class PrivateCloudIdentity

Identity for the virtual machine.

Constructor Summary

Constructor Description
PrivateCloudIdentity()

Creates an instance of PrivateCloudIdentity class.

Method Summary

Modifier and Type Method and Description
String principalId()

Get the principalId property: The principal ID of private cloud identity.

String tenantId()

Get the tenantId property: The tenant ID associated with the private cloud.

ResourceIdentityType type()

Get the type property: The type of identity used for the private cloud.

void validate()

Validates the instance.

PrivateCloudIdentity withType(ResourceIdentityType type)

Set the type property: The type of identity used for the private cloud.

Methods inherited from java.lang.Object

Constructor Details

PrivateCloudIdentity

public PrivateCloudIdentity()

Creates an instance of PrivateCloudIdentity class.

Method Details

principalId

public String principalId()

Get the principalId property: The principal ID of private cloud identity. This property will only be provided for a system assigned identity.

Returns:

the principalId value.

tenantId

public String tenantId()

Get the tenantId property: The tenant ID associated with the private cloud. This property will only be provided for a system assigned identity.

Returns:

the tenantId value.

type

public ResourceIdentityType type()

Get the type property: The type of identity used for the private cloud. The type 'SystemAssigned' refers to an implicitly created identity. The type 'None' will remove any identities from the Private Cloud.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withType

public PrivateCloudIdentity withType(ResourceIdentityType type)

Set the type property: The type of identity used for the private cloud. The type 'SystemAssigned' refers to an implicitly created identity. The type 'None' will remove any identities from the Private Cloud.

Parameters:

type - the type value to set.

Returns:

the PrivateCloudIdentity object itself.

Applies to