ScriptCmdletInner Class

public final class ScriptCmdletInner
extends ProxyResource

A cmdlet available for script execution.

Constructor Summary

Constructor Description
ScriptCmdletInner()

Creates an instance of ScriptCmdletInner class.

Method Summary

Modifier and Type Method and Description
ScriptCmdletAudience audience()

Get the audience property: Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers.

String description()

Get the description property: Description of the scripts functionality.

static ScriptCmdletInner fromJson(JsonReader jsonReader)

Reads an instance of ScriptCmdletInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String name()

Get the name property: The name of the resource.

List<ScriptParameter> parameters()

Get the parameters property: Parameters the script will accept.

ScriptCmdletProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

String timeout()

Get the timeout property: Recommended time limit for execution.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

ScriptCmdletInner

public ScriptCmdletInner()

Creates an instance of ScriptCmdletInner class.

Method Details

audience

public ScriptCmdletAudience audience()

Get the audience property: Specifies whether a script cmdlet is intended to be invoked only through automation or visible to customers.

Returns:

the audience value.

description

public String description()

Get the description property: Description of the scripts functionality.

Returns:

the description value.

fromJson

public static ScriptCmdletInner fromJson(JsonReader jsonReader)

Reads an instance of ScriptCmdletInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

ScriptCmdletInner.id()

Returns:

the id value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

ScriptCmdletInner.name()

Returns:

the name value.

parameters

public List parameters()

Get the parameters property: Parameters the script will accept.

Returns:

the parameters value.

provisioningState

public ScriptCmdletProvisioningState provisioningState()

Get the provisioningState property: The provisioning state of the resource.

Returns:

the provisioningState value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

timeout

public String timeout()

Get the timeout property: Recommended time limit for execution.

Returns:

the timeout value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

ScriptCmdletInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

ScriptCmdletInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to

Azure SDK for Java

Preview