Get-AzCostManagementExport
定義されたスコープのエクスポートをエクスポート名で取得する操作。
構文
Get-AzCostManagementExport
-Scope <String>
[-Expand <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzCostManagementExport
-Name <String>
-Scope <String>
[-Expand <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
Get-AzCostManagementExport
-InputObject <ICostManagementIdentity>
[-Expand <String>]
[-DefaultProfile <PSObject>]
[<CommonParameters>]
説明
定義されたスコープのエクスポートをエクスポート名で取得する操作。
例
例 1: スコープによってすべての AzCostManagementExports を取得する
Get-AzCostManagementExport -Scope 'subscriptions/**********'
ETag Name Type
---- ---- ----
"************" TestExport Microsoft.CostManagement/exports
"************" TestExport1 Microsoft.CostManagement/exports
"************" TestExport2 Microsoft.CostManagement/exports
すべての AzCostManagementExports をスコープ別に取得する
例 2: 名前とスコープで AzCostManagementExport を取得する
Get-AzCostManagementExport -Name 'TestExport' -Scope 'subscriptions/**********'
ETag Name Type
---- ---- ----
"************" TestExport Microsoft.CostManagement/exports
名前とスコープで AzCostManagementExport を取得する
パラメーター
-DefaultProfile
DefaultProfile パラメーターは機能しません。 別のサブスクリプションに対してコマンドレットを実行する場合は、使用可能な場合は SubscriptionId パラメーターを使用します。
Type: | PSObject |
Aliases: | AzureRMContext, AzureCredential |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Expand
エクスポート内のプロパティを展開するために使用できます。 現在、'runHistory' のみがサポートされており、エクスポートの最後の 10 回の実行に関する情報が返されます。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-InputObject
ID パラメーターを構築するには、INPUTOBJECT プロパティの NOTES セクションを参照し、ハッシュ テーブルを作成します。
Type: | ICostManagementIdentity |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-Name
エクスポート名。
Type: | String |
Aliases: | ExportName |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Scope
このパラメーターは、さまざまな観点からコスト管理のスコープを定義します "サブスクリプション"、"ResourceGroup"、および "サービスの提供" です。
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |