ChapSettingsOperations interface
Interface representing a ChapSettingsOperations.
Methods
begin |
Creates or updates the chap setting. |
begin |
Creates or updates the chap setting. |
begin |
Deletes the chap setting. |
begin |
Deletes the chap setting. |
get(string, string, string, string, Chap |
Returns the properties of the specified chap setting name. |
list |
Retrieves all the chap settings in a device. |
Method Details
beginCreateOrUpdate(string, string, string, string, ChapSettings, ChapSettingsCreateOrUpdateOptionalParams)
Creates or updates the chap setting.
function beginCreateOrUpdate(deviceName: string, chapUserName: string, resourceGroupName: string, managerName: string, chapSetting: ChapSettings, options?: ChapSettingsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ChapSettings>, ChapSettings>>
Parameters
- deviceName
-
string
The device name.
- chapUserName
-
string
The chap user name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- chapSetting
- ChapSettings
The chap setting to be added or updated.
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<ChapSettings>, ChapSettings>>
beginCreateOrUpdateAndWait(string, string, string, string, ChapSettings, ChapSettingsCreateOrUpdateOptionalParams)
Creates or updates the chap setting.
function beginCreateOrUpdateAndWait(deviceName: string, chapUserName: string, resourceGroupName: string, managerName: string, chapSetting: ChapSettings, options?: ChapSettingsCreateOrUpdateOptionalParams): Promise<ChapSettings>
Parameters
- deviceName
-
string
The device name.
- chapUserName
-
string
The chap user name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- chapSetting
- ChapSettings
The chap setting to be added or updated.
The options parameters.
Returns
Promise<ChapSettings>
beginDelete(string, string, string, string, ChapSettingsDeleteOptionalParams)
Deletes the chap setting.
function beginDelete(deviceName: string, chapUserName: string, resourceGroupName: string, managerName: string, options?: ChapSettingsDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>
Parameters
- deviceName
-
string
The device name.
- chapUserName
-
string
The chap user name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- options
- ChapSettingsDeleteOptionalParams
The options parameters.
Returns
Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, ChapSettingsDeleteOptionalParams)
Deletes the chap setting.
function beginDeleteAndWait(deviceName: string, chapUserName: string, resourceGroupName: string, managerName: string, options?: ChapSettingsDeleteOptionalParams): Promise<void>
Parameters
- deviceName
-
string
The device name.
- chapUserName
-
string
The chap user name.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- options
- ChapSettingsDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, string, ChapSettingsGetOptionalParams)
Returns the properties of the specified chap setting name.
function get(deviceName: string, chapUserName: string, resourceGroupName: string, managerName: string, options?: ChapSettingsGetOptionalParams): Promise<ChapSettings>
Parameters
- deviceName
-
string
The device name.
- chapUserName
-
string
The user name of chap to be fetched.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
- options
- ChapSettingsGetOptionalParams
The options parameters.
Returns
Promise<ChapSettings>
listByDevice(string, string, string, ChapSettingsListByDeviceOptionalParams)
Retrieves all the chap settings in a device.
function listByDevice(deviceName: string, resourceGroupName: string, managerName: string, options?: ChapSettingsListByDeviceOptionalParams): PagedAsyncIterableIterator<ChapSettings, ChapSettings[], PageSettings>
Parameters
- deviceName
-
string
The name of the device.
- resourceGroupName
-
string
The resource group name
- managerName
-
string
The manager name
The options parameters.
Returns
Azure SDK for JavaScript