SerialPorts interface
SerialPorts を表すインターフェイス。
メソッド
| connect(string, string, string, string, string, Serial |
ターゲット リソースのシリアル ポートに接続する |
| create(string, string, string, string, string, Serial |
シリアル ポートを作成または更新します。 |
| delete(string, string, string, string, string, Serial |
シリアル ポートを削除します。 |
| get(string, string, string, string, string, Serial |
シリアル ポートの構成済み設定を取得します。 |
| list(string, string, string, string, Serial |
親リソースに対して構成されているすべてのシリアル ポートを一覧表示します |
| list |
サブスクリプション内のすべての SerialPort リソースを一覧表示する要求を処理します。 |
メソッドの詳細
connect(string, string, string, string, string, SerialPortsConnectOptionalParams)
ターゲット リソースのシリアル ポートに接続する
function connect(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsConnectOptionalParams): Promise<SerialPortConnectResult>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。
- resourceProviderNamespace
-
string
リソース プロバイダーの名前空間。
- parentResourceType
-
string
親リソースのリソースの種類。 例: 'virtualMachines' または 'virtualMachineScaleSets'
- parentResource
-
string
シリアル ポートの親のリソース名または下位パス。 たとえば、仮想マシンの名前です。
- serialPort
-
string
接続先のシリアル ポートの名前。
- options
- SerialPortsConnectOptionalParams
オプション パラメーター。
戻り値
Promise<SerialPortConnectResult>
create(string, string, string, string, string, SerialPort, SerialPortsCreateOptionalParams)
シリアル ポートを作成または更新します。
function create(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, parameters: SerialPort, options?: SerialPortsCreateOptionalParams): Promise<SerialPort>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。
- resourceProviderNamespace
-
string
リソース プロバイダーの名前空間。
- parentResourceType
-
string
親リソースのリソースの種類。 例: 'virtualMachines' または 'virtualMachineScaleSets'
- parentResource
-
string
シリアル ポートの親のリソース名または下位パス。 たとえば、仮想マシンの名前です。
- serialPort
-
string
作成するシリアル ポートの名前。
- parameters
- SerialPort
シリアル ポートを作成するために指定されたパラメーター。
- options
- SerialPortsCreateOptionalParams
オプション パラメーター。
戻り値
Promise<SerialPort>
delete(string, string, string, string, string, SerialPortsDeleteOptionalParams)
シリアル ポートを削除します。
function delete(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsDeleteOptionalParams): Promise<void>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。
- resourceProviderNamespace
-
string
リソース プロバイダーの名前空間。
- parentResourceType
-
string
親リソースのリソースの種類。 例: 'virtualMachines' または 'virtualMachineScaleSets'
- parentResource
-
string
シリアル ポートの親のリソース名または下位パス。 たとえば、仮想マシンの名前です。
- serialPort
-
string
削除するシリアル ポートの名前。
- options
- SerialPortsDeleteOptionalParams
オプション パラメーター。
戻り値
Promise<void>
get(string, string, string, string, string, SerialPortsGetOptionalParams)
シリアル ポートの構成済み設定を取得します。
function get(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, serialPort: string, options?: SerialPortsGetOptionalParams): Promise<SerialPort>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。
- resourceProviderNamespace
-
string
リソース プロバイダーの名前空間。
- parentResourceType
-
string
親リソースのリソースの種類。 例: 'virtualMachines' または 'virtualMachineScaleSets'
- parentResource
-
string
シリアル ポートの親のリソース名または下位パス。 たとえば、仮想マシンの名前です。
- serialPort
-
string
接続先のシリアル ポートの名前。
- options
- SerialPortsGetOptionalParams
オプション パラメーター。
戻り値
Promise<SerialPort>
list(string, string, string, string, SerialPortsListOptionalParams)
親リソースに対して構成されているすべてのシリアル ポートを一覧表示します
function list(resourceGroupName: string, resourceProviderNamespace: string, parentResourceType: string, parentResource: string, options?: SerialPortsListOptionalParams): Promise<SerialPortListResult>
パラメーター
- resourceGroupName
-
string
リソース グループの名前。
- resourceProviderNamespace
-
string
リソース プロバイダーの名前空間。
- parentResourceType
-
string
親リソースのリソースの種類。 例: 'virtualMachines' または 'virtualMachineScaleSets'
- parentResource
-
string
シリアル ポートの親のリソース名または下位パス。 たとえば、仮想マシンの名前です。
- options
- SerialPortsListOptionalParams
オプション パラメーター。
戻り値
Promise<SerialPortListResult>
listBySubscriptions(SerialPortsListBySubscriptionsOptionalParams)
サブスクリプション内のすべての SerialPort リソースを一覧表示する要求を処理します。
function listBySubscriptions(options?: SerialPortsListBySubscriptionsOptionalParams): Promise<SerialPortListResult>
パラメーター
オプション パラメーター。
戻り値
Promise<SerialPortListResult>