com.azure.resourcemanager.delegatednetwork.models.OrchestratorIdentity Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-delegatednetwork Show documentation
Show all versions of azure-resourcemanager-delegatednetwork Show documentation
This package contains Microsoft Azure SDK for DelegatedNetwork Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. DNC web api provides way to create, get and delete dnc controller. Package tag package-2021-03-15.
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.delegatednetwork.models;
import com.azure.core.annotation.Fluent;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/** The OrchestratorIdentity model. */
@Fluent
public class OrchestratorIdentity {
@JsonIgnore private final ClientLogger logger = new ClientLogger(OrchestratorIdentity.class);
/*
* The principal id of the system assigned identity which is used by
* orchestrator.
*/
@JsonProperty(value = "principalId", access = JsonProperty.Access.WRITE_ONLY)
private String principalId;
/*
* The tenant id of the system assigned identity which is used by
* orchestrator.
*/
@JsonProperty(value = "tenantId", access = JsonProperty.Access.WRITE_ONLY)
private String tenantId;
/*
* The type of identity used for orchestrator cluster. Type
* 'SystemAssigned' will use an implicitly created identity orchestrator
* clusters
*/
@JsonProperty(value = "type")
private ResourceIdentityType type;
/**
* Get the principalId property: The principal id of the system assigned identity which is used by orchestrator.
*
* @return the principalId value.
*/
public String principalId() {
return this.principalId;
}
/**
* Get the tenantId property: The tenant id of the system assigned identity which is used by orchestrator.
*
* @return the tenantId value.
*/
public String tenantId() {
return this.tenantId;
}
/**
* Get the type property: The type of identity used for orchestrator cluster. Type 'SystemAssigned' will use an
* implicitly created identity orchestrator clusters.
*
* @return the type value.
*/
public ResourceIdentityType type() {
return this.type;
}
/**
* Set the type property: The type of identity used for orchestrator cluster. Type 'SystemAssigned' will use an
* implicitly created identity orchestrator clusters.
*
* @param type the type value to set.
* @return the OrchestratorIdentity object itself.
*/
public OrchestratorIdentity withType(ResourceIdentityType type) {
this.type = type;
return this;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy