Aracılığıyla paylaş


Add-AzSqlElasticJobStep

İşe iş adımı ekler

Syntax

Add-AzSqlElasticJobStep
   [-ResourceGroupName] <String>
   [-ServerName] <String>
   [-AgentName] <String>
   [-JobName] <String>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -Name <String>
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AzSqlElasticJobStep
   [-ResourceGroupName] <String>
   [-ServerName] <String>
   [-AgentName] <String>
   [-JobName] <String>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -OutputDatabaseObject <AzureSqlDatabaseModel>
   [-OutputCredentialName <String>]
   -OutputTableName <String>
   -Name <String>
   [-OutputSchemaName <String>]
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AzSqlElasticJobStep
   [-ResourceGroupName] <String>
   [-ServerName] <String>
   [-AgentName] <String>
   [-JobName] <String>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -OutputDatabaseResourceId <String>
   [-OutputCredentialName <String>]
   -OutputTableName <String>
   -Name <String>
   [-OutputSchemaName <String>]
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AzSqlElasticJobStep
   [-ParentObject] <AzureSqlElasticJobModel>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -Name <String>
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AzSqlElasticJobStep
   [-ParentObject] <AzureSqlElasticJobModel>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -OutputDatabaseObject <AzureSqlDatabaseModel>
   [-OutputCredentialName <String>]
   -OutputTableName <String>
   -Name <String>
   [-OutputSchemaName <String>]
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AzSqlElasticJobStep
   [-ParentObject] <AzureSqlElasticJobModel>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -OutputDatabaseResourceId <String>
   [-OutputCredentialName <String>]
   -OutputTableName <String>
   -Name <String>
   [-OutputSchemaName <String>]
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AzSqlElasticJobStep
   [-ParentResourceId] <String>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -Name <String>
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AzSqlElasticJobStep
   [-ParentResourceId] <String>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -OutputDatabaseObject <AzureSqlDatabaseModel>
   [-OutputCredentialName <String>]
   -OutputTableName <String>
   -Name <String>
   [-OutputSchemaName <String>]
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Add-AzSqlElasticJobStep
   [-ParentResourceId] <String>
   -TargetGroupName <String>
   [-CredentialName <String>]
   -CommandText <String>
   -OutputDatabaseResourceId <String>
   [-OutputCredentialName <String>]
   -OutputTableName <String>
   -Name <String>
   [-OutputSchemaName <String>]
   [-StepId <Int32>]
   [-TimeoutSeconds <Int32>]
   [-RetryAttempts <Int32>]
   [-InitialRetryIntervalSeconds <Int32>]
   [-MaximumRetryIntervalSeconds <Int32>]
   [-RetryIntervalBackoffMultiplier <Double>]
   [-DefaultProfile <IAzureContextContainer>]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

Add-AzSqlElasticJobStep cmdlet'i bir işe iş adımı ekler

Örnekler

Örnek 1: İşe adım ekler

$job = Get-AzSqlElasticJob -ResourceGroupName rg -ServerName elasticjobserver -Name job1
$job | Add-AzSqlElasticJobStep -Name step1 -TargetGroupName tg1 -CredentialName cred1 -CommandText "SELECT 1"

JobName StepName StepId TargetGroupName CredentialName Output CommandText
------- -------- ------ --------------- -------------- ------ -----------
job1    step1    1      tg1             cred1                 SELECT 1

İşe iş adımı ekler

Parametreler

-AgentName

Aracı adı

Tür:String
Position:2
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-CommandText

Komut metni

Tür:String
Position:Named
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-Confirm

Cmdlet'i çalıştırmadan önce sizden onay ister.

Tür:SwitchParameter
Aliases:cf
Position:Named
varsayılan değer:False
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-CredentialName

Kimlik bilgisi adı

Tür:String
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-DefaultProfile

Azure ile iletişim için kullanılan kimlik bilgileri, hesap, kiracı ve abonelik.

Tür:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-InitialRetryIntervalSeconds

İlk yeniden deneme aralığı saniyeleri

Tür:Nullable<T>[Int32]
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-JobName

İş adı

Tür:String
Position:3
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-MaximumRetryIntervalSeconds

En fazla yeniden deneme aralığı saniye sayısı

Tür:Nullable<T>[Int32]
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

İş adımı adı

Tür:String
Aliases:StepName
Position:Named
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-OutputCredentialName

Çıktı kimlik bilgisi adı

Tür:String
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-OutputDatabaseObject

Çıkış veritabanı nesnesi

Tür:AzureSqlDatabaseModel
Position:Named
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-OutputDatabaseResourceId

Çıkış veritabanı kaynak kimliği

Tür:String
Position:Named
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-OutputSchemaName

Çıkış şeması adı

Tür:String
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-OutputTableName

Çıkış tablosu adı

Tür:String
Position:Named
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-ParentObject

İş nesnesi

Tür:AzureSqlElasticJobModel
Position:0
varsayılan değer:None
Gerekli:True
Accept pipeline input:True
Accept wildcard characters:False

-ParentResourceId

İş kaynağı kimliği

Tür:String
Position:0
varsayılan değer:None
Gerekli:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Kaynak grubu adı

Tür:String
Position:0
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-RetryAttempts

Yeniden deneme denemeleri

Tür:Nullable<T>[Int32]
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-RetryIntervalBackoffMultiplier

Yeniden deneme aralığı çarpanı geri

Tür:Nullable<T>[Double]
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-ServerName

Sunucu adı

Tür:String
Position:1
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-StepId

Adım kimliği

Tür:Nullable<T>[Int32]
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-TargetGroupName

Hedef grup adı

Tür:String
Position:Named
varsayılan değer:None
Gerekli:True
Accept pipeline input:False
Accept wildcard characters:False

-TimeoutSeconds

Zaman aşımı saniyeleri

Tür:Nullable<T>[Int32]
Position:Named
varsayılan değer:None
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

-WhatIf

Cmdlet çalıştırılıyorsa ne olacağını gösterir. Cmdlet çalıştırılmaz.

Tür:SwitchParameter
Aliases:wi
Position:Named
varsayılan değer:False
Gerekli:False
Accept pipeline input:False
Accept wildcard characters:False

Girişler

AzureSqlElasticJobModel

Çıkışlar

AzureSqlElasticJobStepModel