CsmOperationDescriptionProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.appservice.models.CsmOperationDescriptionProperties

Implements

public final class CsmOperationDescriptionProperties
implements JsonSerializable<CsmOperationDescriptionProperties>

Properties available for a Microsoft.Web resource provider operation.

Constructor Summary

Constructor Description
CsmOperationDescriptionProperties()

Creates an instance of CsmOperationDescriptionProperties class.

Method Summary

Modifier and Type Method and Description
static CsmOperationDescriptionProperties fromJson(JsonReader jsonReader)

Reads an instance of CsmOperationDescriptionProperties from the JsonReader.

ServiceSpecification serviceSpecification()

Get the serviceSpecification property: Resource metrics service provided by Microsoft.Insights resource provider.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CsmOperationDescriptionProperties withServiceSpecification(ServiceSpecification serviceSpecification)

Set the serviceSpecification property: Resource metrics service provided by Microsoft.Insights resource provider.

Methods inherited from java.lang.Object

Constructor Details

CsmOperationDescriptionProperties

public CsmOperationDescriptionProperties()

Creates an instance of CsmOperationDescriptionProperties class.

Method Details

fromJson

public static CsmOperationDescriptionProperties fromJson(JsonReader jsonReader)

Reads an instance of CsmOperationDescriptionProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CsmOperationDescriptionProperties 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 CsmOperationDescriptionProperties.

serviceSpecification

public ServiceSpecification serviceSpecification()

Get the serviceSpecification property: Resource metrics service provided by Microsoft.Insights resource provider.

Returns:

the serviceSpecification value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withServiceSpecification

public CsmOperationDescriptionProperties withServiceSpecification(ServiceSpecification serviceSpecification)

Set the serviceSpecification property: Resource metrics service provided by Microsoft.Insights resource provider.

Parameters:

serviceSpecification - the serviceSpecification value to set.

Returns:

the CsmOperationDescriptionProperties object itself.

Applies to