ResourceNameAvailabilityRequest Class

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

Implements

public final class ResourceNameAvailabilityRequest
implements JsonSerializable<ResourceNameAvailabilityRequest>

Resource name availability request content.

Constructor Summary

Constructor Description
ResourceNameAvailabilityRequest()

Creates an instance of ResourceNameAvailabilityRequest class.

Method Summary

Modifier and Type Method and Description
String environmentId()

Get the environmentId property: Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app.

static ResourceNameAvailabilityRequest fromJson(JsonReader jsonReader)

Reads an instance of ResourceNameAvailabilityRequest from the JsonReader.

Boolean isFqdn()

Get the isFqdn property: Is fully qualified domain name.

String name()

Get the name property: Resource name to verify.

JsonWriter toJson(JsonWriter jsonWriter)
CheckNameResourceTypes type()

Get the type property: Resource type used for verification.

void validate()

Validates the instance.

ResourceNameAvailabilityRequest withEnvironmentId(String environmentId)

Set the environmentId property: Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app.

ResourceNameAvailabilityRequest withIsFqdn(Boolean isFqdn)

Set the isFqdn property: Is fully qualified domain name.

ResourceNameAvailabilityRequest withName(String name)

Set the name property: Resource name to verify.

ResourceNameAvailabilityRequest withType(CheckNameResourceTypes type)

Set the type property: Resource type used for verification.

Methods inherited from java.lang.Object

Constructor Details

ResourceNameAvailabilityRequest

public ResourceNameAvailabilityRequest()

Creates an instance of ResourceNameAvailabilityRequest class.

Method Details

environmentId

public String environmentId()

Get the environmentId property: Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}.

Returns:

the environmentId value.

fromJson

public static ResourceNameAvailabilityRequest fromJson(JsonReader jsonReader)

Reads an instance of ResourceNameAvailabilityRequest from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

isFqdn

public Boolean isFqdn()

Get the isFqdn property: Is fully qualified domain name.

Returns:

the isFqdn value.

name

public String name()

Get the name property: Resource name to verify.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public CheckNameResourceTypes type()

Get the type property: Resource type used for verification.

Returns:

the type value.

validate

public void validate()

Validates the instance.

withEnvironmentId

public ResourceNameAvailabilityRequest withEnvironmentId(String environmentId)

Set the environmentId property: Azure Resource Manager ID of the customer's selected Container Apps Environment on which to host the Function app. This must be of the form /subscriptions/{subscriptionId}/resourceGroups/{resourceGroup}/providers/Microsoft.App/managedEnvironments/{managedEnvironmentName}.

Parameters:

environmentId - the environmentId value to set.

Returns:

the ResourceNameAvailabilityRequest object itself.

withIsFqdn

public ResourceNameAvailabilityRequest withIsFqdn(Boolean isFqdn)

Set the isFqdn property: Is fully qualified domain name.

Parameters:

isFqdn - the isFqdn value to set.

Returns:

the ResourceNameAvailabilityRequest object itself.

withName

public ResourceNameAvailabilityRequest withName(String name)

Set the name property: Resource name to verify.

Parameters:

name - the name value to set.

Returns:

the ResourceNameAvailabilityRequest object itself.

withType

public ResourceNameAvailabilityRequest withType(CheckNameResourceTypes type)

Set the type property: Resource type used for verification.

Parameters:

type - the type value to set.

Returns:

the ResourceNameAvailabilityRequest object itself.

Applies to