NetworkProfiles interface
代表 NetworkProfiles 的介面。
方法
方法詳細資料
beginDelete(string, string, NetworkProfilesDeleteOptionalParams)
刪除指定的網路配置檔。
function beginDelete(resourceGroupName: string, networkProfileName: string, options?: NetworkProfilesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
參數
- resourceGroupName
-
string
資源群組的名稱。
- networkProfileName
-
string
NetworkProfile 的名稱。
選項參數。
傳回
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, NetworkProfilesDeleteOptionalParams)
刪除指定的網路配置檔。
function beginDeleteAndWait(resourceGroupName: string, networkProfileName: string, options?: NetworkProfilesDeleteOptionalParams): Promise<void>
參數
- resourceGroupName
-
string
資源群組的名稱。
- networkProfileName
-
string
NetworkProfile 的名稱。
選項參數。
傳回
Promise<void>
createOrUpdate(string, string, NetworkProfile, NetworkProfilesCreateOrUpdateOptionalParams)
建立或更新網路配置檔。
function createOrUpdate(resourceGroupName: string, networkProfileName: string, parameters: NetworkProfile, options?: NetworkProfilesCreateOrUpdateOptionalParams): Promise<NetworkProfile>
參數
- resourceGroupName
-
string
資源群組的名稱。
- networkProfileName
-
string
網路配置檔的名稱。
- parameters
- NetworkProfile
提供給建立或更新網路配置檔作業的參數。
選項參數。
傳回
Promise<NetworkProfile>
get(string, string, NetworkProfilesGetOptionalParams)
取得指定資源群組中的指定網路配置檔。
function get(resourceGroupName: string, networkProfileName: string, options?: NetworkProfilesGetOptionalParams): Promise<NetworkProfile>
參數
- resourceGroupName
-
string
資源群組的名稱。
- networkProfileName
-
string
公用IP前置詞的名稱。
- options
- NetworkProfilesGetOptionalParams
選項參數。
傳回
Promise<NetworkProfile>
list(string, NetworkProfilesListOptionalParams)
取得資源群組中的所有網路配置檔。
function list(resourceGroupName: string, options?: NetworkProfilesListOptionalParams): PagedAsyncIterableIterator<NetworkProfile, NetworkProfile[], PageSettings>
參數
- resourceGroupName
-
string
資源群組的名稱。
選項參數。
傳回
listAll(NetworkProfilesListAllOptionalParams)
取得訂用帳戶中的所有網路配置檔。
function listAll(options?: NetworkProfilesListAllOptionalParams): PagedAsyncIterableIterator<NetworkProfile, NetworkProfile[], PageSettings>
參數
選項參數。
傳回
updateTags(string, string, TagsObject, NetworkProfilesUpdateTagsOptionalParams)
更新網路配置檔標籤。
function updateTags(resourceGroupName: string, networkProfileName: string, parameters: TagsObject, options?: NetworkProfilesUpdateTagsOptionalParams): Promise<NetworkProfile>
參數
- resourceGroupName
-
string
資源群組的名稱。
- networkProfileName
-
string
網路配置檔的名稱。
- parameters
- TagsObject
提供用來更新網路配置檔標籤的參數。
選項參數。
傳回
Promise<NetworkProfile>