SecretsProvisioningSettings Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. SecretsProvisioningSettings
- com.
Implements
public final class SecretsProvisioningSettings
implements JsonSerializable<SecretsProvisioningSettings>
Describes the secrets provisioning settings for a gallery image version.
Constructor Summary
| Constructor | Description |
|---|---|
| SecretsProvisioningSettings() |
Creates an instance of Secrets |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Secrets |
components()
Get the components property: The list of component versions involved in secrets provisioning. |
|
static
Secrets |
fromJson(JsonReader jsonReader)
Reads an instance of Secrets |
| Boolean |
isSupported()
Get the is |
| String |
osName()
Get the os |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Secrets |
withComponents(List<SecretsProvisioningComponent> components)
Set the components property: The list of component versions involved in secrets provisioning. |
|
Secrets |
withIsSupported(Boolean isSupported)
Set the is |
|
Secrets |
withOsName(String osName)
Set the os |
Methods inherited from java.lang.Object
Constructor Details
SecretsProvisioningSettings
public SecretsProvisioningSettings()
Creates an instance of SecretsProvisioningSettings class.
Method Details
components
public List<SecretsProvisioningComponent> components()
Get the components property: The list of component versions involved in secrets provisioning.
Returns:
fromJson
public static SecretsProvisioningSettings fromJson(JsonReader jsonReader)
Reads an instance of SecretsProvisioningSettings from the JsonReader.
Parameters:
Returns:
Throws:
isSupported
public Boolean isSupported()
Get the isSupported property: Specifies whether the image version supports secrets provisioning.
Returns:
osName
public String osName()
Get the osName property: The name of the operating system (e.g., "mariner").
Returns:
toJson
validate
public void validate()
Validates the instance.
withComponents
public SecretsProvisioningSettings withComponents(List<SecretsProvisioningComponent> components)
Set the components property: The list of component versions involved in secrets provisioning.
Parameters:
Returns:
withIsSupported
public SecretsProvisioningSettings withIsSupported(Boolean isSupported)
Set the isSupported property: Specifies whether the image version supports secrets provisioning.
Parameters:
Returns:
withOsName
public SecretsProvisioningSettings withOsName(String osName)
Set the osName property: The name of the operating system (e.g., "mariner").
Parameters:
Returns: