ClusterPatch Class

  • java.lang.Object
    • com.azure.resourcemanager.azurestackhci.models.ClusterPatch

Implements

public final class ClusterPatch
implements JsonSerializable<ClusterPatch>

Cluster details to update.

Constructor Summary

Constructor Description
ClusterPatch()

Creates an instance of ClusterPatch class.

Method Summary

Modifier and Type Method and Description
String aadClientId()

Get the aadClientId property: App id of cluster AAD identity.

String aadTenantId()

Get the aadTenantId property: Tenant id of cluster AAD identity.

String cloudManagementEndpoint()

Get the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.

ClusterDesiredProperties desiredProperties()

Get the desiredProperties property: Desired properties of the cluster.

static ClusterPatch fromJson(JsonReader jsonReader)

Reads an instance of ClusterPatch from the JsonReader.

String principalId()

Get the principalId property: The service principal ID of the system assigned identity.

Map<String,String> tags()

Get the tags property: Resource tags.

String tenantId()

Get the tenantId property: The tenant ID of the system assigned identity.

JsonWriter toJson(JsonWriter jsonWriter)
ManagedServiceIdentityType type()

Get the type property: The type of managed identity assigned to this resource.

Map<String,UserAssignedIdentity> userAssignedIdentities()

Get the userAssignedIdentities property: The identities assigned to this resource by the user.

ClusterPatch withAadClientId(String aadClientId)

Set the aadClientId property: App id of cluster AAD identity.

ClusterPatch withAadTenantId(String aadTenantId)

Set the aadTenantId property: Tenant id of cluster AAD identity.

ClusterPatch withCloudManagementEndpoint(String cloudManagementEndpoint)

Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.

ClusterPatch withDesiredProperties(ClusterDesiredProperties desiredProperties)

Set the desiredProperties property: Desired properties of the cluster.

ClusterPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

ClusterPatch withType(ManagedServiceIdentityType type)

Set the type property: The type of managed identity assigned to this resource.

ClusterPatch withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)

Set the userAssignedIdentities property: The identities assigned to this resource by 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:

the aadClientId value.

aadTenantId

public String aadTenantId()

Get the aadTenantId property: Tenant id of cluster AAD identity.

Returns:

the aadTenantId value.

cloudManagementEndpoint

public String cloudManagementEndpoint()

Get the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.

Returns:

the cloudManagementEndpoint value.

desiredProperties

public ClusterDesiredProperties desiredProperties()

Get the desiredProperties property: Desired properties of the cluster.

Returns:

the desiredProperties value.

fromJson

public static ClusterPatch fromJson(JsonReader jsonReader)

Reads an instance of ClusterPatch from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ClusterPatch if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the ClusterPatch.

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:

the principalId value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

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:

the tenantId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public ManagedServiceIdentityType type()

Get the type property: The type of managed identity assigned to this resource.

Returns:

the type value.

userAssignedIdentities

public Map<String,UserAssignedIdentity> userAssignedIdentities()

Get the userAssignedIdentities property: The identities assigned to this resource by the user.

Returns:

the userAssignedIdentities value.

withAadClientId

public ClusterPatch withAadClientId(String aadClientId)

Set the aadClientId property: App id of cluster AAD identity.

Parameters:

aadClientId - the aadClientId value to set.

Returns:

the ClusterPatch object itself.

withAadTenantId

public ClusterPatch withAadTenantId(String aadTenantId)

Set the aadTenantId property: Tenant id of cluster AAD identity.

Parameters:

aadTenantId - the aadTenantId value to set.

Returns:

the ClusterPatch object itself.

withCloudManagementEndpoint

public ClusterPatch withCloudManagementEndpoint(String cloudManagementEndpoint)

Set the cloudManagementEndpoint property: Endpoint configured for management from the Azure portal.

Parameters:

cloudManagementEndpoint - the cloudManagementEndpoint value to set.

Returns:

the ClusterPatch object itself.

withDesiredProperties

public ClusterPatch withDesiredProperties(ClusterDesiredProperties desiredProperties)

Set the desiredProperties property: Desired properties of the cluster.

Parameters:

desiredProperties - the desiredProperties value to set.

Returns:

the ClusterPatch object itself.

withTags

public ClusterPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Parameters:

tags - the tags value to set.

Returns:

the ClusterPatch object itself.

withType

public ClusterPatch withType(ManagedServiceIdentityType type)

Set the type property: The type of managed identity assigned to this resource.

Parameters:

type - the type value to set.

Returns:

the ClusterPatch object itself.

withUserAssignedIdentities

public ClusterPatch withUserAssignedIdentities(Map<String,UserAssignedIdentity> userAssignedIdentities)

Set the userAssignedIdentities property: The identities assigned to this resource by the user.

Parameters:

userAssignedIdentities - the userAssignedIdentities value to set.

Returns:

the ClusterPatch object itself.

Applies to