你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

NetworkSecurityGroupsOperations interface

表示 NetworkSecurityGroups作的接口。

属性

beginCreateOrUpdate
beginCreateOrUpdateAndWait
beginDelete
beginDeleteAndWait
createOrUpdate

在指定的资源组中创建或更新网络安全组。

delete

删除指定的网络安全组。

get

获取指定的网络安全组。

list

获取资源组中的所有网络安全组。

listAll

获取订阅中的所有网络安全组。

updateTags

更新网络安全组标记。

属性详细信息

beginCreateOrUpdate

警告

现已弃用此 API。

use createOrUpdate instead

beginCreateOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => Promise<SimplePollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>>

beginCreateOrUpdateAndWait

警告

现已弃用此 API。

use createOrUpdate instead

beginCreateOrUpdateAndWait: (resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => Promise<NetworkSecurityGroup>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => Promise<NetworkSecurityGroup>

beginDelete

警告

现已弃用此 API。

use delete instead

beginDelete: (resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => Promise<SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait

警告

现已弃用此 API。

use delete instead

beginDeleteAndWait: (resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => Promise<void>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => Promise<void>

createOrUpdate

在指定的资源组中创建或更新网络安全组。

createOrUpdate: (resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, parameters: NetworkSecurityGroup, options?: NetworkSecurityGroupsCreateOrUpdateOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>

delete

删除指定的网络安全组。

delete: (resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsDeleteOptionalParams) => PollerLike<OperationState<void>, void>

get

获取指定的网络安全组。

get: (resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsGetOptionalParams) => Promise<NetworkSecurityGroup>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, options?: NetworkSecurityGroupsGetOptionalParams) => Promise<NetworkSecurityGroup>

list

获取资源组中的所有网络安全组。

list: (resourceGroupName: string, options?: NetworkSecurityGroupsListOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>

属性值

(resourceGroupName: string, options?: NetworkSecurityGroupsListOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>

listAll

获取订阅中的所有网络安全组。

listAll: (options?: NetworkSecurityGroupsListAllOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>

属性值

(options?: NetworkSecurityGroupsListAllOptionalParams) => PagedAsyncIterableIterator<NetworkSecurityGroup, NetworkSecurityGroup[], PageSettings>

updateTags

更新网络安全组标记。

updateTags: (resourceGroupName: string, networkSecurityGroupName: string, parameters: TagsObject, options?: NetworkSecurityGroupsUpdateTagsOptionalParams) => Promise<NetworkSecurityGroup>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, parameters: TagsObject, options?: NetworkSecurityGroupsUpdateTagsOptionalParams) => Promise<NetworkSecurityGroup>