Share via


FabricProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.devopsinfrastructure.models.FabricProfile

Implements

public class FabricProfile
implements JsonSerializable<FabricProfile>

Defines the type of fabric the agent will run on.

Constructor Summary

Constructor Description
FabricProfile()

Creates an instance of FabricProfile class.

Method Summary

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

Reads an instance of FabricProfile from the JsonReader.

String kind()

Get the kind property: Discriminator property for FabricProfile.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

FabricProfile

public FabricProfile()

Creates an instance of FabricProfile class.

Method Details

fromJson

public static FabricProfile fromJson(JsonReader jsonReader)

Reads an instance of FabricProfile from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

kind

public String kind()

Get the kind property: Discriminator property for FabricProfile.

Returns:

the kind value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to