AppAttachPackageProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.desktopvirtualization.models.AppAttachPackageProperties

Implements

public final class AppAttachPackageProperties
implements JsonSerializable<AppAttachPackageProperties>

Schema for App Attach Package properties.

Constructor Summary

Constructor Description
AppAttachPackageProperties()

Creates an instance of AppAttachPackageProperties class.

Method Summary

Modifier and Type Method and Description
FailHealthCheckOnStagingFailure failHealthCheckOnStagingFailure()

Get the failHealthCheckOnStagingFailure property: Parameter indicating how the health check should behave if this package fails staging.

static AppAttachPackageProperties fromJson(JsonReader jsonReader)

Reads an instance of AppAttachPackageProperties from the JsonReader.

List<String> hostPoolReferences()

Get the hostPoolReferences property: List of Hostpool resource Ids.

AppAttachPackageInfoProperties image()

Get the image property: Detailed properties for App Attach Package.

String keyVaultUrl()

Get the keyVaultUrl property: URL path to certificate name located in keyVault.

ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the App Attach Package.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

AppAttachPackageProperties withFailHealthCheckOnStagingFailure(FailHealthCheckOnStagingFailure failHealthCheckOnStagingFailure)

Set the failHealthCheckOnStagingFailure property: Parameter indicating how the health check should behave if this package fails staging.

AppAttachPackageProperties withHostPoolReferences(List<String> hostPoolReferences)

Set the hostPoolReferences property: List of Hostpool resource Ids.

AppAttachPackageProperties withImage(AppAttachPackageInfoProperties image)

Set the image property: Detailed properties for App Attach Package.

AppAttachPackageProperties withKeyVaultUrl(String keyVaultUrl)

Set the keyVaultUrl property: URL path to certificate name located in keyVault.

Methods inherited from java.lang.Object

Constructor Details

AppAttachPackageProperties

public AppAttachPackageProperties()

Creates an instance of AppAttachPackageProperties class.

Method Details

failHealthCheckOnStagingFailure

public FailHealthCheckOnStagingFailure failHealthCheckOnStagingFailure()

Get the failHealthCheckOnStagingFailure property: Parameter indicating how the health check should behave if this package fails staging.

Returns:

the failHealthCheckOnStagingFailure value.

fromJson

public static AppAttachPackageProperties fromJson(JsonReader jsonReader)

Reads an instance of AppAttachPackageProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

hostPoolReferences

public List<String> hostPoolReferences()

Get the hostPoolReferences property: List of Hostpool resource Ids.

Returns:

the hostPoolReferences value.

image

public AppAttachPackageInfoProperties image()

Get the image property: Detailed properties for App Attach Package.

Returns:

the image value.

keyVaultUrl

public String keyVaultUrl()

Get the keyVaultUrl property: URL path to certificate name located in keyVault.

Returns:

the keyVaultUrl value.

provisioningState

public ProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the App Attach Package.

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withFailHealthCheckOnStagingFailure

public AppAttachPackageProperties withFailHealthCheckOnStagingFailure(FailHealthCheckOnStagingFailure failHealthCheckOnStagingFailure)

Set the failHealthCheckOnStagingFailure property: Parameter indicating how the health check should behave if this package fails staging.

Parameters:

failHealthCheckOnStagingFailure - the failHealthCheckOnStagingFailure value to set.

Returns:

the AppAttachPackageProperties object itself.

withHostPoolReferences

public AppAttachPackageProperties withHostPoolReferences(List<String> hostPoolReferences)

Set the hostPoolReferences property: List of Hostpool resource Ids.

Parameters:

hostPoolReferences - the hostPoolReferences value to set.

Returns:

the AppAttachPackageProperties object itself.

withImage

public AppAttachPackageProperties withImage(AppAttachPackageInfoProperties image)

Set the image property: Detailed properties for App Attach Package.

Parameters:

image - the image value to set.

Returns:

the AppAttachPackageProperties object itself.

withKeyVaultUrl

public AppAttachPackageProperties withKeyVaultUrl(String keyVaultUrl)

Set the keyVaultUrl property: URL path to certificate name located in keyVault.

Parameters:

keyVaultUrl - the keyVaultUrl value to set.

Returns:

the AppAttachPackageProperties object itself.

Applies to