PlatformProperties Class
- java.
lang. Object - com.
microsoft. azure. management. containerregistry. PlatformProperties
- com.
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'. |
Platform |
withArchitecture(Architecture architecture)
Set the OS architecture. Possible values include: 'amd64', 'x86', 'arm'. |
Platform |
withOs(OS os)
Set the operating system type required for the run. Possible values include: 'Windows', 'Linux'. |
Platform |
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:
os
public OS os()
Get the operating system type required for the run. Possible values include: 'Windows', 'Linux'.
Returns:
variant
public Variant variant()
Get variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.
Returns:
withArchitecture
public PlatformProperties withArchitecture(Architecture architecture)
Set the OS architecture. Possible values include: 'amd64', 'x86', 'arm'.
Parameters:
Returns:
withOs
public PlatformProperties withOs(OS os)
Set the operating system type required for the run. Possible values include: 'Windows', 'Linux'.
Parameters:
Returns:
withVariant
public PlatformProperties withVariant(Variant variant)
Set variant of the CPU. Possible values include: 'v6', 'v7', 'v8'.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for