New-AzDataBoxJob
指定したパラメーターを使用して新しいジョブを作成します。 この API では既存のジョブを更新できないため、代わりに Update ジョブ API で更新する必要があります。
構文
New-AzDataBoxJob
-Name <String>
-ResourceGroupName <String>
-Location <String>
-SkuName <SkuName>
-TransferType <TransferType>
[-SubscriptionId <String>]
[-DeliveryInfoScheduledDateTime <DateTime>]
[-DeliveryType <JobDeliveryType>]
[-Detail <IJobDetails>]
[-IdentityType <String>]
[-SkuDisplayName <String>]
[-SkuFamily <String>]
[-Tag <Hashtable>]
[-UserAssignedIdentity <Hashtable>]
[-DefaultProfile <PSObject>]
[-AsJob]
[-NoWait]
[-Confirm]
[-WhatIf]
[<CommonParameters>]
説明
指定したパラメーターを使用して新しいジョブを作成します。 この API では既存のジョブを更新できないため、代わりに Update ジョブ API で更新する必要があります。
例
例 1: データ ボックスインポートジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
$details = New-AzDataBoxJobDetailsObject -Type "DataBox" -DataImportDetail @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails
$DebugPreference = "Continue"
# You can use `$DebugPreference = "Continue"`, with any example/usecase to get exact details of error in below format when creation command fails.
# {
# "Error": {
# "Code": "StaticValidationGenericCountryCodeHasInvalidLength",
# "Message": "The attribute country code does not meet length constraints.\r\nEnter a value with 2 characters for country code.",
# "Details": [
# null
# ],
# "Target": null
# }
# }
$resource = New-AzDataBoxJob -Name "ImportTest" -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName" -TransferType "ImportToAzure" -Detail $details -Location "WestUS" -SkuName "DataBox"
$resource
$resource.Detail
$resource.Detail.ShippingAddress
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
ImportTest WestUS DeviceOrdered ImportToAzure DataBox None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataBoxJobDetails
Action :
ChainOfCustodySasKey :
ContactDetail : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.ContactDetails
CopyLogDetail :
CopyProgress :
DataExportDetail :
DataImportDetail : {Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataImportDetails}
DeliveryPackage : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.PackageShippingDetails
DevicePassword :
ExpectedDataSizeInTeraByte : 0
JobStage :
KeyEncryptionKey : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.KeyEncryptionKey
LastMitigationActionOnJob : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.LastMitigationActionOnJob
Preference : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.Preferences
ReturnPackage : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.PackageShippingDetails
ReverseShipmentLabelSasKey :
ShippingAddress : Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.ShippingAddress
Type : DataBox
AddressType City CompanyName Country PostalCode StateOrProvince StreetAddress1 StreetAddress2 StreetAddress3 ZipExtendedCode
----------- ---- ----------- ------- ---------- --------------- -------------- -------------- -------------- ---------------
Commercial San Francisco US 94107 CA 101 TOWNSEND ST
詳細と配送先住所の展開方法と同様の方法で、他のオブジェクトを展開および視覚化できます。
例 2: データ ボックスのエクスポート ジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
$transferConfigurationType = New-AzDataBoxTransferConfigurationObject -Type "TransferAll" -TransferAllDetail @{"IncludeDataAccountType"="StorageAccount";"IncludeTransferAllBlob"= "True"; "IncludeTransferAllFile"="True"}
$details = New-AzDataBoxJobDetailsObject -Type "DataBox" -DataExportDetail @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"; "TransferConfiguration"= $transferConfigurationType} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails
$resource = New-AzDataBoxJob -Name "ExportTest" -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName" -TransferType "ExportFromAzure" -Detail $details -Location "WestUS" -SkuName "DataBox"
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
ExportTest WestUS DeviceOrdered ExportFromAzure DataBox None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataBoxJobDetails
データ ボックスのエクスポート ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
例 3: マネージド ディスク アカウントを使用してデータ ボックスのインポート ジョブを作成する
$managedDiskAccount=New-AzDataBoxManagedDiskDetailsObject -ResourceGroupId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName" -StagingStorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/stagingAccountName" -DataAccountType "ManagedDisk"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
$details = New-AzDataBoxJobDetailsObject -Type "DataBox" -DataImportDetail @(@{AccountDetail=$managedDiskAccount; AccountDetailDataAccountType = "ManagedDisk"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails
New-AzDataBoxJob -Name "PwshManagedDisk" -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName" -TransferType "ImportToAzure" -Detail $details -Location "WestUS" -SkuName "DataBox"
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
PwshManagedDisk WestUS DeviceOrdered ImportToAzure DataBox None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataBoxJobDetails
マネージド ディスク アカウントを使用して、データ ボックスのインポート ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
例 4: ユーザー割り当て ID を使用してデータ ボックスインポートジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
$keyEncryptionDetails = New-AzDataBoxKeyEncryptionKeyObject -KekType "CustomerManaged" -IdentityProperty @{Type = "UserAssigned"; UserAssignedResourceId = "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName"} -KekUrl "keyIdentifier" -KekVaultResourceId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.KeyVault/vaults/keyVaultName"
$details = New-AzDataBoxJobDetailsObject -Type "DataBox" -DataImportDetail @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -KeyEncryptionKey $keyEncryptionDetails
New-AzDataBoxJob -Name "PowershellMSI" -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName" -TransferType "ImportToAzure" -Detail $details -Location "WestUS" -SkuName "DataBox" -IdentityType "UserAssigned" -UserAssignedIdentity @{"/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identityName" = @{}}
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
PowershellMSI WestUS DeviceOrdered ImportToAzure DataBox UserAssigned NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataBoxJobDetails
ユーザー割り当て ID を持つデータ ボックス インポート ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
例 5: 独自のキーを使用してデータ ボックス ジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
$details = New-AzDataBoxJobDetailsObject -Type "DataBox" -DataImportDetail @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -DevicePassword "randmPass@12345"
$resource = New-AzDataBoxJob -Name "PowershellBYOK" -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName" -TransferType "ImportToAzure" -Detail $details -Location "WestUS" -SkuName "DataBox"
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
PowershellBYOK WestUS DeviceOrdered ImportToAzure DataBox None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataBoxJobDetails
独自のキーを使用してデータ ボックス ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
例 6: 独自のキーを使用して databoxHeavy ジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
$details = New-AzDataBoxHeavyJobDetailsObject -Type "DataBoxHeavy" -DataImportDetail @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -DevicePassword "randm@423jarABC" -ExpectedDataSizeInTeraByte 10
$resource = New-AzDataBoxJob -Name "DbxHeavy" -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName" -TransferType "ImportToAzure" -Detail $details -Location "WestUS" -SkuName "DataBoxHeavy"
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
DbxHeavy WestUS DeviceOrdered ImportToAzure DataBoxHeavy None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataBoxHeavyJobDetails
独自のキーを使用して databoxHeavy ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
例 7: 独自の Passkey を使用して databoxDisk ジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
$details = New-AzDataBoxDiskJobDetailsObject -Type "DataBoxDisk" -DataImportDetail @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -Passkey "randm@423jarABC" -PreferredDisk @{"8" = 8; "4" = 2} -ExpectedDataSizeInTeraByte 18
New-AzDataBoxJob -Name "pwshDisk" -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName" -TransferType "ImportToAzure" -Detail $details -Location "WestUS" -SkuName "DataBoxDisk"
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
pwshDisk WestUS DeviceOrdered ImportToAzure DataBoxDisk None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataBoxDiskJobDetails
独自の Passkey を使用して databoxDisky ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
例 8: 二重暗号化を有効にしてデータ ボックス ジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/SubscriptionId/resourceGroups/resourceGroupName/providers/Microsoft.Storage/storageAccounts/storageAccountName"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "random" -EmailList @("emailId") -Phone "1234567891"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "101 TOWNSEND ST" -StateOrProvince "CA" -Country "US" -City "San Francisco" -PostalCode "94107" -AddressType "Commercial"
$details = New-AzDataBoxJobDetailsObject -Type "DataBox" -DataImportDetail @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -Preference @{EncryptionPreferenceDoubleEncryption="Enabled"}
New-AzDataBoxJob -Name "pwshDoubEncy" -SubscriptionId "SubscriptionId" -ResourceGroupName "resourceGroupName" -TransferType "ImportToAzure" -Detail $details -Location "WestUS" -SkuName "DataBox"
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
pwshDoubEncy WestUS DeviceOrdered ImportToAzure DataBox None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20210301.DataBoxDiskJobDetails
二重暗号化が有効なデータ ボックス ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
例 9: Data Box Customer Disk インポート ジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroup/providers/Microsoft.Storage/storageAccounts/YourStorageAccount"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "XXXX XXXX" -EmailList @("emailId") -Phone "0000000000"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "XXXX XXXX" -StateOrProvince "XX" -Country "XX" -City "XXXX XXXX" -PostalCode "00000" -AddressType "Commercial"
$importDiskDetailsCollection = @{"XXXXXX"= @{ManifestFile = "xyz.txt"; ManifestHash = "xxxx"; BitLockerKey = "xxx"}}
$customerDiskDetails = New-AzDataBoxCustomerDiskJobDetailsObject -Type "DataBoxCustomerDisk" -DataImportDetail @(@{AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"} ) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -ImportDiskDetailsCollection $importDiskDetailsCollection -ReturnToCustomerPackageDetailCarrierAccountNumber "00000"
New-AzDataBoxJob -Name "testJobName1" -SubscriptionId "YourSubscriptionId" -ResourceGroupName "YourResourceGroup" -TransferType "ImportToAzure" -Detail $customerDiskDetails -Location "westus" -SkuName "DataBoxCustomerDisk"
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
testJobName1 westus AwaitingShipmentDetails ImportToAzure DataBoxCustomerDisk None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.DataBoxCustomerDiskJobDetails
Azure にデータをインポートするデータ ボックス顧客ディスク ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
例 10: Data Box Customer Disk エクスポート ジョブを作成する
$dataAccount = New-AzDataBoxStorageAccountDetailsObject -DataAccountType "StorageAccount" -StorageAccountId "/subscriptions/YourSubscriptionId/resourceGroups/YourResourceGroup/providers/Microsoft.Storage/storageAccounts/YourStorageAccount"
$contactDetail = New-AzDataBoxContactDetailsObject -ContactName "XXXX XXXX" -EmailList @("emailId") -Phone "0000000000"
$ShippingDetails = New-AzDataBoxShippingAddressObject -StreetAddress1 "XXXX XXXX" -StateOrProvince "XX" -Country "XX" -City "XXXX XXXX" -PostalCode "00000" -AddressType "Commercial"
$transferConfiguration = New-AzDataBoxTransferConfigurationObject -Type "TransferAll" -TransferAllDetail @{"IncludeDataAccountType"="StorageAccount";"IncludeTransferAllBlob"= "True"; "IncludeTransferAllFile"="False"}
$customerDiskDetails = New-AzDataBoxCustomerDiskJobDetailsObject -Type "DataBoxCustomerDisk" -DataExportDetail @(@{ AccountDetail=$dataAccount; AccountDetailDataAccountType = "StorageAccount"; "TransferConfiguration"=$transferConfiguration }) -ContactDetail $contactDetail -ShippingAddress $ShippingDetails -ReturnToCustomerPackageDetailCarrierAccountNumber "00000"
New-AzDataBoxJob -Name "testJobName2" -SubscriptionId "YourSubscriptionId" -ResourceGroupName "YourResourceGroup" -TransferType "ExportFromAzure" -Detail $customerDiskDetails -Location "westus" -SkuName "DataBoxCustomerDisk"
Name Location Status TransferType SkuName IdentityType DeliveryType Detail
---- -------- ------ ------------ ------- ------------ ------------ ------
testJobName2 westus AwaitingShipmentDetails ExportFromAzure DataBoxCustomerDisk None NonScheduled Microsoft.Azure.PowerShell.Cmdlets.DataBox.Models.Api20221201.DataBoxCustomerDiskJobDetails
Azure からデータをエクスポートするデータ ボックス顧客ディスク ジョブを作成します。 例 1 に示すように、$DebugPreference = "Continue" で再実行メンション失敗した場合
パラメーター
-AsJob
コマンドをジョブとして実行する
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Confirm
コマンドレットの実行前に確認を求めるメッセージが表示されます。
Type: | SwitchParameter |
Aliases: | cf |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DefaultProfile
DefaultProfile パラメーターは機能しません。 別のサブスクリプションに対してコマンドレットを実行する場合は、使用可能な場合は SubscriptionId パラメーターを使用します。
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeliveryInfoScheduledDateTime
スケジュールされた日時。
Type: | DateTime |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-DeliveryType
ジョブの配信の種類。
Type: | JobDeliveryType |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Detail
ジョブ実行の詳細。 このフィールドは、展開の詳細フィルターにのみ送信されます。 構築するには、DETAIL プロパティの NOTES セクションを参照し、ハッシュ テーブルを作成します。
Type: | IJobDetails |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IdentityType
ID の種類
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Location
リソースの場所。 これは、サポートおよび登録されている Azure リージョンの 1 つ (米国西部、米国東部、東南アジアなど) になります。 リソースのリージョンは一度作成した後は変更できませんが、更新時に同じリージョンが指定されている場合、要求は成功します。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
指定したリソース グループ内のジョブ リソースの名前。 ジョブ名の長さは 3 ~ 24 文字で、英数字とアンダースコアのみを使用する必要があります
Type: | String |
Aliases: | JobName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-NoWait
コマンドを非同期的に実行する
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ResourceGroupName
リソース グループ名
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkuDisplayName
SKU の表示名。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkuFamily
SKU ファミリー。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SkuName
SKU 名。
Type: | SkuName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
サブスクリプション ID
Type: | String |
Position: | Named |
Default value: | (Get-AzContext).Subscription.Id |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Tag
リソースを記述するキー値ペアの一覧。 これらのタグはリソース グループをまたがってこのリソースを表示およびグループ化する際に使用できます。
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TransferType
データ転送の種類。
Type: | TransferType |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UserAssignedIdentity
割り当てられた ID
Type: | Hashtable |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WhatIf
コマンドレットの実行時に発生する内容を示します。 このコマンドレットは実行されません。
Type: | SwitchParameter |
Aliases: | wi |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
出力
メモ
別名
複合パラメーターのプロパティ
以下で説明するパラメーターを作成するには、適切なプロパティを含むハッシュ テーブルを作成します。 ハッシュ テーブルの詳細については、Get-Help about_Hash_Tablesを実行します。
DETAIL <IJobDetails>
: ジョブの実行の詳細。 このフィールドは、展開の詳細フィルターにのみ送信されます。
ContactDetail <IContactDetails>
: 通知と発送の連絡先の詳細。ContactName <String>
: ユーザーの連絡先名。EmailList <String[]>
: ジョブの進行状況に関する通知を受け取る電子メール ID の一覧。Phone <String>
: 連絡先の番号を電話します。[Mobile <String>]
:連絡先の携帯電話番号。[NotificationPreference <INotificationPreference[]>]
: ジョブ ステージの通知設定。SendNotification <Boolean>
: 通知が必要かどうか。StageName <NotificationStageName>
: ステージの名前。
[PhoneExtension <String>]
: 連絡先の内線番号を電話します。
Type <ClassDiscriminator>
: ジョブの詳細の種類を示します。[DataExportDetail <IDataExportDetails[]>]
: Azure からエクスポートするデータの詳細。AccountDetailDataAccountType <DataAccountType>
: 転送するデータのアカウントの種類。TransferConfiguration <ITransferConfiguration>
: データ転送の構成。Type <TransferConfigurationType>
: 転送の構成の種類。[TransferAllDetail <ITransferConfigurationTransferAllDetails>]
:フィルターの種類と、すべてのデータを転送するための詳細のマップ。 このフィールドは、TransferConfigurationType が TransferAll として指定されている場合にのみ必要です。[IncludeDataAccountType <DataAccountType?>]
: データのアカウントの種類[IncludeTransferAllBlob <Boolean?>]
: すべての Azure BLOB を転送する必要があるかどうかを示すには[IncludeTransferAllFile <Boolean?>]
: すべての Azure Files を転送する必要があるかどうかを示すには
[TransferFilterDetail <ITransferConfigurationTransferFilterDetails>]
:フィルターの種類とフィルター処理する詳細のマップ。 このフィールドは、TransferConfigurationType が TransferUsingFilter として指定されている場合にのみ必要です。[AzureFileFilterDetailFilePathList <String[]>]
: 転送するファイルの完全なパスの一覧。[AzureFileFilterDetailFilePrefixList <String[]>]
: 転送する Azure ファイルのプレフィックスリスト。[AzureFileFilterDetailFileShareList <String[]>]
: 転送するファイル共有の一覧。[BlobFilterDetailBlobPathList <String[]>]
: 転送する BLOB の完全なパスの一覧。[BlobFilterDetailBlobPrefixList <String[]>]
: 転送する Azure BLOB のプレフィックスリスト。[BlobFilterDetailContainerList <String[]>]
: 転送する BLOB コンテナーの一覧。[IncludeDataAccountType <DataAccountType?>]
: データのアカウントの種類。[IncludeFilterFileDetail <IFilterFileDetails[]>]
: データ転送に使用するフィルター ファイルの詳細。FilterFilePath <String>
: 転送するすべての項目の詳細を含むファイルのパス。FilterFileType <FilterFileType>
: フィルター ファイルの種類。
[AccountDetailSharePassword <String>]
: デバイスに作成されるすべての共有のパスワード。 TransferType:ExportFromAzure ジョブには渡さないでください。 これが渡されない場合、サービスはパスワード自体を生成します。 これは Get Call では返されません。 パスワードの要件: パスワードは 12 文字以上、最大 64 文字にする必要があります。 パスワードには、少なくとも 1 つの大文字、1 つの数字、1 つの特殊文字が必要です。 パスワードに次の文字を指定することはできません:IilLoO0 パスワードはアルファベット、数字、およびこれらの文字のみを持つことができます: @#-$%^!+=;:_()]+[LogCollectionLevel <LogCollectionLevel?>]
: 収集するログのレベル。
[DataImportDetail <IDataImportDetails[]>]
: Azure にインポートするデータの詳細。AccountDetailDataAccountType <DataAccountType>
: 転送するデータのアカウントの種類。[AccountDetailSharePassword <String>]
: デバイスに作成されるすべての共有のパスワード。 TransferType:ExportFromAzure ジョブには渡さないでください。 これが渡されない場合、サービスはパスワード自体を生成します。 これは Get Call では返されません。 パスワードの要件: パスワードは 12 文字以上、最大 64 文字にする必要があります。 パスワードには、少なくとも 1 つの大文字、1 つの数字、1 つの特殊文字が必要です。 パスワードに次の文字を指定することはできません:IilLoO0 パスワードはアルファベット、数字、およびこれらの文字のみを持つことができます: @#-$%^!+=;:_()]+[LogCollectionLevel <LogCollectionLevel?>]
: 収集するログのレベル。
[ExpectedDataSizeInTeraByte <Int32?>]
: このジョブで転送する必要があるデータの予想サイズ (テラバイト単位)。[KeyEncryptionKey <IKeyEncryptionKey>]
: 使用されているキー暗号化の種類に関する詳細。KekType <KekType>
: キーの暗号化に使用される暗号化キーの種類。[IdentityProperty <IIdentityProperties>]
: キー暗号化に使用されるマネージド ID プロパティ。[Type <String>]
: マネージド サービス ID の種類。[UserAssignedResourceId <String>]
: MSI トークンのフェッチに使用するユーザー割り当て ID の Arm リソース ID。
[KekUrl <String>]
: キー暗号化キー。 これは、カスタマー マネージド KekType の場合に必要です。[KekVaultResourceId <String>]
: Kek コンテナーのリソース ID。これは、カスタマー マネージド KekType の場合に必要です。
[Preference <IPreferences>]
: 注文の基本設定。[EncryptionPreferenceDoubleEncryption <DoubleEncryption?>]
: ソフトウェア ベースの暗号化有効化のセカンダリ レイヤーを定義します。[EncryptionPreferenceHardwareEncryption <HardwareEncryption?>]
: ハードウェア レベルの暗号化を定義します (ディスクの場合のみ)[PreferredDataCenterRegion <String[]>]
: 優先されるデータ センター リージョン。[ReverseTransportPreferencePreferredShipmentType <TransportShipmentTypes?>]
: 顧客が優先する出荷ロジスティクスの種類を示します。[StorageAccountAccessTierPreference <StorageAccountAccessTier[]>]
: ストレージ アカウントのアクセス層に関連する基本設定。[TransportPreferencePreferredShipmentType <TransportShipmentTypes?>]
: 顧客が優先する出荷ロジスティクスの種類を示します。
[ReverseShippingDetail <IReverseShippingDetails>]
:注文のオプションの逆発送の詳細。[ContactDetailContactName <String>]
: ユーザーの連絡先名。[ContactDetailMobile <String>]
:連絡先の携帯電話番号。[ContactDetailPhone <String>]
: 連絡先の番号を電話します。[ContactDetailPhoneExtension <String>]
: 連絡先の内線番号を電話します。[ShippingAddress <IShippingAddress>]
:お客様がデバイスを受け取りたい配送先住所。Country <String>
: 国の名前。StreetAddress1 <String>
: 番地 1 行目。[AddressType <AddressType?>]
: アドレスの種類。[City <String>]
: 市区町村の名前。[CompanyName <String>]
: 会社の名前。[PostalCode <String>]
: 郵便番号。[SkipAddressValidation <Boolean?>]
: 顧客が既定のアドレス検証をスキップすることを選択したかどうかを示すフラグ[StateOrProvince <String>]
: 都道府県の名前。[StreetAddress2 <String>]
: 番地 2 行目。[StreetAddress3 <String>]
: 番地 3 行目。[TaxIdentificationNumber <String>]
: 税識別番号[ZipExtendedCode <String>]
: 拡張郵便番号。
[ShippingAddress <IShippingAddress>]
: 顧客の配送先住所。