次の方法で共有


SharedGalleryResource クラス

定義

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

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

コンストラクター

SharedGalleryResource()

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

フィールド

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)
CreateResourceIdentifier(String, AzureLocation, String)

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

Get(CancellationToken)

サブスクリプション ID またはテナント ID で共有ギャラリーを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}
  • 操作IdSharedGalleries_Get
GetAsync(CancellationToken)

サブスクリプション ID またはテナント ID で共有ギャラリーを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}
  • 操作IdSharedGalleries_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 つのポリシー割り当てを取得します。

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

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

  • Request Path/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • 操作IdPolicyAssignments_Get
(継承元 ArmResource)
GetPolicyAssignments()

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

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

サブスクリプション ID またはテナント ID で共有ギャラリー イメージを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}
  • 操作IdSharedGalleryImages_Get
GetSharedGalleryImageAsync(String, CancellationToken)

サブスクリプション ID またはテナント ID で共有ギャラリー イメージを取得します。

  • 要求パス/サブスクリプション/{subscriptionId}/providers/Microsoft.Compute/locations/{location}/sharedGalleries/{galleryUniqueName}/images/{galleryImageName}
  • 操作IdSharedGalleryImages_Get
GetSharedGalleryImages()

SharedGallery 内の SharedGalleryImageResources のコレクションを取得します。

GetTagResource()

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

(継承元 ArmResource)
TryGetApiVersion(ResourceType, String)

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

(継承元 ArmResource)

拡張メソッド

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)

指定した拒否割り当てを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

指定した拒否割り当てを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • 操作IdDenyAssignments_Get
GetDenyAssignments(ArmResource)

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

GetRoleAssignment(ArmResource, String, String, CancellationToken)

スコープと名前でロールの割り当てを取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • 操作IdRoleAssignments_Get
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

スコープと名前でロールの割り当てを取得します。

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

指定したロール割り当てスケジュール要求を取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

指定したロール割り当てスケジュール要求を取得します。

  • Request Path/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • 操作IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequests(ArmResource)

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

GetRoleAssignmentSchedules(ArmResource)

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

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール適格性スケジュールを取得する

  • Request Path/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • 操作IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

リソース スコープの指定されたロール適格性スケジュールを取得する

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

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

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

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

適用対象