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

VirtualNetworkGatewayResource 类

定义

表示 VirtualNetworkGateway 的类,以及可对其进行执行的实例操作。 如果有 ,ResourceIdentifier则可以使用 GetVirtualNetworkGatewayResource 方法从 实例ArmClient构造 VirtualNetworkGatewayResource 。 否则,可以使用 GetVirtualNetworkGateway 方法从其父资源 ResourceGroupResource 获取一个。

public class VirtualNetworkGatewayResource : Azure.ResourceManager.ArmResource
type VirtualNetworkGatewayResource = class
    inherit ArmResource
Public Class VirtualNetworkGatewayResource
Inherits ArmResource
继承
VirtualNetworkGatewayResource

构造函数

VirtualNetworkGatewayResource()

初始化 类的新实例 VirtualNetworkGatewayResource 以便模拟。

字段

ResourceType

获取操作的资源类型。

属性

Client

获取 ArmClient 创建自的此资源客户端。

(继承自 ArmResource)
Data

获取表示此功能的数据。

Diagnostics

获取此资源客户端的诊断选项。

(继承自 ArmResource)
Endpoint

获取此资源客户端的基 URI。

(继承自 ArmResource)
HasData

获取当前实例是否具有数据。

Id

获取资源标识符。

(继承自 ArmResource)
Pipeline

获取此资源客户端的管道。

(继承自 ArmResource)

方法

AddTag(String, String, CancellationToken)

将标记添加到当前资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Get
AddTagAsync(String, String, CancellationToken)

将标记添加到当前资源。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Get
CanUseTagResource(CancellationToken)

检查 TagResource API 是否部署在当前环境中。

(继承自 ArmResource)
CanUseTagResourceAsync(CancellationToken)

检查 TagResource API 是否部署在当前环境中。

(继承自 ArmResource)
CreateResourceIdentifier(String, String, String)

生成实例的资源标识符 VirtualNetworkGatewayResource

Delete(WaitUntil, CancellationToken)

删除指定的虚拟网络网关。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Delete
DeleteAsync(WaitUntil, CancellationToken)

删除指定的虚拟网络网关。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Delete
DisconnectVirtualNetworkGatewayVpnConnections(WaitUntil, P2SVpnConnectionRequest, CancellationToken)

断开指定资源组中虚拟网络网关的 VPN 连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections
  • 操作IdVirtualNetworkGateways_DisconnectVirtualNetworkGatewayVpnConnections
DisconnectVirtualNetworkGatewayVpnConnectionsAsync(WaitUntil, P2SVpnConnectionRequest, CancellationToken)

断开指定资源组中虚拟网络网关的 VPN 连接。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections
  • 操作IdVirtualNetworkGateways_DisconnectVirtualNetworkGatewayVpnConnections
GenerateVpnClientPackage(WaitUntil, VpnClientContent, CancellationToken)

为指定资源组中虚拟网络网关的 P2S 客户端生成 VPN 客户端包。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage
  • 操作IdVirtualNetworkGateways_Generatevpnclientpackage
GenerateVpnClientPackageAsync(WaitUntil, VpnClientContent, CancellationToken)

为指定资源组中虚拟网络网关的 P2S 客户端生成 VPN 客户端包。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage
  • 操作IdVirtualNetworkGateways_Generatevpnclientpackage
GenerateVpnProfile(WaitUntil, VpnClientContent, CancellationToken)

为指定资源组中虚拟网络网关的 P2S 客户端生成 VPN 配置文件。 用于基于 IKEV2 和半径的身份验证。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile
  • 操作IdVirtualNetworkGateways_GenerateVpnProfile
GenerateVpnProfileAsync(WaitUntil, VpnClientContent, CancellationToken)

为指定资源组中虚拟网络网关的 P2S 客户端生成 VPN 配置文件。 用于基于 IKEV2 和半径的身份验证。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile
  • 操作IdVirtualNetworkGateways_GenerateVpnProfile
Get(CancellationToken)

按资源组获取指定的虚拟网络网关。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Get
GetAdvertisedRoutes(WaitUntil, String, CancellationToken)

此操作检索虚拟网络网关播发到指定对等方的路由列表。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes
  • 操作IdVirtualNetworkGateways_GetAdvertisedRoutes
GetAdvertisedRoutesAsync(WaitUntil, String, CancellationToken)

此操作检索虚拟网络网关播发到指定对等方的路由列表。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes
  • 操作IdVirtualNetworkGateways_GetAdvertisedRoutes
GetAsync(CancellationToken)

按资源组获取指定的虚拟网络网关。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Get
GetAvailableLocations(CancellationToken)

列出所有可用的地理位置。

(继承自 ArmResource)
GetAvailableLocationsAsync(CancellationToken)

列出所有可用的地理位置。

(继承自 ArmResource)
GetBgpPeerStatus(WaitUntil, String, CancellationToken)

GetBgpPeerStatus 操作检索所有 BGP 对等方的状态。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus
  • 操作IdVirtualNetworkGateways_GetBgpPeerStatus
GetBgpPeerStatusAsync(WaitUntil, String, CancellationToken)

GetBgpPeerStatus 操作检索所有 BGP 对等方的状态。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus
  • 操作IdVirtualNetworkGateways_GetBgpPeerStatus
GetConnections(CancellationToken)

获取虚拟网络网关中的所有连接。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections
  • 操作IdVirtualNetworkGateways_ListConnections
GetConnectionsAsync(CancellationToken)

获取虚拟网络网关中的所有连接。

  • 请求路径/订阅/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections
  • 操作IdVirtualNetworkGateways_ListConnections
GetLearnedRoutes(WaitUntil, CancellationToken)

此操作检索虚拟网络网关已获知的路由列表,包括从 BGP 对等方获知的路由。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes
  • 操作IdVirtualNetworkGateways_GetLearnedRoutes
GetLearnedRoutesAsync(WaitUntil, CancellationToken)

此操作检索虚拟网络网关已获知的路由列表,包括从 BGP 对等方获知的路由。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes
  • 操作IdVirtualNetworkGateways_GetLearnedRoutes
GetManagementLock(String, CancellationToken)

按范围获取管理锁。

  • 请求路径/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(继承自 ArmResource)
GetManagementLockAsync(String, CancellationToken)

按范围获取管理锁。

  • 请求路径/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • 操作IdManagementLocks_GetByScope
(继承自 ArmResource)
GetManagementLocks()

获取 ArmResource 中的 ManagementLockResources 集合。

(继承自 ArmResource)
GetPolicyAssignment(String, CancellationToken)

此操作检索单个策略分配,给定其名称和创建范围。

  • 请求路径/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(继承自 ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

此操作检索单个策略分配,给定其名称和创建范围。

  • 请求路径/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(继承自 ArmResource)
GetPolicyAssignments()

获取 ArmResource 中 PolicyAssignmentResources 的集合。

(继承自 ArmResource)
GetTagResource()

获取一个 对象,该对象表示 TagResource 以及可在 ArmResource 中对其进行执行的实例操作。

(继承自 ArmResource)
GetVirtualNetworkGatewayNatRule(String, CancellationToken)

检索 nat 规则的详细信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}
  • 操作IdVirtualNetworkGatewayNatRules_Get
GetVirtualNetworkGatewayNatRuleAsync(String, CancellationToken)

检索 nat 规则的详细信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}
  • 操作IdVirtualNetworkGatewayNatRules_Get
GetVirtualNetworkGatewayNatRules()

获取 VirtualNetworkGateway 中 VirtualNetworkGatewayNatRuleResources 的集合。

GetVpnclientConnectionHealth(WaitUntil, CancellationToken)

获取指定资源组中虚拟网络网关的每个 P2S 客户端连接的 VPN 客户端连接运行状况详细信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth
  • 操作IdVirtualNetworkGateways_GetVpnclientConnectionHealth
GetVpnclientConnectionHealthAsync(WaitUntil, CancellationToken)

