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

NetworkSecurityGroupsOperations interface

表示 NetworkSecurityGroups作的接口。

属性

createOrUpdate

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

delete
get

获取指定的网络安全组。

listAll

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

listByResourceGroup

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

updateTags

更新网络安全组标记。

属性详细信息

createOrUpdate

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

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

属性值

(resourceGroupName: string, networkSecurityGroupName: string, resource: 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>

listAll

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

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

属性值

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

listByResourceGroup

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

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

属性值

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

updateTags

更新网络安全组标记。

updateTags: (resourceGroupName: string, networkSecurityGroupName: string, properties: NetworkSecurityGroupTagsUpdate, options?: NetworkSecurityGroupsUpdateTagsOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>

属性值

(resourceGroupName: string, networkSecurityGroupName: string, properties: NetworkSecurityGroupTagsUpdate, options?: NetworkSecurityGroupsUpdateTagsOptionalParams) => PollerLike<OperationState<NetworkSecurityGroup>, NetworkSecurityGroup>