deviceCustomAttributeShellScript リソースの種類

名前空間: microsoft.graph

大事な: /beta バージョンの Microsoft Graph API は変更される可能性があります。運用環境での使用はサポートされていません。

注:Intune 用 Microsoft Graph API には、テナントの有効な Intune ライセンスが必要です。

macOS のカスタム属性スクリプトを表します。

メソッド

メソッド 戻り値の型 説明
deviceCustomAttributeShellScripts を一覧表示する deviceCustomAttributeShellScript コレクション deviceCustomAttributeShellScript オブジェクトのプロパティとリレーションシップを一覧表示します。
deviceCustomAttributeShellScript を取得する deviceCustomAttributeShellScript deviceCustomAttributeShellScript オブジェクトのプロパティとリレーションシップを読み取ります。
deviceCustomAttributeShellScript を作成する deviceCustomAttributeShellScript 新しい deviceCustomAttributeShellScript オブジェクトを作成します。
deviceCustomAttributeShellScript を削除する なし deviceCustomAttributeShellScript を削除します。
deviceCustomAttributeShellScript を更新する deviceCustomAttributeShellScript deviceCustomAttributeShellScript オブジェクトのプロパティを更新します。
assign アクション なし

プロパティ

プロパティ 説明
id String カスタム属性エンティティの一意識別子。
customAttributeName String カスタム属性の名前。
customAttributeType deviceCustomAttributeValueType カスタム属性の値の予期される型。 可能な値は integerstringdateTime です。
displayName String デバイス管理スクリプトの名前。
説明 String デバイス管理スクリプトの説明 (省略可能)。
scriptContent バイナリ スクリプトの内容。
createdDateTime DateTimeOffset デバイス管理スクリプトが作成された日時。 このプロパティは読み取り専用です。
lastModifiedDateTime DateTimeOffset デバイス管理スクリプトが最後に変更された日時。 このプロパティは読み取り専用です。
runAsAccount runAsAccountType 実行コンテキストの種類を示します。 可能な値は、systemuser です。
fileName String スクリプト ファイル名。
roleScopeTagIds String collection この PowerShellScript インスタンスのスコープ タグ ID の一覧。

リレーションシップ

リレーションシップ 説明
groupAssignments deviceManagementScriptGroupAssignment コレクション デバイス管理スクリプトのグループ割り当ての一覧。
assignments deviceManagementScriptAssignment コレクション デバイス管理スクリプトのグループ割り当ての一覧。
runSummary deviceManagementScriptRunSummary デバイス管理スクリプトの概要を実行します。
deviceRunStates deviceManagementScriptDeviceState コレクション すべてのデバイスにわたるこのスクリプトの実行状態の一覧。
userRunStates deviceManagementScriptUserState コレクション すべてのユーザーにわたるこのスクリプトの実行状態の一覧。

JSON 表記

以下は、リソースの JSON 表記です。

{
  "@odata.type": "#microsoft.graph.deviceCustomAttributeShellScript",
  "id": "String (identifier)",
  "customAttributeName": "String",
  "customAttributeType": "String",
  "displayName": "String",
  "description": "String",
  "scriptContent": "binary",
  "createdDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "runAsAccount": "String",
  "fileName": "String",
  "roleScopeTagIds": [
    "String"
  ]
}