CommandOutputSettings Class
- java.
lang. Object - com.
azure. resourcemanager. networkcloud. models. CommandOutputSettings
- com.
Implements
public final class CommandOutputSettings
implements JsonSerializable<CommandOutputSettings>
CommandOutputSettings represents the settings for commands run within the cluster such as bare metal machine run read-only commands.
Constructor Summary
| Constructor | Description |
|---|---|
| CommandOutputSettings() |
Creates an instance of Command |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Identity |
associatedIdentity()
Get the associated |
| String |
containerUrl()
Get the container |
|
static
Command |
fromJson(JsonReader jsonReader)
Reads an instance of Command |
|
List<Command |
overrides()
Get the overrides property: The list of optional overrides allowing for association of storage containers and identities to specific types of command output. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Command |
withAssociatedIdentity(IdentitySelector associatedIdentity)
Set the associated |
|
Command |
withContainerUrl(String containerUrl)
Set the container |
|
Command |
withOverrides(List<CommandOutputOverride> overrides)
Set the overrides property: The list of optional overrides allowing for association of storage containers and identities to specific types of command output. |
Methods inherited from java.lang.Object
Constructor Details
CommandOutputSettings
public CommandOutputSettings()
Creates an instance of CommandOutputSettings class.
Method Details
associatedIdentity
public IdentitySelector associatedIdentity()
Get the associatedIdentity property: The selection of the managed identity to use with this storage account container. The identity type must be either system assigned or user assigned.
Returns:
containerUrl
public String containerUrl()
Get the containerUrl property: The URL of the storage account container that is to be used by the specified identities.
Returns:
fromJson
public static CommandOutputSettings fromJson(JsonReader jsonReader)
Reads an instance of CommandOutputSettings from the JsonReader.
Parameters:
Returns:
Throws:
overrides
public List<CommandOutputOverride> overrides()
Get the overrides property: The list of optional overrides allowing for association of storage containers and identities to specific types of command output. If a type is not overridden, the default identity and storage container will be utilized.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAssociatedIdentity
public CommandOutputSettings withAssociatedIdentity(IdentitySelector associatedIdentity)
Set the associatedIdentity property: The selection of the managed identity to use with this storage account container. The identity type must be either system assigned or user assigned.
Parameters:
Returns:
withContainerUrl
public CommandOutputSettings withContainerUrl(String containerUrl)
Set the containerUrl property: The URL of the storage account container that is to be used by the specified identities.
Parameters:
Returns:
withOverrides
public CommandOutputSettings withOverrides(List<CommandOutputOverride> overrides)
Set the overrides property: The list of optional overrides allowing for association of storage containers and identities to specific types of command output. If a type is not overridden, the default identity and storage container will be utilized.
Parameters:
Returns: