VpnGatewayResource クラス

定義

VpnGateway を表すクラスと、それに対して実行できるインスタンス操作。 がある場合はResourceIdentifier、GetVpnGatewayResource メソッドを使用して のArmClientインスタンスから を構築VpnGatewayResourceできます。 それ以外の場合は、GetVpnGateway メソッドを使用して親リソース ResourceGroupResource から取得できます。

public class VpnGatewayResource : Azure.ResourceManager.ArmResource
type VpnGatewayResource = class
    inherit ArmResource
Public Class VpnGatewayResource
Inherits ArmResource
継承
VpnGatewayResource

コンストラクター

VpnGatewayResource()

モック作成のために クラスの VpnGatewayResource 新しいインスタンスを初期化します。

フィールド

ResourceType

操作のリソースの種類を取得します。

プロパティ

Client

このリソース クライアントの ArmClient 作成元を取得します。

(継承元 ArmResource)
Data

この機能を表すデータを取得します。

Diagnostics

このリソース クライアントの診断オプションを取得します。

(継承元 ArmResource)
Endpoint

このリソース クライアントのベース URI を取得します。

(継承元 ArmResource)
HasData

現在のインスタンスにデータがあるかどうかを取得します。

Id

リソース識別子を取得します。

(継承元 ArmResource)
Pipeline

このリソース クライアントのパイプラインを取得します。

(継承元 ArmResource)

メソッド

AddTag(String, String, CancellationToken)

現在のリソースにタグを追加します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Get
AddTagAsync(String, String, CancellationToken)

現在のリソースにタグを追加します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Get
CanUseTagResource(CancellationToken)

TagResource API が現在の環境にデプロイされているかどうかを確認します。

(継承元 ArmResource)
CanUseTagResourceAsync(CancellationToken)

TagResource API が現在の環境にデプロイされているかどうかを確認します。

(継承元 ArmResource)
CreateResourceIdentifier(String, String, String)

インスタンスのリソース識別子を VpnGatewayResource 生成します。

Delete(WaitUntil, CancellationToken)

仮想 wan vpn ゲートウェイを削除します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Delete
DeleteAsync(WaitUntil, CancellationToken)

仮想 wan vpn ゲートウェイを削除します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Delete
Get(CancellationToken)

仮想 wan vpn ゲートウェイの詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Get
GetAsync(CancellationToken)

仮想 wan vpn ゲートウェイの詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Get
GetAvailableLocations(CancellationToken)

使用可能なすべての地域の場所を一覧表示します。

(継承元 ArmResource)
GetAvailableLocationsAsync(CancellationToken)

使用可能なすべての地域の場所を一覧表示します。

(継承元 ArmResource)
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)

この操作では、名前と作成されたスコープを指定して、1 つのポリシー割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(継承元 ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

この操作では、名前と作成されたスコープを指定して、1 つのポリシー割り当てを取得します。

  • 要求パス/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(継承元 ArmResource)
GetPolicyAssignments()

ArmResource 内の PolicyAssignmentResources のコレクションを取得します。

(継承元 ArmResource)
GetTagResource()

ArmResource で実行できるインスタンス操作と共に TagResource を表すオブジェクトを取得します。

(継承元 ArmResource)
GetVpnConnection(String, CancellationToken)

VPN 接続の詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}
  • 操作IdVpnConnections_Get
GetVpnConnectionAsync(String, CancellationToken)

VPN 接続の詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}
  • 操作IdVpnConnections_Get
GetVpnConnections()

VpnGateway 内の VpnConnectionResources のコレクションを取得します。

GetVpnGatewayNatRule(String, CancellationToken)

nat ruleGet の詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}
  • 操作IdNatRules_Get
GetVpnGatewayNatRuleAsync(String, CancellationToken)

nat ruleGet の詳細を取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}
  • 操作IdNatRules_Get
GetVpnGatewayNatRules()

VpnGateway 内の VpnGatewayNatRuleResources のコレクションを取得します。

RemoveTag(String, CancellationToken)

リソースからキーによるタグを削除します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Get
RemoveTagAsync(String, CancellationToken)

リソースからキーによるタグを削除します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Get
Reset(WaitUntil, String, CancellationToken)

指定したリソース グループ内の VPN ゲートウェイのプライマリをリセットします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset
  • 操作IdVpnGateways_Reset
ResetAsync(WaitUntil, String, CancellationToken)

指定したリソース グループ内の VPN ゲートウェイのプライマリをリセットします。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset
  • 操作IdVpnGateways_Reset
SetTags(IDictionary<String,String>, CancellationToken)

リソースのタグを指定されたセットに置き換えます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Get
SetTagsAsync(IDictionary<String,String>, CancellationToken)

リソースのタグを指定されたセットに置き換えます。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_Get
StartPacketCapture(WaitUntil, VpnGatewayPacketCaptureStartContent, CancellationToken)

指定したリソース グループ内の VPN ゲートウェイでパケット キャプチャを開始します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture
  • 操作IdVpnGateways_StartPacketCapture
StartPacketCaptureAsync(WaitUntil, VpnGatewayPacketCaptureStartContent, CancellationToken)

指定したリソース グループ内の VPN ゲートウェイでパケット キャプチャを開始します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture
  • 操作IdVpnGateways_StartPacketCapture
StopPacketCapture(WaitUntil, VpnGatewayPacketCaptureStopContent, CancellationToken)

指定したリソース グループ内の VPN ゲートウェイでのパケット キャプチャを停止します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture
  • 操作IdVpnGateways_StopPacketCapture
StopPacketCaptureAsync(WaitUntil, VpnGatewayPacketCaptureStopContent, CancellationToken)

指定したリソース グループ内の VPN ゲートウェイでのパケット キャプチャを停止します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture
  • 操作IdVpnGateways_StopPacketCapture
TryGetApiVersion(ResourceType, String)

現在のクライアント オプションに対して設定されている場合は、API バージョンのオーバーライドを取得します。

(継承元 ArmResource)
Update(WaitUntil, NetworkTagsObject, CancellationToken)

仮想 wan vpn ゲートウェイ タグを更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_UpdateTags
UpdateAsync(WaitUntil, NetworkTagsObject, CancellationToken)

仮想 wan vpn ゲートウェイ タグを更新します。

  • 要求パス/サブスクリプション/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}
  • 操作IdVpnGateways_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)

リソース スコープの指定されたロール割り当てスケジュールを取得する

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール割り当てスケジュールを取得する

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • 操作IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

指定したロールの割り当てスケジュール インスタンスを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • 操作IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

指定したロールの割り当てスケジュール インスタンスを取得します。

  • Request Path/{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)

指定したロールの適格性スケジュール インスタンスを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

指定したロールの適格性スケジュール インスタンスを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • 操作IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstances(ArmResource)

ArmResource 内の RoleEligibilityScheduleInstanceResources のコレクションを取得します。

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

指定したロールの適格性スケジュール要求を取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • 操作IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

指定したロールの適格性スケジュール要求を取得します。

  • Request Path/{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)

リソース スコープの指定されたロール管理ポリシーの割り当てを取得する

  • Request Path/{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)

ArmResource で実行できるインスタンス操作と共に SystemAssignedIdentityResource を表すオブジェクトを取得します。

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 のコレクションを取得します。

適用対象