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

GlobalRulestackResource 类

定义

表示 GlobalRulestack 的类,以及可对其进行执行的实例操作。 如果有 ,ResourceIdentifier可以使用 GetGlobalRulestackResource 方法从 的ArmClient实例构造 GlobalRulestackResource 。 否则,可以使用 GetGlobalRulestack 方法从其父资源 TenantResource 获取一个。

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

构造函数

GlobalRulestackResource()

初始化 类的新实例 GlobalRulestackResource 进行模拟。

字段

ResourceType

获取操作的资源类型。

属性

Client

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

(继承自 ArmResource)
Data

获取表示此功能的数据。

Diagnostics

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

(继承自 ArmResource)
Endpoint

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

(继承自 ArmResource)
HasData

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

Id

获取资源标识符。

(继承自 ArmResource)
Pipeline

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

(继承自 ArmResource)

方法

CanUseTagResource(CancellationToken)

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

(继承自 ArmResource)
CanUseTagResourceAsync(CancellationToken)

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

(继承自 ArmResource)
Commit(WaitUntil, CancellationToken)

提交规则堆栈配置

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/commit
  • 操作IdGlobalRulestack_commit
CommitAsync(WaitUntil, CancellationToken)

提交规则堆栈配置

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/commit
  • 操作IdGlobalRulestack_commit
CreateResourceIdentifier(String)

生成实例的资源标识符 GlobalRulestackResource

Delete(WaitUntil, CancellationToken)

删除 GlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • 操作IdGlobalRulestack_Delete
DeleteAsync(WaitUntil, CancellationToken)

删除 GlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • 操作IdGlobalRulestack_Delete
Get(CancellationToken)

获取 GlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • 操作IdGlobalRulestack_Get
GetAdvancedSecurityObjects(AdvancedSecurityObjectType, String, Nullable<Int32>, CancellationToken)

获取高级安全对象列表

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listAdvancedSecurityObjects
  • 操作IdGlobalRulestack_listAdvancedSecurityObjects
GetAdvancedSecurityObjectsAsync(AdvancedSecurityObjectType, String, Nullable<Int32>, CancellationToken)

获取高级安全对象列表

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listAdvancedSecurityObjects
  • 操作IdGlobalRulestack_listAdvancedSecurityObjects
GetAppIds(String, String, String, Nullable<Int32>, CancellationToken)

适用于 GlobalRulestack ApiVersion 的 AppId 列表

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listAppIds
  • 操作IdGlobalRulestack_listAppIds
GetAppIdsAsync(String, String, String, Nullable<Int32>, CancellationToken)

适用于 GlobalRulestack ApiVersion 的 AppId 列表

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listAppIds
  • 操作IdGlobalRulestack_listAppIds
GetAsync(CancellationToken)

获取 GlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • 操作IdGlobalRulestack_Get
GetAvailableLocations(CancellationToken)

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

(继承自 ArmResource)
GetAvailableLocationsAsync(CancellationToken)

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

(继承自 ArmResource)
GetChangeLog(CancellationToken)

获取更改日志

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/getChangeLog
  • 操作IdGlobalRulestack_getChangeLog
GetChangeLogAsync(CancellationToken)

获取更改日志

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/getChangeLog
  • 操作IdGlobalRulestack_getChangeLog
GetCountries(String, Nullable<Int32>, CancellationToken)

Rulestack 的国家/地区列表

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listCountries
  • 操作IdGlobalRulestack_listCountries
GetCountriesAsync(String, Nullable<Int32>, CancellationToken)

Rulestack 的国家/地区列表

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listCountries
  • 操作IdGlobalRulestack_listCountries
GetFirewalls(CancellationToken)

与 Rulestack 关联的防火墙列表

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listFirewalls
  • 操作IdGlobalRulestack_listFirewalls
GetFirewallsAsync(CancellationToken)

与 Rulestack 关联的防火墙列表

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listFirewalls
  • 操作IdGlobalRulestack_listFirewalls
GetGlobalRulestackCertificateObject(String, CancellationToken)

