CommandOutputSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.networkcloud.models.CommandOutputSettings

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 CommandOutputSettings class.

Method Summary

Modifier and Type Method and Description
IdentitySelector associatedIdentity()

Get the associatedIdentity property: The selection of the managed identity to use with this storage account container.

String containerUrl()

Get the containerUrl property: The URL of the storage account container that is to be used by the specified identities.

static CommandOutputSettings fromJson(JsonReader jsonReader)

Reads an instance of CommandOutputSettings from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

CommandOutputSettings withAssociatedIdentity(IdentitySelector associatedIdentity)

Set the associatedIdentity property: The selection of the managed identity to use with this storage account container.

CommandOutputSettings withContainerUrl(String containerUrl)

Set the containerUrl property: The URL of the storage account container that is to be used by the specified identities.

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.

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:

the associatedIdentity value.

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:

the containerUrl value.

fromJson

public static CommandOutputSettings fromJson(JsonReader jsonReader)

Reads an instance of CommandOutputSettings from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of CommandOutputSettings if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the CommandOutputSettings.

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:

the overrides value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

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:

associatedIdentity - the associatedIdentity value to set.

Returns:

the CommandOutputSettings object itself.

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:

containerUrl - the containerUrl value to set.

Returns:

the CommandOutputSettings object itself.

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:

overrides - the overrides value to set.

Returns:

the CommandOutputSettings object itself.

Applies to