Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get governanceInvitations from directory
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
* @param GovernanceInvitationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<GovernanceInvitationCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governanceinvitations?view=graph-rest-1.0 Find more info here
*/
public function get(?GovernanceInvitationsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -66,11 +67,12 @@ public function get(?GovernanceInvitationsRequestBuilderGetRequestConfiguration
}

/**
* Create new navigation property to governanceInvitations for directory
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
* @param GovernanceInvitation $body The request body
* @param GovernanceInvitationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<GovernanceInvitation|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governanceinvitations?view=graph-rest-1.0 Find more info here
*/
public function post(GovernanceInvitation $body, ?GovernanceInvitationsRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand All @@ -81,7 +83,7 @@ public function post(GovernanceInvitation $body, ?GovernanceInvitationsRequestBu
}

/**
* Get governanceInvitations from directory
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
* @param GovernanceInvitationsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -102,7 +104,7 @@ public function toGetRequestInformation(?GovernanceInvitationsRequestBuilderGetR
}

/**
* Create new navigation property to governanceInvitations for directory
* Create a new governanceInvitation to establish a governance relationship with a governed tenant. Invitations provide an alternative mechanism to governance requests for initiating relationships.
* @param GovernanceInvitation $body The request body
* @param GovernanceInvitationsRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Get governanceInvitations from directory
* Get a list of the governanceInvitation objects and their properties. This API method returns all governance invitations where the calling tenant is either the governing tenant or the governed tenant.
*/
class GovernanceInvitationsRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Delete navigation property governanceInvitations for directory
* Delete a governanceInvitation object.
* @param GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-delete?view=graph-rest-1.0 Find more info here
*/
public function delete(?GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
Expand All @@ -45,10 +46,11 @@ public function delete(?GovernanceInvitationItemRequestBuilderDeleteRequestConfi
}

/**
* Get governanceInvitations from directory
* Read the properties of a governanceInvitation object.
* @param GovernanceInvitationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<GovernanceInvitation|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governanceinvitation-get?view=graph-rest-1.0 Find more info here
*/
public function get(?GovernanceInvitationItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -74,7 +76,7 @@ public function patch(GovernanceInvitation $body, ?GovernanceInvitationItemReque
}

/**
* Delete navigation property governanceInvitations for directory
* Delete a governanceInvitation object.
* @param GovernanceInvitationItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -92,7 +94,7 @@ public function toDeleteRequestInformation(?GovernanceInvitationItemRequestBuild
}

/**
* Get governanceInvitations from directory
* Read the properties of a governanceInvitation object.
* @param GovernanceInvitationItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Get governanceInvitations from directory
* Read the properties of a governanceInvitation object.
*/
class GovernanceInvitationItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get governancePolicyTemplates from directory
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
* @param GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<TenantGovernancePolicyTemplateCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancepolicytemplates?view=graph-rest-1.0 Find more info here
*/
public function get(?GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -66,11 +67,12 @@ public function get(?GovernancePolicyTemplatesRequestBuilderGetRequestConfigurat
}

/**
* Create new navigation property to governancePolicyTemplates for directory
* Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision.
* @param TenantGovernancePolicyTemplate $body The request body
* @param GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<TenantGovernancePolicyTemplate|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-post-governancepolicytemplates?view=graph-rest-1.0 Find more info here
*/
public function post(TenantGovernancePolicyTemplate $body, ?GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPostRequestInformation($body, $requestConfiguration);
Expand All @@ -81,7 +83,7 @@ public function post(TenantGovernancePolicyTemplate $body, ?GovernancePolicyTemp
}

/**
* Get governancePolicyTemplates from directory
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
* @param GovernancePolicyTemplatesRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -102,7 +104,7 @@ public function toGetRequestInformation(?GovernancePolicyTemplatesRequestBuilder
}

/**
* Create new navigation property to governancePolicyTemplates for directory
* Create a new tenantGovernancePolicyTemplate that defines the configuration for establishing governance relationships, including role assignments and applications to provision.
* @param TenantGovernancePolicyTemplate $body The request body
* @param GovernancePolicyTemplatesRequestBuilderPostRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Get governancePolicyTemplates from directory
* Get a list of the tenantGovernancePolicyTemplate objects and their properties. Policy templates define the configuration that is applied when establishing governance relationships.
*/
class GovernancePolicyTemplatesRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Delete navigation property governancePolicyTemplates for directory
* Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships.
* @param TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<void|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-delete-governancepolicytemplates?view=graph-rest-1.0 Find more info here
*/
public function delete(?TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toDeleteRequestInformation($requestConfiguration);
Expand All @@ -45,10 +46,11 @@ public function delete(?TenantGovernancePolicyTemplateItemRequestBuilderDeleteRe
}

/**
* Get governancePolicyTemplates from directory
* Read the properties of a tenantGovernancePolicyTemplate object.
* @param TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<TenantGovernancePolicyTemplate|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-get?view=graph-rest-1.0 Find more info here
*/
public function get(?TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -59,11 +61,12 @@ public function get(?TenantGovernancePolicyTemplateItemRequestBuilderGetRequestC
}

/**
* Update the navigation property governancePolicyTemplates in directory
* Update the properties of a tenantGovernancePolicyTemplate object.
* @param TenantGovernancePolicyTemplate $body The request body
* @param TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<TenantGovernancePolicyTemplate|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-governancepolicytemplate-update?view=graph-rest-1.0 Find more info here
*/
public function patch(TenantGovernancePolicyTemplate $body, ?TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toPatchRequestInformation($body, $requestConfiguration);
Expand All @@ -74,7 +77,7 @@ public function patch(TenantGovernancePolicyTemplate $body, ?TenantGovernancePol
}

/**
* Delete navigation property governancePolicyTemplates for directory
* Delete a tenantGovernancePolicyTemplate object. You can't delete the default template or templates currently used by active relationships.
* @param TenantGovernancePolicyTemplateItemRequestBuilderDeleteRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -92,7 +95,7 @@ public function toDeleteRequestInformation(?TenantGovernancePolicyTemplateItemRe
}

/**
* Get governancePolicyTemplates from directory
* Read the properties of a tenantGovernancePolicyTemplate object.
* @param TenantGovernancePolicyTemplateItemRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand All @@ -113,7 +116,7 @@ public function toGetRequestInformation(?TenantGovernancePolicyTemplateItemReque
}

/**
* Update the navigation property governancePolicyTemplates in directory
* Update the properties of a tenantGovernancePolicyTemplate object.
* @param TenantGovernancePolicyTemplate $body The request body
* @param TenantGovernancePolicyTemplateItemRequestBuilderPatchRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Get governancePolicyTemplates from directory
* Read the properties of a tenantGovernancePolicyTemplate object.
*/
class TenantGovernancePolicyTemplateItemRequestBuilderGetQueryParameters
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,11 @@ public function __construct($pathParametersOrRawUrl, RequestAdapter $requestAdap
}

/**
* Get governanceRelationships from directory
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
* @param GovernanceRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return Promise<GovernanceRelationshipCollectionResponse|null>
* @throws Exception
* @link https://learn.microsoft.com/graph/api/tenantgovernanceservices-list-governancerelationships?view=graph-rest-1.0 Find more info here
*/
public function get(?GovernanceRelationshipsRequestBuilderGetRequestConfiguration $requestConfiguration = null): Promise {
$requestInfo = $this->toGetRequestInformation($requestConfiguration);
Expand All @@ -81,7 +82,7 @@ public function post(GovernanceRelationship $body, ?GovernanceRelationshipsReque
}

/**
* Get governanceRelationships from directory
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
* @param GovernanceRelationshipsRequestBuilderGetRequestConfiguration|null $requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return RequestInformation
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Microsoft\Kiota\Abstractions\QueryParameter;

/**
* Get governanceRelationships from directory
* Get a list of the governanceRelationship objects and their properties. This API method returns all governance relationships where the calling tenant is either the governing tenant or the governed tenant.
*/
class GovernanceRelationshipsRequestBuilderGetQueryParameters
{
Expand Down
Loading
Loading