获取 CertificateObjectGlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/certificates/{name}
  • 操作IdCertificateObjectGlobalRulestack_Get
GetGlobalRulestackCertificateObjectAsync(String, CancellationToken)

获取 CertificateObjectGlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/certificates/{name}
  • 操作IdCertificateObjectGlobalRulestack_Get
GetGlobalRulestackCertificateObjects()

获取 GlobalRulestack 中的 GlobalRulestackCertificateObjectResources 的集合。

GetGlobalRulestackFqdn(String, CancellationToken)

获取 FqdnListGlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/fqdnlists/{name}
  • 操作IdFqdnListGlobalRulestack_Get
GetGlobalRulestackFqdnAsync(String, CancellationToken)

获取 FqdnListGlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/fqdnlists/{name}
  • 操作IdFqdnListGlobalRulestack_Get
GetGlobalRulestackFqdns()

获取 GlobalRulestack 中的 GlobalRulestackFqdnResources 集合。

GetGlobalRulestackPrefix(String, CancellationToken)

获取 PrefixListGlobalRulestackResource

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/prefixlists/{name}
  • 操作IdPrefixListGlobalRulestack_Get
GetGlobalRulestackPrefixAsync(String, CancellationToken)

获取 PrefixListGlobalRulestackResource

  • 请求路径/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/prefixlists/{name}
  • 操作IdPrefixListGlobalRulestack_Get
GetGlobalRulestackPrefixes()

获取 GlobalRulestack 中的 GlobalRulestackPrefixResources 集合。

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)
GetPostRulestackRule(String, CancellationToken)

获取 PostRulesResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}
  • 操作IdPostRules_Get
GetPostRulestackRuleAsync(String, CancellationToken)

获取 PostRulesResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/postRules/{priority}
  • 操作IdPostRules_Get
GetPostRulestackRules()

获取 GlobalRulestack 中的 PostRulestackRuleResources 集合。

GetPredefinedUrlCategories(String, Nullable<Int32>, CancellationToken)

列出规则堆栈的预定义 URL 类别

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listPredefinedUrlCategories
  • 操作IdGlobalRulestack_listPredefinedUrlCategories
GetPredefinedUrlCategoriesAsync(String, Nullable<Int32>, CancellationToken)

列出规则堆栈的预定义 URL 类别

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listPredefinedUrlCategories
  • 操作IdGlobalRulestack_listPredefinedUrlCategories
GetPreRulestackRule(String, CancellationToken)

获取 PreRulesResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/preRules/{priority}
  • 操作IdPreRules_Get
GetPreRulestackRuleAsync(String, CancellationToken)

获取 PreRulesResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/preRules/{priority}
  • 操作IdPreRules_Get
GetPreRulestackRules()

获取 GlobalRulestack 中的 PreRulestackRuleResources 集合。

GetSecurityServices(RulestackSecurityServiceType, String, Nullable<Int32>, CancellationToken)

列出用于 rulestack 的安全服务

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listSecurityServices
  • 操作IdGlobalRulestack_listSecurityServices
GetSecurityServicesAsync(RulestackSecurityServiceType, String, Nullable<Int32>, CancellationToken)

列出用于 rulestack 的安全服务

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/listSecurityServices
  • 操作IdGlobalRulestack_listSecurityServices
GetTagResource()

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

(继承自 ArmResource)
Revert(CancellationToken)

还原规则堆栈配置

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/还原
  • 操作IdGlobalRulestack_revert
RevertAsync(CancellationToken)

还原规则堆栈配置

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}/还原
  • 操作IdGlobalRulestack_revert
TryGetApiVersion(ResourceType, String)

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

(继承自 ArmResource)
Update(GlobalRulestackPatch, CancellationToken)

更新 GlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • 操作IdGlobalRulestack_Update
UpdateAsync(GlobalRulestackPatch, CancellationToken)

更新 GlobalRulestackResource

  • Request Path/providers/PaloAltoNetworks.Cloudngfw/globalRulestacks/{globalRulestackName}
  • 操作IdGlobalRulestack_Update

扩展方法

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 集合。

适用于