PlatformProperties Class

  • java.lang.Object
    • com.microsoft.azure.management.containerregistry.PlatformProperties

public class PlatformProperties

The platform properties against which the run has to happen.

Method Summary

Modifier and Type Method and Description
Architecture architecture()

Get the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.

OS os()

Get the operating system type required for the run. Possible values include: 'Windows', 'Linux'.

Variant variant()

Get variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.

PlatformProperties withArchitecture(Architecture architecture)

Set the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.

PlatformProperties withOs(OS os)

Set the operating system type required for the run. Possible values include: 'Windows', 'Linux'.

PlatformProperties withVariant(Variant variant)

Set variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.

Method Details

architecture

public Architecture architecture()

Get the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.

Returns:

the architecture value

os

public OS os()

Get the operating system type required for the run. Possible values include: 'Windows', 'Linux'.

Returns:

the os value

variant

public Variant variant()

Get variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.

Returns:

the variant value

withArchitecture

public PlatformProperties withArchitecture(Architecture architecture)

Set the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.

Parameters:

architecture - the architecture value to set

Returns:

the PlatformProperties object itself.

withOs

public PlatformProperties withOs(OS os)

Set the operating system type required for the run. Possible values include: 'Windows', 'Linux'.

Parameters:

os - the os value to set

Returns:

the PlatformProperties object itself.

withVariant

public PlatformProperties withVariant(Variant variant)

Set variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.

Parameters:

variant - the variant value to set

Returns:

the PlatformProperties object itself.

Applies to