編輯

共用方式為


delegatedAdminRelationshipRequest resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents a request specific to a delegated admin relationship between a partner and a customer. It allows the Microsoft partner administrator to take actions on a relationship such as locking a relationship for approval or terminating a relationship. It also allows the Microsoft indirect reseller partner administrator to approve or reject a relationship created for them by a Microsoft indirect provider partner.

Base type of resellerDelegatedAdminRelationship.

Methods

Method Return type Description
List delegatedAdminRelationshipRequest collection Get a list of the delegatedAdminRelationshipRequest objects and their properties.
Create delegatedAdminRelationshipRequest Create a new delegatedAdminRelationshipRequest object.
Get delegatedAdminRelationshipRequest Read the properties and relationships of a delegatedAdminRelationshipRequest object.

Properties

Property Type Description
action delegatedAdminRelationshipRequestAction The action to be performed on the delegated admin relationship. The possible values are: lockForApproval, approve, terminate, unknownFutureValue, reject. Note that you must use the Prefer: include-unknown-enum-members request header to get the following value(s) in this evolvable enum: reject. For a partner to finalize a relationship in the created status, set the action to lockForApproval. For a partner to terminate a relationship in the active status, set the action to terminate. For an indirect reseller to approve a relationship created by an indirect provider in the approvalPending status, set the action to approve. For an indirect reseller to reject a relationship created by an indirect provider in the approvalPending status, set the action to reject.
createdDateTime DateTimeOffset The date and time in ISO 8601 format and in UTC time when the relationship request was created. Read-only.
id String The unique identifier of the relationship request. Read-only. Inherited from entity.
lastModifiedDateTime DateTimeOffset The date and time in ISO 8601 format and UTC time when this relationship request was last modified. Read-only.
status delegatedAdminRelationshipRequestStatus The status of the request. Read-only. The possible values are: created, pending, succeeded, failed, unknownFutureValue.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.delegatedAdminRelationshipRequest",
  "action": "String",
  "createdDateTime": "String (timestamp)",
  "id": "String (identifier)",
  "lastModifiedDateTime": "String (timestamp)",
  "status": "String"
}