NetworkSecurityGroupsOperations interface
表示 NetworkSecurityGroups作的接口。
属性
| create |
在指定的资源组中创建或更新网络安全组。 |
| delete | |
| get | 获取指定的网络安全组。 |
| list |
获取订阅中的所有网络安全组。 |
| list |
获取资源组中的所有网络安全组。 |
| update |
更新网络安全组标记。 |
属性详细信息
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>