ManagementGroups interface

واجهة تمثل مجموعات الإدارة.

الأساليب

beginCreateOrUpdate(string, CreateManagementGroupRequest, ManagementGroupsCreateOrUpdateOptionalParams)

إنشاء مجموعة إدارة أو تحديثها. إذا تم إنشاء مجموعة إدارة بالفعل وتم إصدار طلب إنشاء لاحق بخصائص مختلفة، فسيتم تحديث خصائص مجموعة الإدارة.

beginCreateOrUpdateAndWait(string, CreateManagementGroupRequest, ManagementGroupsCreateOrUpdateOptionalParams)

إنشاء مجموعة إدارة أو تحديثها. إذا تم إنشاء مجموعة إدارة بالفعل وتم إصدار طلب إنشاء لاحق بخصائص مختلفة، فسيتم تحديث خصائص مجموعة الإدارة.

beginDelete(string, ManagementGroupsDeleteOptionalParams)

حذف مجموعة الإدارة. إذا كانت مجموعة الإدارة تحتوي على موارد تابعة، فسيفشل الطلب.

beginDeleteAndWait(string, ManagementGroupsDeleteOptionalParams)

حذف مجموعة الإدارة. إذا كانت مجموعة الإدارة تحتوي على موارد تابعة، فسيفشل الطلب.

get(string, ManagementGroupsGetOptionalParams)

احصل على تفاصيل مجموعة الإدارة.

list(ManagementGroupsListOptionalParams)

سرد مجموعات الإدارة للمستخدم المصادق عليه.

listDescendants(string, ManagementGroupsGetDescendantsOptionalParams)

سرد جميع الكيانات التي تنحدر من مجموعة إدارة.

update(string, PatchManagementGroupRequest, ManagementGroupsUpdateOptionalParams)

تحديث مجموعة إدارة.

تفاصيل الأسلوب

beginCreateOrUpdate(string, CreateManagementGroupRequest, ManagementGroupsCreateOrUpdateOptionalParams)

إنشاء مجموعة إدارة أو تحديثها. إذا تم إنشاء مجموعة إدارة بالفعل وتم إصدار طلب إنشاء لاحق بخصائص مختلفة، فسيتم تحديث خصائص مجموعة الإدارة.

function beginCreateOrUpdate(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<ManagementGroup>, ManagementGroup>>

المعلمات

groupId

string

معرف مجموعة الإدارة.

createManagementGroupRequest
CreateManagementGroupRequest

معلمات إنشاء مجموعة الإدارة.

options
ManagementGroupsCreateOrUpdateOptionalParams

معلمات الخيارات.

المرتجعات

Promise<PollerLike<@azure/core-lro.PollOperationState<ManagementGroup>, ManagementGroup>>

beginCreateOrUpdateAndWait(string, CreateManagementGroupRequest, ManagementGroupsCreateOrUpdateOptionalParams)

إنشاء مجموعة إدارة أو تحديثها. إذا تم إنشاء مجموعة إدارة بالفعل وتم إصدار طلب إنشاء لاحق بخصائص مختلفة، فسيتم تحديث خصائص مجموعة الإدارة.

function beginCreateOrUpdateAndWait(groupId: string, createManagementGroupRequest: CreateManagementGroupRequest, options?: ManagementGroupsCreateOrUpdateOptionalParams): Promise<ManagementGroup>

المعلمات

groupId

string

معرف مجموعة الإدارة.

createManagementGroupRequest
CreateManagementGroupRequest

معلمات إنشاء مجموعة الإدارة.

options
ManagementGroupsCreateOrUpdateOptionalParams

معلمات الخيارات.

المرتجعات

Promise<ManagementGroup>

beginDelete(string, ManagementGroupsDeleteOptionalParams)

حذف مجموعة الإدارة. إذا كانت مجموعة الإدارة تحتوي على موارد تابعة، فسيفشل الطلب.

function beginDelete(groupId: string, options?: ManagementGroupsDeleteOptionalParams): Promise<PollerLike<PollOperationState<ManagementGroupsDeleteResponse>, ManagementGroupsDeleteResponse>>

المعلمات

groupId

string

معرف مجموعة الإدارة.

options
ManagementGroupsDeleteOptionalParams

معلمات الخيارات.

المرتجعات

Promise<PollerLike<@azure/core-lro.PollOperationState<ManagementGroupsDeleteResponse>, ManagementGroupsDeleteResponse>>

beginDeleteAndWait(string, ManagementGroupsDeleteOptionalParams)

حذف مجموعة الإدارة. إذا كانت مجموعة الإدارة تحتوي على موارد تابعة، فسيفشل الطلب.

function beginDeleteAndWait(groupId: string, options?: ManagementGroupsDeleteOptionalParams): Promise<ManagementGroupsDeleteResponse>

المعلمات

groupId

string

معرف مجموعة الإدارة.

options
ManagementGroupsDeleteOptionalParams

معلمات الخيارات.

المرتجعات

get(string, ManagementGroupsGetOptionalParams)

احصل على تفاصيل مجموعة الإدارة.

function get(groupId: string, options?: ManagementGroupsGetOptionalParams): Promise<ManagementGroup>

المعلمات

groupId

string

معرف مجموعة الإدارة.

options
ManagementGroupsGetOptionalParams

معلمات الخيارات.

المرتجعات

Promise<ManagementGroup>

list(ManagementGroupsListOptionalParams)

سرد مجموعات الإدارة للمستخدم المصادق عليه.

function list(options?: ManagementGroupsListOptionalParams): PagedAsyncIterableIterator<ManagementGroupInfo, ManagementGroupInfo[], PageSettings>

المعلمات

options
ManagementGroupsListOptionalParams

معلمات الخيارات.

المرتجعات

listDescendants(string, ManagementGroupsGetDescendantsOptionalParams)

سرد جميع الكيانات التي تنحدر من مجموعة إدارة.

function listDescendants(groupId: string, options?: ManagementGroupsGetDescendantsOptionalParams): PagedAsyncIterableIterator<DescendantInfo, DescendantInfo[], PageSettings>

المعلمات

groupId

string

معرف مجموعة الإدارة.

options
ManagementGroupsGetDescendantsOptionalParams

معلمات الخيارات.

المرتجعات

update(string, PatchManagementGroupRequest, ManagementGroupsUpdateOptionalParams)

تحديث مجموعة إدارة.

function update(groupId: string, patchGroupRequest: PatchManagementGroupRequest, options?: ManagementGroupsUpdateOptionalParams): Promise<ManagementGroup>

المعلمات

groupId

string

معرف مجموعة الإدارة.

patchGroupRequest
PatchManagementGroupRequest

معلمات تصحيح مجموعة الإدارة.

options
ManagementGroupsUpdateOptionalParams

معلمات الخيارات.

المرتجعات

Promise<ManagementGroup>