获取指定资源组中虚拟网络网关的每个 P2S 客户端连接的 VPN 客户端连接运行状况详细信息。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth
  • 操作IdVirtualNetworkGateways_GetVpnclientConnectionHealth
GetVpnclientIPsecParameters(WaitUntil, CancellationToken)

获取 VpnclientIpsecParameters 操作通过网络资源提供程序检索指定资源组中虚拟网络网关 P2S 客户端的 vpnclient ipsec 策略的相关信息。

  • 请求 Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters
  • 操作IdVirtualNetworkGateways_GetVpnclientIpsecParameters
GetVpnclientIPsecParametersAsync(WaitUntil, CancellationToken)

获取 VpnclientIpsecParameters 操作通过网络资源提供程序检索指定资源组中虚拟网络网关 P2S 客户端的 vpnclient ipsec 策略的相关信息。

  • 请求 Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters
  • 操作IdVirtualNetworkGateways_GetVpnclientIpsecParameters
GetVpnProfilePackageUrl(WaitUntil, CancellationToken)

获取指定资源组中虚拟网络网关的 P2S 客户端的预生成的 VPN 配置文件。 首先需要使用 generateVpnProfile 生成配置文件。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl
  • 操作IdVirtualNetworkGateways_GetVpnProfilePackageUrl
GetVpnProfilePackageUrlAsync(WaitUntil, CancellationToken)

获取指定资源组中虚拟网络网关的 P2S 客户端的预生成的 VPN 配置文件。 首先需要使用 generateVpnProfile 生成配置文件。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl
  • 操作IdVirtualNetworkGateways_GetVpnProfilePackageUrl
RemoveTag(String, CancellationToken)

按键从资源中删除标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Get
RemoveTagAsync(String, CancellationToken)

按键从资源中删除标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Get
Reset(WaitUntil, String, CancellationToken)

重置指定资源组中虚拟网络网关的主网关。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset
  • 操作IdVirtualNetworkGateways_Reset
ResetAsync(WaitUntil, String, CancellationToken)

重置指定资源组中虚拟网络网关的主网关。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset
  • 操作IdVirtualNetworkGateways_Reset
ResetVpnClientSharedKey(WaitUntil, CancellationToken)

重置指定资源组中虚拟网络网关的 VPN 客户端共享密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey
  • 操作IdVirtualNetworkGateways_ResetVpnClientSharedKey
ResetVpnClientSharedKeyAsync(WaitUntil, CancellationToken)

重置指定资源组中虚拟网络网关的 VPN 客户端共享密钥。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey
  • 操作IdVirtualNetworkGateways_ResetVpnClientSharedKey
SetTags(IDictionary<String,String>, CancellationToken)

将资源上的标记替换为给定集。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Get
SetTagsAsync(IDictionary<String,String>, CancellationToken)

将资源上的标记替换为给定集。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_Get
SetVpnclientIPsecParameters(WaitUntil, VpnClientIPsecParameters, CancellationToken)

“设置 VpnclientIpsecParameters”操作通过网络资源提供程序为指定资源组中虚拟网络网关的 P2S 客户端设置 vpnclient ipsec 策略。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters
  • 操作IdVirtualNetworkGateways_SetVpnclientIpsecParameters
SetVpnclientIPsecParametersAsync(WaitUntil, VpnClientIPsecParameters, CancellationToken)

“设置 VpnclientIpsecParameters”操作通过网络资源提供程序为指定资源组中虚拟网络网关的 P2S 客户端设置 vpnclient ipsec 策略。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters
  • 操作IdVirtualNetworkGateways_SetVpnclientIpsecParameters
StartPacketCapture(WaitUntil, VpnPacketCaptureStartContent, CancellationToken)

在指定资源组中的虚拟网络网关上启动数据包捕获。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture
  • 操作IdVirtualNetworkGateways_StartPacketCapture
StartPacketCaptureAsync(WaitUntil, VpnPacketCaptureStartContent, CancellationToken)

