共用方式為


DeploymentScript Constructors

Definition

Overloads

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.

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

Source:
DeploymentScript.cs

Initializes a new instance of the DeploymentScript.

public DeploymentScript (Azure.Provisioning.IConstruct scope, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.ScriptEnvironmentVariable> scriptEnvironmentVariables, string scriptContent, string name = "script", string version = "2020-10-01", Azure.Core.AzureLocation? location = default);
new Azure.Provisioning.Resources.DeploymentScript : Azure.Provisioning.IConstruct * seq<Azure.ResourceManager.Resources.Models.ScriptEnvironmentVariable> * string * string * string * Nullable<Azure.Core.AzureLocation> -> Azure.Provisioning.Resources.DeploymentScript
Public Sub New (scope As IConstruct, scriptEnvironmentVariables As IEnumerable(Of ScriptEnvironmentVariable), scriptContent As String, Optional name As String = "script", Optional version As String = "2020-10-01", Optional location As Nullable(Of AzureLocation) = Nothing)

Parameters

scope
Azure.Provisioning.IConstruct

The scope.

scriptEnvironmentVariables
IEnumerable<ScriptEnvironmentVariable>

The script environment variables.

scriptContent
String

The script content.

name
String

The resource name.

version
String

The resource version.

location
Nullable<AzureLocation>

The resource location.

Applies to

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

Source:
DeploymentScript.cs

Initializes a new instance of the DeploymentScript.

public DeploymentScript (Azure.Provisioning.IConstruct scope, string name, Azure.Provisioning.Resource database, Azure.Provisioning.Parameter databaseServerName, Azure.Provisioning.Parameter appUserPasswordSecret, Azure.Provisioning.Parameter sqlAdminPasswordSecret, string version = "2020-10-01", Azure.Core.AzureLocation? location = default);
new Azure.Provisioning.Resources.DeploymentScript : Azure.Provisioning.IConstruct * string * Azure.Provisioning.Resource * Azure.Provisioning.Parameter * Azure.Provisioning.Parameter * Azure.Provisioning.Parameter * string * Nullable<Azure.Core.AzureLocation> -> Azure.Provisioning.Resources.DeploymentScript
Public Sub New (scope As IConstruct, name As String, database As Resource, databaseServerName As Parameter, appUserPasswordSecret As Parameter, sqlAdminPasswordSecret As Parameter, Optional version As String = "2020-10-01", Optional location As Nullable(Of AzureLocation) = Nothing)

Parameters

scope
Azure.Provisioning.IConstruct

The scope.

name
String

The resource name.

database
Azure.Provisioning.Resource

The database.

databaseServerName
Azure.Provisioning.Parameter

The database server name.

appUserPasswordSecret
Azure.Provisioning.Parameter

The app user password secret.

sqlAdminPasswordSecret
Azure.Provisioning.Parameter

The sql admin password secret.

version
String

The resource version.

location
Nullable<AzureLocation>

The resource location.

Applies to