Set-AzSqlElasticJobStep
İş adımı Güncelleştirmeler
Syntax
Set-AzSqlElasticJobStep
[-ResourceGroupName] <String>
[-ServerName] <String>
[-AgentName] <String>
[-JobName] <String>
-Name <String>
[-OutputDatabaseObject <AzureSqlDatabaseModel>]
[-OutputCredentialName <String>]
[-OutputTableName <String>]
[-OutputSchemaName <String>]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzSqlElasticJobStep
[-ResourceGroupName] <String>
[-ServerName] <String>
[-AgentName] <String>
[-JobName] <String>
-Name <String>
[-RemoveOutput]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzSqlElasticJobStep
[-ResourceGroupName] <String>
[-ServerName] <String>
[-AgentName] <String>
[-JobName] <String>
-Name <String>
-OutputDatabaseResourceId <String>
[-OutputCredentialName <String>]
[-OutputTableName <String>]
[-OutputSchemaName <String>]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzSqlElasticJobStep
[-InputObject] <AzureSqlElasticJobStepModel>
[-OutputDatabaseObject <AzureSqlDatabaseModel>]
[-OutputCredentialName <String>]
[-OutputTableName <String>]
[-OutputSchemaName <String>]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzSqlElasticJobStep
[-InputObject] <AzureSqlElasticJobStepModel>
[-RemoveOutput]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzSqlElasticJobStep
[-InputObject] <AzureSqlElasticJobStepModel>
-OutputDatabaseResourceId <String>
[-OutputCredentialName <String>]
[-OutputTableName <String>]
[-OutputSchemaName <String>]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzSqlElasticJobStep
[-ResourceId] <String>
[-OutputDatabaseObject <AzureSqlDatabaseModel>]
[-OutputCredentialName <String>]
[-OutputTableName <String>]
[-OutputSchemaName <String>]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzSqlElasticJobStep
[-ResourceId] <String>
[-RemoveOutput]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Set-AzSqlElasticJobStep
[-ResourceId] <String>
-OutputDatabaseResourceId <String>
[-OutputCredentialName <String>]
[-OutputTableName <String>]
[-OutputSchemaName <String>]
[-TargetGroupName <String>]
[-CredentialName <String>]
[-CommandText <String>]
[-StepId <Int32>]
[-TimeoutSeconds <Int32>]
[-RetryAttempts <Int32>]
[-InitialRetryIntervalSeconds <Int32>]
[-MaximumRetryIntervalSeconds <Int32>]
[-RetryIntervalBackoffMultiplier <Double>]
[-DefaultProfile <IAzureContextContainer>]
[-WhatIf]
[-Confirm]
[<CommonParameters>]
Description
Set-AzSqlElasticJobStep cmdlet'i bir iş adımını güncelleştirir
Örnekler
Örnek 1: bir iş için iş adımının hedef grubunu Güncelleştirmeler
$jobStep = Get-AzSqlElasticJobStep -ResourceGroupName rg -ServerName elasticjobserver -AgentName agent -JobName job1 -StepName step1
$jobStep | Set-AzSqlElasticJobStep -TargetGroupName tg2
JobName StepName StepId TargetGroupName CredentialName Output ExecutionOptions CommandText
------- -------- ------ --------------- -------------- ------ ---------------- -----------
job1 step1 1 tg2 cred1 (43200,10,1,120,2) SELECT 1
Örnek 2: bir iş için iş adımının T-SQL betiğini Güncelleştirmeler
$jobStep = Get-AzSqlElasticJobStep -ResourceGroupName rg -ServerName elasticjobserver -AgentName agent -JobName job1 -StepName step1
$jobStep | Set-AzSqlElasticJobStep -CommandText "SELECT 2"
JobName StepName StepId TargetGroupName CredentialName Output ExecutionOptions CommandText
------- -------- ------ --------------- -------------- ------ ---------------- -----------
job1 step1 1 tg1 cred1 (43200,10,1,120,2) SELECT 2
bir işten iş adımı Güncelleştirmeler
Örnek 3
Set-AzSqlElasticJobStep -AgentName agent -CommandText 'SELECT 2' -JobName job1 -Name step1 -ResourceGroupName MyResourceGroup -ServerName s1
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: | False |
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 |
-InputObject
İş adımı nesnesi
Tür: | AzureSqlElasticJobStepModel |
Position: | 0 |
varsayılan değer: | None |
Gerekli: | True |
Accept pipeline input: | True |
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: | False |
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: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RemoveOutput
Çıkışın kaldırılıp kaldırılmayacağını belirten bayrak
Tür: | SwitchParameter |
Position: | Named |
varsayılan değer: | False |
Gerekli: | True |
Accept pipeline input: | False |
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 |
-ResourceId
İş adımı kaynak kimliği
Tür: | String |
Position: | 0 |
varsayılan değer: | None |
Gerekli: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-RetryAttempts
Yeniden deneme attemps
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ığı geri alma çarpanı
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 metni
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: | False |
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
Çıkışlar
Azure PowerShell
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin