Freigeben über


MongoDBCollectionResource Klasse

Definition

Eine Klasse, die eine MongoDBCollection zusammen mit dem instance Vorgänge darstellt, die für sie ausgeführt werden können. Wenn Sie über einen ResourceIdentifier verfügen, können Sie eine MongoDBCollectionResource aus einer instance ArmClient der GetMongoDBCollectionResource-Methode erstellen. Andernfalls können Sie mithilfe der GetMongoDBCollection-Methode eine von der übergeordneten Ressource MongoDBDatabaseResource abrufen.

public class MongoDBCollectionResource : Azure.ResourceManager.ArmResource
type MongoDBCollectionResource = class
    inherit ArmResource
Public Class MongoDBCollectionResource
Inherits ArmResource
Vererbung
MongoDBCollectionResource

Konstruktoren

MongoDBCollectionResource()

Initialisiert eine neue instance der MongoDBCollectionResource -Klasse zum Mocking.

Felder

ResourceType

Ruft den Ressourcentyp für die Vorgänge ab.

Eigenschaften

Client

Ruft den ArmClient ab, aus dem dieser Ressourcenclient erstellt wurde.

(Geerbt von ArmResource)
Data

Ruft die Daten ab, die dieses Feature darstellen.

Diagnostics

Ruft die Diagnoseoptionen für diesen Ressourcenclient ab.

(Geerbt von ArmResource)
Endpoint

Ruft den Basis-URI für diesen Ressourcenclient ab.

(Geerbt von ArmResource)
HasData

Ruft ab, ob der aktuelle instance Über Daten verfügt oder nicht.

Id

Ruft den Ressourcenbezeichner ab.

(Geerbt von ArmResource)
Pipeline

Ruft die Pipeline für diesen Ressourcenclient ab.

(Geerbt von ArmResource)

Methoden

AddTag(String, String, CancellationToken)

Fügen Sie der aktuellen Ressource ein Tag hinzu.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_GetMongoDBCollection
AddTagAsync(String, String, CancellationToken)

Fügen Sie der aktuellen Ressource ein Tag hinzu.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_GetMongoDBCollection
CanUseTagResource(CancellationToken)

Überprüft, ob die TagResource-API in der aktuellen Umgebung bereitgestellt wird.

(Geerbt von ArmResource)
CanUseTagResourceAsync(CancellationToken)

Überprüft, ob die TagResource-API in der aktuellen Umgebung bereitgestellt wird.

(Geerbt von ArmResource)
CreateResourceIdentifier(String, String, String, String, String)

Generieren Sie den Ressourcenbezeichner eines MongoDBCollectionResource instance.

Delete(WaitUntil, CancellationToken)

Löscht eine vorhandene Azure Cosmos DB MongoDB-Sammlung.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_DeleteMongoDBCollection
DeleteAsync(WaitUntil, CancellationToken)

Löscht eine vorhandene Azure Cosmos DB MongoDB-Sammlung.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_DeleteMongoDBCollection
Get(CancellationToken)

Ruft die MongoDB-Auflistung unter einem vorhandenen Azure Cosmos DB-Datenbankkonto ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_GetMongoDBCollection
GetAsync(CancellationToken)

Ruft die MongoDB-Auflistung unter einem vorhandenen Azure Cosmos DB-Datenbankkonto ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_GetMongoDBCollection
GetAvailableLocations(CancellationToken)

Listet alle verfügbaren geografischen Standorte auf.

(Geerbt von ArmResource)
GetAvailableLocationsAsync(CancellationToken)

Listet alle verfügbaren geografischen Standorte auf.

(Geerbt von ArmResource)
GetManagementLock(String, CancellationToken)

Rufen Sie eine Verwaltungssperre nach Bereich ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Vorgangs-IdManagementLocks_GetByScope
(Geerbt von ArmResource)
GetManagementLockAsync(String, CancellationToken)

Rufen Sie eine Verwaltungssperre nach Bereich ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/locks/{lockName}
  • Vorgangs-IdManagementLocks_GetByScope
