MsixPackageInner Class

public final class MsixPackageInner
extends ProxyResource

Schema for MSIX Package properties.

Constructor Summary

Constructor Description
MsixPackageInner()

Creates an instance of MsixPackageInner class.

Method Summary

Modifier and Type Method and Description
String displayName()

Get the displayName property: User friendly Name to be displayed in the portal.

static MsixPackageInner fromJson(JsonReader jsonReader)

Reads an instance of MsixPackageInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String imagePath()

Get the imagePath property: VHD/CIM image path on Network Share.

Boolean isActive()

Get the isActive property: Make this version of the package the active one across the hostpool.

Boolean isRegularRegistration()

Get the isRegularRegistration property: Specifies how to register Package in feed.

OffsetDateTime lastUpdated()

Get the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.

String name()

Get the name property: The name of the resource.

List<MsixPackageApplications> packageApplications()

Get the packageApplications property: List of package applications.

List<MsixPackageDependencies> packageDependencies()

Get the packageDependencies property: List of package dependencies.

String packageFamilyName()

Get the packageFamilyName property: Package Family Name from appxmanifest.xml.

String packageName()

Get the packageName property: Package Name from appxmanifest.xml.

String packageRelativePath()

Get the packageRelativePath property: Relative Path to the package inside the image.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

String version()

Get the version property: Package version found in the appxmanifest.xml.

MsixPackageInner withDisplayName(String displayName)

Set the displayName property: User friendly Name to be displayed in the portal.

MsixPackageInner withImagePath(String imagePath)

Set the imagePath property: VHD/CIM image path on Network Share.

MsixPackageInner withIsActive(Boolean isActive)

Set the isActive property: Make this version of the package the active one across the hostpool.

MsixPackageInner withIsRegularRegistration(Boolean isRegularRegistration)

Set the isRegularRegistration property: Specifies how to register Package in feed.

MsixPackageInner withLastUpdated(OffsetDateTime lastUpdated)

Set the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.

MsixPackageInner withPackageApplications(List<MsixPackageApplications> packageApplications)

Set the packageApplications property: List of package applications.

MsixPackageInner withPackageDependencies(List<MsixPackageDependencies> packageDependencies)

Set the packageDependencies property: List of package dependencies.

MsixPackageInner withPackageFamilyName(String packageFamilyName)

Set the packageFamilyName property: Package Family Name from appxmanifest.xml.

MsixPackageInner withPackageName(String packageName)

Set the packageName property: Package Name from appxmanifest.xml.

MsixPackageInner withPackageRelativePath(String packageRelativePath)

Set the packageRelativePath property: Relative Path to the package inside the image.

MsixPackageInner withVersion(String version)

Set the version property: Package version found in the appxmanifest.xml.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

MsixPackageInner

public MsixPackageInner()

Creates an instance of MsixPackageInner class.

Method Details

displayName

public String displayName()

Get the displayName property: User friendly Name to be displayed in the portal.

Returns:

the displayName value.

fromJson

public static MsixPackageInner fromJson(JsonReader jsonReader)

Reads an instance of MsixPackageInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

MsixPackageInner.id()

Returns:

the id value.

imagePath

public String imagePath()

Get the imagePath property: VHD/CIM image path on Network Share.

Returns:

the imagePath value.

isActive

public Boolean isActive()

Get the isActive property: Make this version of the package the active one across the hostpool.

Returns:

the isActive value.

isRegularRegistration

public Boolean isRegularRegistration()

Get the isRegularRegistration property: Specifies how to register Package in feed.

Returns:

the isRegularRegistration value.

lastUpdated

public OffsetDateTime lastUpdated()

Get the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.

Returns:

the lastUpdated value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MsixPackageInner.name()

Returns:

the name value.

packageApplications

public List<MsixPackageApplications> packageApplications()

Get the packageApplications property: List of package applications.

Returns:

the packageApplications value.

packageDependencies

public List<MsixPackageDependencies> packageDependencies()

Get the packageDependencies property: List of package dependencies.

Returns:

the packageDependencies value.

packageFamilyName

public String packageFamilyName()

Get the packageFamilyName property: Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.

Returns:

the packageFamilyName value.

packageName

public String packageName()

Get the packageName property: Package Name from appxmanifest.xml.

Returns:

the packageName value.

packageRelativePath

public String packageRelativePath()

Get the packageRelativePath property: Relative Path to the package inside the image.

Returns:

the packageRelativePath value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MsixPackageInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MsixPackageInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

version

public String version()

Get the version property: Package version found in the appxmanifest.xml.

Returns:

the version value.

withDisplayName

public MsixPackageInner withDisplayName(String displayName)

Set the displayName property: User friendly Name to be displayed in the portal.

Parameters:

displayName - the displayName value to set.

Returns:

the MsixPackageInner object itself.

withImagePath

public MsixPackageInner withImagePath(String imagePath)

Set the imagePath property: VHD/CIM image path on Network Share.

Parameters:

imagePath - the imagePath value to set.

Returns:

the MsixPackageInner object itself.

withIsActive

public MsixPackageInner withIsActive(Boolean isActive)

Set the isActive property: Make this version of the package the active one across the hostpool.

Parameters:

isActive - the isActive value to set.

Returns:

the MsixPackageInner object itself.

withIsRegularRegistration

public MsixPackageInner withIsRegularRegistration(Boolean isRegularRegistration)

Set the isRegularRegistration property: Specifies how to register Package in feed.

Parameters:

isRegularRegistration - the isRegularRegistration value to set.

Returns:

the MsixPackageInner object itself.

withLastUpdated

public MsixPackageInner withLastUpdated(OffsetDateTime lastUpdated)

Set the lastUpdated property: Date Package was last updated, found in the appxmanifest.xml.

Parameters:

lastUpdated - the lastUpdated value to set.

Returns:

the MsixPackageInner object itself.

withPackageApplications

public MsixPackageInner withPackageApplications(List<MsixPackageApplications> packageApplications)

Set the packageApplications property: List of package applications.

Parameters:

packageApplications - the packageApplications value to set.

Returns:

the MsixPackageInner object itself.

withPackageDependencies

public MsixPackageInner withPackageDependencies(List<MsixPackageDependencies> packageDependencies)

Set the packageDependencies property: List of package dependencies.

Parameters:

packageDependencies - the packageDependencies value to set.

Returns:

the MsixPackageInner object itself.

withPackageFamilyName

public MsixPackageInner withPackageFamilyName(String packageFamilyName)

Set the packageFamilyName property: Package Family Name from appxmanifest.xml. Contains Package Name and Publisher name.

Parameters:

packageFamilyName - the packageFamilyName value to set.

Returns:

the MsixPackageInner object itself.

withPackageName

public MsixPackageInner withPackageName(String packageName)

Set the packageName property: Package Name from appxmanifest.xml.

Parameters:

packageName - the packageName value to set.

Returns:

the MsixPackageInner object itself.

withPackageRelativePath

public MsixPackageInner withPackageRelativePath(String packageRelativePath)

Set the packageRelativePath property: Relative Path to the package inside the image.

Parameters:

packageRelativePath - the packageRelativePath value to set.

Returns:

the MsixPackageInner object itself.

withVersion

public MsixPackageInner withVersion(String version)

Set the version property: Package version found in the appxmanifest.xml.

Parameters:

version - the version value to set.

Returns:

the MsixPackageInner object itself.

Applies to