Share via


DeploymentScript Class

Definition

DeploymentScript resource.

public class DeploymentScript : Azure.Provisioning.Resource<Azure.ResourceManager.Resources.Models.AzureCliScript>
type DeploymentScript = class
    inherit Resource<AzureCliScript>
Public Class DeploymentScript
Inherits Resource(Of AzureCliScript)
Inheritance

Constructors

DeploymentScript(IConstruct, IEnumerable<ScriptEnvironmentVariable>, String, String, String, Nullable<AzureLocation>)

Initializes a new instance of the DeploymentScript.

DeploymentScript(IConstruct, String, Resource, Parameter, Parameter, Parameter, String, Nullable<AzureLocation>)

Initializes a new instance of the DeploymentScript.

Properties

Id

Gets the ResourceIdentifier of the resource.

(Inherited from Resource)
IsExisting

Whether or not the resource already exists.

(Inherited from Resource)
Name

Gets the name of the resource.

(Inherited from Resource)
Parent

Gets the parent Resource.

(Inherited from Resource)
Properties

Gets the properties of the resource.

(Inherited from Resource<T>)
ResourceData

Gets the data of the resource.

(Inherited from Resource)
Scope

Gets the IConstruct scope of the resource.

(Inherited from Resource)
Version

Gets the version of the resource.

(Inherited from Resource)

Methods

AddDependency(Resource)

Adds a dependency to the resource.

(Inherited from Resource)
AddOutput(String, Expression<Func<T,Object>>, BicepType, Boolean)

Adds an output to the resource.

(Inherited from Resource<T>)
AddOutput(String, String, Expression<Func<T,Object>>, BicepType, Boolean)

Adds an output to the resource.

(Inherited from Resource<T>)
AssignProperty(Expression<Func<T,Object>>, Parameter) (Inherited from Resource<T>)
AssignProperty(Expression<Func<T,Object>>, String) (Inherited from Resource<T>)
AssignRole(RoleDefinition, Nullable<Guid>, Nullable<RoleManagementPrincipalType>)

Assigns a role to the resource.

(Inherited from Resource)
FindParentInScope(IConstruct)

Finds the parent resource in the scope.

FromExisting(IConstruct, String, ResourceGroup)

Creates a new instance of the DeploymentScript class referencing an existing instance.

GetAzureName(IConstruct, String)

Validate and sanitize the resource name.

(Inherited from Resource)
GetBicepName(Resource)

Gets the name of the resource for Bicep.

(Inherited from Resource)
GetGloballyUniqueName(String)

Gets a globally unique name for the resource.

(Inherited from Resource)
NeedsParent()

Determines whether the resource needs a parent declaration.

(Inherited from Resource)
NeedsScope()

Determines whether the resource needs a scope declaration.

(Inherited from Resource)

Explicit Interface Implementations

IPersistableModel<Resource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from Resource)
IPersistableModel<Resource>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from Resource)
IPersistableModel<Resource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from Resource)

Applies to