ClusterPatch Class
- java.
lang. Object - com.
azure. resourcemanager. azurestackhci. models. ClusterPatch
- com.
Implements
public final class ClusterPatch
implements JsonSerializable<ClusterPatch>
Cluster details to update.
Constructor Summary
| Constructor | Description |
|---|---|
| ClusterPatch() |
Creates an instance of Cluster |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
aadClientId()
Get the aad |
| String |
aadTenantId()
Get the aad |
| String |
cloudManagementEndpoint()
Get the cloud |
|
Cluster |
desiredProperties()
Get the desired |
|
static
Cluster |
fromJson(JsonReader jsonReader)
Reads an instance of Cluster |
| String |
principalId()
Get the principal |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
| String |
tenantId()
Get the tenant |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Managed |
type()
Get the type property: The type of managed identity assigned to this resource. |
|
Map<String,User |
userAssignedIdentities()
Get the user |
|
Cluster |
withAadClientId(String aadClientId)
Set the aad |
|
Cluster |
withAadTenantId(String aadTenantId)
Set the aad |
|
Cluster |
withCloudManagementEndpoint(String cloudManagementEndpoint)
Set the cloud |
|
Cluster |
withDesiredProperties(ClusterDesiredProperties desiredProperties)
Set the desired |
|
Cluster |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
|
Cluster |
withType(ManagedServiceIdentityType type)
Set the type property: The type of managed identity assigned to this resource. |
|
Cluster |
withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
ClusterPatch
public ClusterPatch()
Creates an instance of ClusterPatch class.
Method Details
aadClientId
public String aadClientId()
Get the aadClientId property: App id of cluster AAD identity.
Returns:
aadTenantId
public String aadTenantId()
Get the aadTenantId property: Tenant id of cluster AAD identity.
Returns:
cloudManagementEndpoint
public String cloudManagementEndpoint()
Get the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.
Returns:
desiredProperties
public ClusterDesiredProperties desiredProperties()
Get the desiredProperties property: Desired properties of the cluster.
Returns:
fromJson
public static ClusterPatch fromJson(JsonReader jsonReader)
Reads an instance of ClusterPatch from the JsonReader.
Parameters:
Returns:
Throws:
principalId
public String principalId()
Get the principalId property: The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
tenantId
public String tenantId()
Get the tenantId property: The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity.
Returns:
toJson
type
public ManagedServiceIdentityType type()
Get the type property: The type of managed identity assigned to this resource.
Returns:
userAssignedIdentities
public Map<String,UserAssignedIdentity> userAssignedIdentities()
Get the userAssignedIdentities property: The identities assigned to this resource by the user.
Returns:
withAadClientId
public ClusterPatch withAadClientId(String aadClientId)
Set the aadClientId property: App id of cluster AAD identity.
Parameters:
Returns:
withAadTenantId
public ClusterPatch withAadTenantId(String aadTenantId)
Set the aadTenantId property: Tenant id of cluster AAD identity.
Parameters:
Returns:
withCloudManagementEndpoint
public ClusterPatch withCloudManagementEndpoint(String cloudManagementEndpoint)
Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.
Parameters:
Returns:
withDesiredProperties
public ClusterPatch withDesiredProperties(ClusterDesiredProperties desiredProperties)
Set the desiredProperties property: Desired properties of the cluster.
Parameters:
Returns:
withTags
public ClusterPatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns:
withType
public ClusterPatch withType(ManagedServiceIdentityType type)
Set the type property: The type of managed identity assigned to this resource.
Parameters:
Returns:
withUserAssignedIdentities
public ClusterPatch withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)
Set the userAssignedIdentities property: The identities assigned to this resource by the user.
Parameters:
Returns: