次の方法で共有


Devices interface

デバイスを表すインターフェイス。

メソッド

beginCreateOrUpdate(string, string, string, string, string, Device, DevicesCreateOrUpdateOptionalParams)

デバイスを作成します。 カタログのみにデバイスを要求するには、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

beginCreateOrUpdateAndWait(string, string, string, string, string, Device, DevicesCreateOrUpdateOptionalParams)

デバイスを作成します。 カタログのみにデバイスを要求するには、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

beginDelete(string, string, string, string, string, DevicesDeleteOptionalParams)

デバイスを削除する

beginDeleteAndWait(string, string, string, string, string, DevicesDeleteOptionalParams)

デバイスを削除する

beginGenerateCapabilityImage(string, string, string, string, string, GenerateCapabilityImageRequest, DevicesGenerateCapabilityImageOptionalParams)

デバイスの機能イメージを生成します。 デバイス グループと製品名に '.unassigned' または '.default' を使用して、特定のデバイス グループと製品に属していないデバイスのイメージを生成します。

beginGenerateCapabilityImageAndWait(string, string, string, string, string, GenerateCapabilityImageRequest, DevicesGenerateCapabilityImageOptionalParams)

デバイスの機能イメージを生成します。 デバイス グループと製品名に '.unassigned' または '.default' を使用して、特定のデバイス グループと製品に属していないデバイスのイメージを生成します。

beginUpdate(string, string, string, string, string, DeviceUpdate, DevicesUpdateOptionalParams)

デバイスを更新します。 デバイスをカタログ レベルに移動するには、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

beginUpdateAndWait(string, string, string, string, string, DeviceUpdate, DevicesUpdateOptionalParams)

デバイスを更新します。 デバイスをカタログ レベルに移動するには、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

get(string, string, string, string, string, DevicesGetOptionalParams)

デバイスを取得します。 デバイスがデバイス グループと製品に属していない場合は、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

listByDeviceGroup(string, string, string, string, DevicesListByDeviceGroupOptionalParams)

DeviceGroup でデバイス リソースを一覧表示します。 '.default' と '.unassigned' はシステム定義の値であり、製品またはデバイス グループ名には使用できません。

メソッドの詳細

beginCreateOrUpdate(string, string, string, string, string, Device, DevicesCreateOrUpdateOptionalParams)

デバイスを作成します。 カタログのみにデバイスを要求するには、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

function beginCreateOrUpdate(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, resource: Device, options?: DevicesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Device>, Device>>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

resource
Device

リソース作成パラメーター。

options
DevicesCreateOrUpdateOptionalParams

オプション パラメーター。

戻り値

Promise<@azure/core-lro.SimplePollerLike<OperationState<Device>, Device>>

beginCreateOrUpdateAndWait(string, string, string, string, string, Device, DevicesCreateOrUpdateOptionalParams)

デバイスを作成します。 カタログのみにデバイスを要求するには、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

function beginCreateOrUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, resource: Device, options?: DevicesCreateOrUpdateOptionalParams): Promise<Device>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

resource
Device

リソース作成パラメーター。

options
DevicesCreateOrUpdateOptionalParams

オプション パラメーター。

戻り値

Promise<Device>

beginDelete(string, string, string, string, string, DevicesDeleteOptionalParams)

デバイスを削除する

function beginDelete(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, options?: DevicesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

options
DevicesDeleteOptionalParams

オプション パラメーター。

戻り値

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, string, string, DevicesDeleteOptionalParams)

デバイスを削除する

function beginDeleteAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, options?: DevicesDeleteOptionalParams): Promise<void>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

options
DevicesDeleteOptionalParams

オプション パラメーター。

戻り値

Promise<void>

beginGenerateCapabilityImage(string, string, string, string, string, GenerateCapabilityImageRequest, DevicesGenerateCapabilityImageOptionalParams)

