次の方法で共有


Project Meter Usage Estimate - Get

このプロジェクトで Advanced Security が有効になっている場合に、顧客の使用状況に追加されるプッシャーを見積もる。

GET https://advsec.dev.azure.com/{organization}/{project}/_apis/management/meterUsageEstimate/default?api-version=7.2-preview.3
GET https://advsec.dev.azure.com/{organization}/{project}/_apis/management/meterUsageEstimate/default?plan={plan}&api-version=7.2-preview.3

URI パラメーター

名前 / 必須 説明
organization
path True

string

Azure DevOps 組織の名前。

project
path True

string

プロジェクト ID またはプロジェクト名

api-version
query True

string

使う API のバージョン。 このバージョンの API を使用するには、これを '7.2-preview.3' に設定する必要があります。

plan
query

Plan

応答

名前 説明
200 OK

MeterUsageEstimate

successful operation

セキュリティ

oauth2

型: oauth2
フロー: accessCode
Authorization URL (承認 URL): https://app.vssps.visualstudio.com/oauth2/authorize&response_type=Assertion
Token URL (トークン URL): https://app.vssps.visualstudio.com/oauth2/token?client_assertion_type=urn:ietf:params:oauth:client-assertion-type:jwt-bearer&grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer

スコープ

名前 説明
vso.advsec アラート、結果インスタンス、分析結果インスタンスを読み取る機能を付与します

定義

名前 説明
BilledCommitter

Advanced Security サービスを使用した課金されるコミッターに関連する情報

BilledCommittersList

課金対象のコミッターのリスト

IdentityRef
MeterUsageEstimate

Code Security プランまたは Secret Protection プランのメーター使用量の見積もりに関連する情報

Plan
ReferenceLinks

REST 参照リンクのコレクションを表すクラス。

BilledCommitter

Advanced Security サービスを使用した課金されるコミッターに関連する情報

名前 説明
cuid

string (uuid)

課金されるコミッターの Cuid。 CUID は、Azure サブスクリプション全体で一意です。

userIdentity

IdentityRef

課金されたコミッターの ID 参照オブジェクト

BilledCommittersList

課金対象のコミッターのリスト

名前 説明
billedUsers

BilledCommitter[]

コミッターの identityRef を含む BilledCommitter オブジェクトの一覧。

uniqueCommitterCount

integer (int32)

BilledUsers の請求済みコミッターの数

IdentityRef

名前 説明
_links

ReferenceLinks

このフィールドには、グラフの件名に関する興味深いリンクが 0 個以上含まれています。 これらのリンクを呼び出して、このグラフの件名に関する追加のリレーションシップや詳細情報を取得できます。

descriptor

string

記述子は、システムの実行中にグラフの件名を参照する主な方法です。 このフィールドは、アカウントと組織の両方で同じグラフの件名を一意に識別します。

directoryAlias

string

非推奨 - IdentityRef "_links" ディクショナリの "自己" エントリで参照されている Graph ユーザーにクエリを実行することで取得できます

displayName

string

これは、グラフの件名の一意でない表示名です。 このフィールドを変更するには、ソース プロバイダーでその値を変更する必要があります。

id

string

imageUrl

string

非推奨 - IdentityRef "_links" ディクショナリの "アバター" エントリで使用できます

inactive

boolean

非推奨 - GraphUser "_links" ディクショナリの "membershipState" エントリで参照されている Graph メンバーシップの状態を照会することで取得できます

isAadIdentity

boolean

非推奨 - 記述子のサブジェクト型 (Descriptor.IsAadUserType/Descriptor.IsAadGroupType) から推論できます

isContainer

boolean

非推奨 - 記述子のサブジェクト型 (Descriptor.IsGroupType) から推論できます

isDeletedInOrigin

boolean

profileUrl

string

非推奨 - ToIdentityRef の既存のほとんどの実装では使用されていません

uniqueName

string

非推奨 - 代わりに Domain+PrincipalName を使用する

url

string

この URL は、このグラフの件名のソース リソースへの完全なルートです。

MeterUsageEstimate

Code Security プランまたは Secret Protection プランのメーター使用量の見積もりに関連する情報

名前 説明
codeSecurityMeterUsageEstimate

BilledCommittersList

Code Security プランを有効にするときの使用状況の見積もりを測定する

secretProtectionMeterUsageEstimate

BilledCommittersList

Secret Protection プランを有効にしたときの測定使用量の見積もり

Plan

説明
codeSecurity

コード セキュリティ プラン

secretProtection

シークレット保護プラン

all

すべてのプランを含める

REST 参照リンクのコレクションを表すクラス。

名前 説明
links

object

リンクの読み取りビュー。 参照リンクは読み取り専用であるため、読み取り専用として公開する必要があります。