在指定资源组中的虚拟网络网关上启动数据包捕获。

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture
  • 操作IdVirtualNetworkGateways_StartPacketCapture
StopPacketCapture(WaitUntil, VpnPacketCaptureStopContent, CancellationToken)

停止指定资源组中的虚拟网络网关上的数据包捕获。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture
  • 操作IdVirtualNetworkGateways_StopPacketCapture
StopPacketCaptureAsync(WaitUntil, VpnPacketCaptureStopContent, CancellationToken)

停止指定资源组中的虚拟网络网关上的数据包捕获。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture
  • 操作IdVirtualNetworkGateways_StopPacketCapture
SupportedVpnDevices(CancellationToken)

获取支持的 vpn 设备的 xml 格式表示形式。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices
  • 操作IdVirtualNetworkGateways_SupportedVpnDevices
SupportedVpnDevicesAsync(CancellationToken)

获取支持的 vpn 设备的 xml 格式表示形式。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices
  • 操作IdVirtualNetworkGateways_SupportedVpnDevices
TryGetApiVersion(ResourceType, String)

获取 API 版本替代(如果已为当前客户端选项设置)。

(继承自 ArmResource)
Update(WaitUntil, NetworkTagsObject, CancellationToken)

汇报虚拟网络网关标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_UpdateTags
UpdateAsync(WaitUntil, NetworkTagsObject, CancellationToken)

汇报虚拟网络网关标记。

  • 请求路径/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}
  • 操作IdVirtualNetworkGateways_UpdateTags

扩展方法

GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

按名称 (GUID) 获取角色定义。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

按名称 (GUID) 获取角色定义。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • 操作IdRoleDefinitions_Get
GetAuthorizationRoleDefinitions(ArmResource)

获取 ArmResource 中 AuthorizationRoleDefinitionResources 的集合。

GetDenyAssignment(ArmResource, String, CancellationToken)

获取指定的拒绝分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

获取指定的拒绝分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignments(ArmResource)

获取 ArmResource 中 DenyAssignmentResources 的集合。

GetRoleAssignment(ArmResource, String, String, CancellationToken)

按范围和名称获取角色分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

按范围和名称获取角色分配。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignments(ArmResource)

获取 ArmResource 中 RoleAssignmentResources 的集合。

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

获取资源范围的指定角色分配计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色分配计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

获取指定的角色分配计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

获取指定的角色分配计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstances(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleInstanceResources 的集合。

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

获取指定的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

获取指定的角色分配计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequests(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleRequestResources 的集合。

GetRoleAssignmentSchedules(ArmResource)

获取 ArmResource 中 RoleAssignmentScheduleResources 的集合。

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

获取资源范围的指定角色资格计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色资格计划

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

获取指定的角色资格计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

获取指定的角色资格计划实例。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstances(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleInstanceResources 的集合。

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

获取指定的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

获取指定的角色资格计划请求。

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequests(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleRequestResources 的集合。

GetRoleEligibilitySchedules(ArmResource)

获取 ArmResource 中 RoleEligibilityScheduleResources 的集合。

GetRoleManagementPolicies(ArmResource)

获取 ArmResource 中 RoleManagementPolicyResources 的集合。

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略分配

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略分配

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • 操作IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignments(ArmResource)

获取 ArmResource 中 RoleManagementPolicyAssignmentResources 的集合。

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

获取资源范围的指定角色管理策略

  • 请求路径/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • 操作IdRoleManagementPolicies_Get
GetSystemAssignedIdentity(ArmResource)

获取一个 对象,该对象表示 SystemAssignedIdentityResource 以及可在 ArmResource 中对它执行的实例操作。

GetLinkerResource(ArmResource, String, CancellationToken)

返回给定名称的链接器资源。

  • 请求路径/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

返回给定名称的链接器资源。

  • 请求路径/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • 操作IdLinker_Get
GetLinkerResources(ArmResource)

获取 ArmResource 中 LinkerResources 的集合。

适用于