Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See License.txt in the project root for license information. Code generated by Microsoft (R) AutoRest Code Generator.
/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */
package com.microsoft.azure.management.msi.implementation; import java.util.UUID; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.Resource;
Describes an identity resource.
/** * Describes an identity resource. */
@JsonFlatten public class IdentityInner extends Resource {
The id of the tenant which the identity belongs to.
/** * The id of the tenant which the identity belongs to. */
@JsonProperty(value = "properties.tenantId", access = JsonProperty.Access.WRITE_ONLY) private UUID tenantId;
The id of the service principal object associated with the created identity.
/** * The id of the service principal object associated with the created * identity. */
@JsonProperty(value = "properties.principalId", access = JsonProperty.Access.WRITE_ONLY) private UUID principalId;
The id of the app associated with the identity. This is a random generated UUID by MSI.
/** * The id of the app associated with the identity. This is a random * generated UUID by MSI. */
@JsonProperty(value = "properties.clientId", access = JsonProperty.Access.WRITE_ONLY) private UUID clientId;
The ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials. If identity is user assigned, then the clientSecretUrl will not be present in the response, otherwise it will be present.
/** * The ManagedServiceIdentity DataPlane URL that can be queried to obtain * the identity credentials. If identity is user assigned, then the * clientSecretUrl will not be present in the response, otherwise it will * be present. */
@JsonProperty(value = "properties.clientSecretUrl", access = JsonProperty.Access.WRITE_ONLY) private String clientSecretUrl;
Get the id of the tenant which the identity belongs to.
Returns:the tenantId value
/** * Get the id of the tenant which the identity belongs to. * * @return the tenantId value */
public UUID tenantId() { return this.tenantId; }
Get the id of the service principal object associated with the created identity.
Returns:the principalId value
/** * Get the id of the service principal object associated with the created identity. * * @return the principalId value */
public UUID principalId() { return this.principalId; }
Get the id of the app associated with the identity. This is a random generated UUID by MSI.
Returns:the clientId value
/** * Get the id of the app associated with the identity. This is a random generated UUID by MSI. * * @return the clientId value */
public UUID clientId() { return this.clientId; }
Get the ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials. If identity is user assigned, then the clientSecretUrl will not be present in the response, otherwise it will be present.
Returns:the clientSecretUrl value
/** * Get the ManagedServiceIdentity DataPlane URL that can be queried to obtain the identity credentials. If identity is user assigned, then the clientSecretUrl will not be present in the response, otherwise it will be present. * * @return the clientSecretUrl value */
public String clientSecretUrl() { return this.clientSecretUrl; } }