ResourceNameAvailabilityRequest Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. ResourceNameAvailabilityRequest
- com.
Implements
public final class ResourceNameAvailabilityRequest
implements JsonSerializable<ResourceNameAvailabilityRequest>
Resource name availability request content.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourceNameAvailabilityRequest() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
environmentId()
Get the environment |
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| Boolean |
isFqdn()
Get the is |
| String |
name()
Get the name property: Resource name to verify. |
|
Json |
toJson(JsonWriter jsonWriter) |
|
Check |
type()
Get the type property: Resource type used for verification. |
| void |
validate()
Validates the instance. |
|
Resource |
withEnvironmentId(String environmentId)
Set the environment |
|
Resource |
withIsFqdn(Boolean isFqdn)
Set the is |
|
Resource |
withName(String name)
Set the name property: Resource name to verify. |
|
Resource |
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:
fromJson
public static ResourceNameAvailabilityRequest fromJson(JsonReader jsonReader)
Reads an instance of ResourceNameAvailabilityRequest from the JsonReader.
Parameters:
Returns:
Throws:
isFqdn
public Boolean isFqdn()
Get the isFqdn property: Is fully qualified domain name.
Returns:
name
public String name()
Get the name property: Resource name to verify.
Returns:
toJson
type
public CheckNameResourceTypes type()
Get the type property: Resource type used for verification.
Returns:
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:
Returns:
withIsFqdn
public ResourceNameAvailabilityRequest withIsFqdn(Boolean isFqdn)
Set the isFqdn property: Is fully qualified domain name.
Parameters:
Returns:
withName
public ResourceNameAvailabilityRequest withName(String name)
Set the name property: Resource name to verify.
Parameters:
Returns:
withType
public ResourceNameAvailabilityRequest withType(CheckNameResourceTypes type)
Set the type property: Resource type used for verification.
Parameters:
Returns: