ClusterPatch Class

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

Implements

public final class ClusterPatch
implements JsonSerializable<ClusterPatch>

The top level Log Analytics cluster resource container.

Constructor Summary

Constructor Description
ClusterPatch()

Creates an instance of ClusterPatch class.

Method Summary

Modifier and Type Method and Description
BillingType billingType()

Get the billingType property: The cluster's billing type.

static ClusterPatch fromJson(JsonReader jsonReader)

Reads an instance of ClusterPatch from the JsonReader.

ManagedServiceIdentity identity()

Get the identity property: Resource's identity.

KeyVaultProperties keyVaultProperties()

Get the keyVaultProperties property: The associated key properties.

ClusterSku sku()

Get the sku property: The sku properties.

Map<String,String> tags()

Get the tags property: Resource tags.

JsonWriter toJson(JsonWriter jsonWriter)
ClusterPatch withBillingType(BillingType billingType)

Set the billingType property: The cluster's billing type.

ClusterPatch withIdentity(ManagedServiceIdentity identity)

Set the identity property: Resource's identity.

ClusterPatch withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set the keyVaultProperties property: The associated key properties.

ClusterPatch withSku(ClusterSku sku)

Set the sku property: The sku properties.

ClusterPatch withTags(Map<String,String> tags)

Set the tags property: Resource tags.

Methods inherited from java.lang.Object

Constructor Details

ClusterPatch

public ClusterPatch()

Creates an instance of ClusterPatch class.

Method Details

billingType

public BillingType billingType()

Get the billingType property: The cluster's billing type.

Returns:

the billingType 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.

identity

public ManagedServiceIdentity identity()

Get the identity property: Resource's identity.

Returns:

the identity value.

keyVaultProperties

public KeyVaultProperties keyVaultProperties()

Get the keyVaultProperties property: The associated key properties.

Returns:

the keyVaultProperties value.

sku

public ClusterSku sku()

Get the sku property: The sku properties.

Returns:

the sku value.

tags

public Map<String,String> tags()

Get the tags property: Resource tags.

Returns:

the tags value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

withBillingType

public ClusterPatch withBillingType(BillingType billingType)

Set the billingType property: The cluster's billing type.

Parameters:

billingType - the billingType value to set.

Returns:

the ClusterPatch object itself.

withIdentity

public ClusterPatch withIdentity(ManagedServiceIdentity identity)

Set the identity property: Resource's identity.

Parameters:

identity - the identity value to set.

Returns:

the ClusterPatch object itself.

withKeyVaultProperties

public ClusterPatch withKeyVaultProperties(KeyVaultProperties keyVaultProperties)

Set the keyVaultProperties property: The associated key properties.

Parameters:

keyVaultProperties - the keyVaultProperties value to set.

Returns:

the ClusterPatch object itself.

withSku

public ClusterPatch withSku(ClusterSku sku)

Set the sku property: The sku properties.

Parameters:

sku - the sku 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.

Applies to