デバイスの機能イメージを生成します。 デバイス グループと製品名に '.unassigned' または '.default' を使用して、特定のデバイス グループと製品に属していないデバイスのイメージを生成します。

function beginGenerateCapabilityImage(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, generateDeviceCapabilityRequest: GenerateCapabilityImageRequest, options?: DevicesGenerateCapabilityImageOptionalParams): Promise<SimplePollerLike<OperationState<SignedCapabilityImageResponse>, SignedCapabilityImageResponse>>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

generateDeviceCapabilityRequest
GenerateCapabilityImageRequest

機能イメージ要求本文を生成します。

options
DevicesGenerateCapabilityImageOptionalParams

オプション パラメーター。

戻り値

Promise<@azure/core-lro.SimplePollerLike<OperationState<SignedCapabilityImageResponse>, SignedCapabilityImageResponse>>

beginGenerateCapabilityImageAndWait(string, string, string, string, string, GenerateCapabilityImageRequest, DevicesGenerateCapabilityImageOptionalParams)

デバイスの機能イメージを生成します。 デバイス グループと製品名に '.unassigned' または '.default' を使用して、特定のデバイス グループと製品に属していないデバイスのイメージを生成します。

function beginGenerateCapabilityImageAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, generateDeviceCapabilityRequest: GenerateCapabilityImageRequest, options?: DevicesGenerateCapabilityImageOptionalParams): Promise<SignedCapabilityImageResponse>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

generateDeviceCapabilityRequest
GenerateCapabilityImageRequest

機能イメージ要求本文を生成します。

options
DevicesGenerateCapabilityImageOptionalParams

オプション パラメーター。

戻り値

beginUpdate(string, string, string, string, string, DeviceUpdate, DevicesUpdateOptionalParams)

デバイスを更新します。 デバイスをカタログ レベルに移動するには、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

function beginUpdate(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, properties: DeviceUpdate, options?: DevicesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<Device>, Device>>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

properties
DeviceUpdate

更新するリソース プロパティ。

options
DevicesUpdateOptionalParams

オプション パラメーター。

戻り値

Promise<@azure/core-lro.SimplePollerLike<OperationState<Device>, Device>>

beginUpdateAndWait(string, string, string, string, string, DeviceUpdate, DevicesUpdateOptionalParams)

デバイスを更新します。 デバイスをカタログ レベルに移動するには、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

function beginUpdateAndWait(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, properties: DeviceUpdate, options?: DevicesUpdateOptionalParams): Promise<Device>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

properties
DeviceUpdate

更新するリソース プロパティ。

options
DevicesUpdateOptionalParams

オプション パラメーター。

戻り値

Promise<Device>

get(string, string, string, string, string, DevicesGetOptionalParams)

デバイスを取得します。 デバイスがデバイス グループと製品に属していない場合は、デバイス グループと製品名に '.unassigned' または '.default' を使用します。

function get(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, deviceName: string, options?: DevicesGetOptionalParams): Promise<Device>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

deviceName

string

デバイス名

options
DevicesGetOptionalParams

オプション パラメーター。

戻り値

Promise<Device>

listByDeviceGroup(string, string, string, string, DevicesListByDeviceGroupOptionalParams)

DeviceGroup でデバイス リソースを一覧表示します。 '.default' と '.unassigned' はシステム定義の値であり、製品またはデバイス グループ名には使用できません。

function listByDeviceGroup(resourceGroupName: string, catalogName: string, productName: string, deviceGroupName: string, options?: DevicesListByDeviceGroupOptionalParams): PagedAsyncIterableIterator<Device, Device[], PageSettings>

パラメーター

resourceGroupName

string

リソース グループの名前。 名前では大文字と小文字が区別されません。

catalogName

string

カタログの名前

productName

string

製品の名前。

deviceGroupName

string

デバイス グループの名前。

options
DevicesListByDeviceGroupOptionalParams

オプション パラメーター。

戻り値