(Geerbt von ArmResource)
GetManagementLocks()

Ruft eine Auflistung von ManagementLockResources in ArmResource ab.

(Geerbt von ArmResource)
GetMongoDBCollectionPartitionMerge(WaitUntil, MergeParameters, CancellationToken)

Führt die Partitionen einer MongoDB-Sammlung zusammen

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/partitionMerge
  • Vorgang IdMongoDBResources_ListMongoDBCollectionPartitionMerge
GetMongoDBCollectionPartitionMergeAsync(WaitUntil, MergeParameters, CancellationToken)

Führt die Partitionen einer MongoDB-Sammlung zusammen

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/partitionMerge
  • Vorgang IdMongoDBResources_ListMongoDBCollectionPartitionMerge
GetMongoDBCollectionThroughputSetting()

Ruft ein -Objekt ab, das eine MongoDBCollectionThroughputSettingResource darstellt, zusammen mit den instance-Vorgängen, die in der MongoDBCollection ausgeführt werden können.

GetPolicyAssignment(String, CancellationToken)

Dieser Vorgang ruft eine einzelne Richtlinienzuweisung ab, wobei ihr Name und der Bereich angegeben sind, in dem sie erstellt wurde.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Vorgangs-IdPolicyAssignments_Get
(Geerbt von ArmResource)
GetPolicyAssignmentAsync(String, CancellationToken)

Dieser Vorgang ruft eine einzelne Richtlinienzuweisung ab, wobei ihr Name und der Bereich angegeben sind, in dem sie erstellt wurde.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/policyAssignments/{policyAssignmentName}
  • Vorgangs-IdPolicyAssignments_Get
(Geerbt von ArmResource)
GetPolicyAssignments()

Ruft eine Auflistung von PolicyAssignmentResources in ArmResource ab.

(Geerbt von ArmResource)
GetTagResource()

Ruft ein -Objekt ab, das eine TagResource zusammen mit den instance-Vorgängen darstellt, die in ArmResource ausgeführt werden können.

(Geerbt von ArmResource)
RemoveTag(String, CancellationToken)

Entfernt ein Tag nach Schlüssel aus der Ressource.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_GetMongoDBCollection
RemoveTagAsync(String, CancellationToken)

Entfernt ein Tag nach Schlüssel aus der Ressource.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_GetMongoDBCollection
RetrieveContinuousBackupInformation(WaitUntil, ContinuousBackupRestoreLocation, CancellationToken)

Ruft fortlaufende Sicherungsinformationen für eine Mongodb-Sammlung ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/retrieveContinuousBackupInformation
  • Vorgang IdMongoDBResources_RetrieveContinuousBackupInformation
RetrieveContinuousBackupInformationAsync(WaitUntil, ContinuousBackupRestoreLocation, CancellationToken)

Ruft fortlaufende Sicherungsinformationen für eine Mongodb-Sammlung ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}/retrieveContinuousBackupInformation
  • Vorgang IdMongoDBResources_RetrieveContinuousBackupInformation
SetTags(IDictionary<String,String>, CancellationToken)

Ersetzen Sie die Tags für die Ressource durch den angegebenen Satz.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_GetMongoDBCollection
SetTagsAsync(IDictionary<String,String>, CancellationToken)

Ersetzen Sie die Tags für die Ressource durch den angegebenen Satz.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_GetMongoDBCollection
TryGetApiVersion(ResourceType, String)

Ruft die API-Version außer Kraft, wenn sie für die aktuellen Clientoptionen festgelegt wurde.

(Geerbt von ArmResource)
Update(WaitUntil, MongoDBCollectionCreateOrUpdateContent, CancellationToken)

Erstellen oder Aktualisieren einer MongoDB-Sammlung von Azure Cosmos DB

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_CreateUpdateMongoDBCollection
UpdateAsync(WaitUntil, MongoDBCollectionCreateOrUpdateContent, CancellationToken)

Erstellen oder Aktualisieren einer MongoDB-Sammlung von Azure Cosmos DB

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}/mongodbDatabases/{databaseName}/collections/{collectionName}
  • Vorgang IdMongoDBResources_CreateUpdateMongoDBCollection

Erweiterungsmethoden

GetAuthorizationRoleDefinition(ArmResource, ResourceIdentifier, CancellationToken)

Abrufen der Rollendefinition nach Name (GUID).

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Vorgangs-IdRoleDefinitions_Get
GetAuthorizationRoleDefinitionAsync(ArmResource, ResourceIdentifier, CancellationToken)

Abrufen der Rollendefinition nach Name (GUID).

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleDefinitions/{roleDefinitionId}
  • Vorgangs-IdRoleDefinitions_Get
GetAuthorizationRoleDefinitions(ArmResource)

Ruft eine Auflistung von AuthorizationRoleDefinitionResources in armResource ab.

GetDenyAssignment(ArmResource, String, CancellationToken)

Rufen Sie die angegebene Ablehnungszuweisung ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Vorgangs-IdDenyAssignments_Get
GetDenyAssignmentAsync(ArmResource, String, CancellationToken)

Rufen Sie die angegebene Ablehnungszuweisung ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/denyAssignments/{denyAssignmentId}
  • Vorgangs-IdDenyAssignments_Get
GetDenyAssignments(ArmResource)

Ruft eine Auflistung von DenyAssignmentResources in ArmResource ab.

GetRoleAssignment(ArmResource, String, String, CancellationToken)

Rufen Sie eine Rollenzuweisung nach Bereich und Name ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Vorgangs-IdRoleAssignments_Get
GetRoleAssignmentAsync(ArmResource, String, String, CancellationToken)

Rufen Sie eine Rollenzuweisung nach Bereich und Name ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleAssignments/{roleAssignmentName}
  • Vorgangs-IdRoleAssignments_Get
GetRoleAssignments(ArmResource)

Ruft eine Auflistung von RoleAssignmentResources in ArmResource ab.

GetRoleAssignmentSchedule(ArmResource, String, CancellationToken)

Abrufen des angegebenen Rollenzuweisungszeitplans für einen Ressourcenbereich

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Vorgangs-IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleAsync(ArmResource, String, CancellationToken)

Abrufen des angegebenen Rollenzuweisungszeitplans für einen Ressourcenbereich

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleAssignmentSchedules/{roleAssignmentScheduleName}
  • Vorgangs-IdRoleAssignmentSchedules_Get
GetRoleAssignmentScheduleInstance(ArmResource, String, CancellationToken)

Ruft den angegebenen Rollenzuweisungszeitplan instance ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Vorgangs-IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstanceAsync(ArmResource, String, CancellationToken)

Ruft den angegebenen Rollenzuweisungszeitplan instance ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleInstances/{roleAssignmentScheduleInstanceName}
  • Vorgangs-IdRoleAssignmentScheduleInstances_Get
GetRoleAssignmentScheduleInstances(ArmResource)

Ruft eine Auflistung von RoleAssignmentScheduleInstanceResources in armResource ab.

GetRoleAssignmentScheduleRequest(ArmResource, String, CancellationToken)

Rufen Sie die angegebene Anforderung für den Zeitplan für die Rollenzuweisung ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Vorgangs-IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequestAsync(ArmResource, String, CancellationToken)

Rufen Sie die angegebene Anforderung für den Zeitplan für die Rollenzuweisung ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleAssignmentScheduleRequests/{roleAssignmentScheduleRequestName}
  • Vorgangs-IdRoleAssignmentScheduleRequests_Get
GetRoleAssignmentScheduleRequests(ArmResource)

Ruft eine Auflistung von RoleAssignmentScheduleRequestResources in armResource ab.

GetRoleAssignmentSchedules(ArmResource)

Ruft eine Auflistung von RoleAssignmentScheduleResources in armResource ab.

GetRoleEligibilitySchedule(ArmResource, String, CancellationToken)

Abrufen des angegebenen Rollenberechtigungszeitplans für einen Ressourcenbereich

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Vorgangs-IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleAsync(ArmResource, String, CancellationToken)

Abrufen des angegebenen Rollenberechtigungszeitplans für einen Ressourcenbereich

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleEligibilitySchedules/{roleEligibilityScheduleName}
  • Vorgangs-IdRoleEligibilitySchedules_Get
GetRoleEligibilityScheduleInstance(ArmResource, String, CancellationToken)

Ruft den angegebenen Rollenberechtigungszeitplan instance ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Vorgangs-IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstanceAsync(ArmResource, String, CancellationToken)

Ruft den angegebenen Rollenberechtigungszeitplan instance ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleInstances/{roleEligibilityScheduleInstanceName}
  • Vorgangs-IdRoleEligibilityScheduleInstances_Get
GetRoleEligibilityScheduleInstances(ArmResource)

Ruft eine Auflistung von RoleEligibilityScheduleInstanceResources in ArmResource ab.

GetRoleEligibilityScheduleRequest(ArmResource, String, CancellationToken)

Rufen Sie die angegebene Anforderung für den Rollenberechtigungszeitplan ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Vorgangs-IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequestAsync(ArmResource, String, CancellationToken)

Rufen Sie die angegebene Anforderung für den Rollenberechtigungszeitplan ab.

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleEligibilityScheduleRequests/{roleEligibilityScheduleRequestName}
  • Vorgangs-IdRoleEligibilityScheduleRequests_Get
GetRoleEligibilityScheduleRequests(ArmResource)

Ruft eine Auflistung von RoleEligibilityScheduleRequestResources in armResource ab.

GetRoleEligibilitySchedules(ArmResource)

Ruft eine Auflistung von RoleEligibilityScheduleResources in armResource ab.

GetRoleManagementPolicies(ArmResource)

Ruft eine Auflistung von RoleManagementPolicyResources in ArmResource ab.

GetRoleManagementPolicy(ArmResource, String, CancellationToken)

Abrufen der angegebenen Rollenverwaltungsrichtlinie für einen Ressourcenbereich

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Vorgangs-IdRoleManagementPolicies_Get
GetRoleManagementPolicyAssignment(ArmResource, String, CancellationToken)

Abrufen der angegebenen Rollenverwaltungsrichtlinienzuweisung für einen Ressourcenbereich

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Vorgangs-IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignmentAsync(ArmResource, String, CancellationToken)

Abrufen der angegebenen Rollenverwaltungsrichtlinienzuweisung für einen Ressourcenbereich

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleManagementPolicyAssignments/{roleManagementPolicyAssignmentName}
  • Vorgang IdRoleManagementPolicyAssignments_Get
GetRoleManagementPolicyAssignments(ArmResource)

Ruft eine Auflistung von RoleManagementPolicyAssignmentResources in ArmResource ab.

GetRoleManagementPolicyAsync(ArmResource, String, CancellationToken)

Abrufen der angegebenen Rollenverwaltungsrichtlinie für einen Ressourcenbereich

  • Anforderungspfad/{scope}/providers/Microsoft.Authorization/roleManagementPolicies/{roleManagementPolicyName}
  • Vorgang IdRoleManagementPolicies_Get
GetSystemAssignedIdentity(ArmResource)

Ruft ein -Objekt ab, das eine SystemAssignedIdentityResource darstellt, zusammen mit den instance-Vorgängen, die in ArmResource ausgeführt werden können.

GetLinkerResource(ArmResource, String, CancellationToken)

Gibt die Linkerressource für einen angegebenen Namen zurück.

  • Anforderungspfad/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Vorgang IdLinker_Get
GetLinkerResourceAsync(ArmResource, String, CancellationToken)

Gibt die Linkerressource für einen angegebenen Namen zurück.

  • Anforderungspfad/{resourceUri}/providers/Microsoft.ServiceLinker/linkers/{linkerName}
  • Vorgang IdLinker_Get
GetLinkerResources(ArmResource)

Ruft eine Auflistung von LinkerResources in ArmResource ab.

Gilt für: