Interface OrganizationOrganizationsClient
-
public interface OrganizationOrganizationsClient
An instance of this class provides access to all the operations defined in OrganizationOrganizationsClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphOrganizationInner
createOrganization(MicrosoftGraphOrganizationInner body)
Add new entity to organization.Mono<MicrosoftGraphOrganizationInner>
createOrganizationAsync(MicrosoftGraphOrganizationInner body)
Add new entity to organization.com.azure.core.http.rest.Response<MicrosoftGraphOrganizationInner>
createOrganizationWithResponse(MicrosoftGraphOrganizationInner body, com.azure.core.util.Context context)
Add new entity to organization.Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrganizationInner>>
createOrganizationWithResponseAsync(MicrosoftGraphOrganizationInner body)
Add new entity to organization.void
deleteOrganization(String organizationId)
Delete entity from organization.Mono<Void>
deleteOrganizationAsync(String organizationId)
Delete entity from organization.Mono<Void>
deleteOrganizationAsync(String organizationId, String ifMatch)
Delete entity from organization.com.azure.core.http.rest.Response<Void>
deleteOrganizationWithResponse(String organizationId, String ifMatch, com.azure.core.util.Context context)
Delete entity from organization.Mono<com.azure.core.http.rest.Response<Void>>
deleteOrganizationWithResponseAsync(String organizationId, String ifMatch)
Delete entity from organization.MicrosoftGraphOrganizationInner
getOrganization(String organizationId)
Get entity from organization by key.Mono<MicrosoftGraphOrganizationInner>
getOrganizationAsync(String organizationId)
Get entity from organization by key.Mono<MicrosoftGraphOrganizationInner>
getOrganizationAsync(String organizationId, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand)
Get entity from organization by key.com.azure.core.http.rest.Response<MicrosoftGraphOrganizationInner>
getOrganizationWithResponse(String organizationId, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand, com.azure.core.util.Context context)
Get entity from organization by key.Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrganizationInner>>
getOrganizationWithResponseAsync(String organizationId, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand)
Get entity from organization by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrganizationInner>
listOrganization()
Get entities from organization.com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrganizationInner>
listOrganization(Integer top, Integer skip, String search, String filter, Boolean count, List<OrganizationOrganizationOrderby> orderby, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand, com.azure.core.util.Context context)
Get entities from organization.com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrganizationInner>
listOrganizationAsync()
Get entities from organization.com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrganizationInner>
listOrganizationAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<OrganizationOrganizationOrderby> orderby, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand)
Get entities from organization.void
updateOrganization(String organizationId, MicrosoftGraphOrganizationInner body)
Update entity in organization.Mono<Void>
updateOrganizationAsync(String organizationId, MicrosoftGraphOrganizationInner body)
Update entity in organization.com.azure.core.http.rest.Response<Void>
updateOrganizationWithResponse(String organizationId, MicrosoftGraphOrganizationInner body, com.azure.core.util.Context context)
Update entity in organization.Mono<com.azure.core.http.rest.Response<Void>>
updateOrganizationWithResponseAsync(String organizationId, MicrosoftGraphOrganizationInner body)
Update entity in organization.
-
-
-
Method Detail
-
listOrganizationAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrganizationInner> listOrganizationAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<OrganizationOrganizationOrderby> orderby, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand)
Get entities from organization.- Parameters:
top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entities from organization.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listOrganizationAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphOrganizationInner> listOrganizationAsync()
Get entities from organization.- Returns:
- entities from organization.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listOrganization
com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrganizationInner> listOrganization()
Get entities from organization.- Returns:
- entities from organization.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listOrganization
com.azure.core.http.rest.PagedIterable<MicrosoftGraphOrganizationInner> listOrganization(Integer top, Integer skip, String search, String filter, Boolean count, List<OrganizationOrganizationOrderby> orderby, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand, com.azure.core.util.Context context)
Get entities from organization.- Parameters:
top
- Show only the first n items.skip
- Skip the first n items.search
- Search items by search phrases.filter
- Filter items by property values.count
- Include count of items.orderby
- Order items by property values.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- entities from organization.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrganizationWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrganizationInner>> createOrganizationWithResponseAsync(MicrosoftGraphOrganizationInner body)
Add new entity to organization.- Parameters:
body
- New entity.- Returns:
- the organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrganizationAsync
Mono<MicrosoftGraphOrganizationInner> createOrganizationAsync(MicrosoftGraphOrganizationInner body)
Add new entity to organization.- Parameters:
body
- New entity.- Returns:
- the organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrganization
MicrosoftGraphOrganizationInner createOrganization(MicrosoftGraphOrganizationInner body)
Add new entity to organization.- Parameters:
body
- New entity.- Returns:
- the organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
createOrganizationWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphOrganizationInner> createOrganizationWithResponse(MicrosoftGraphOrganizationInner body, com.azure.core.util.Context context)
Add new entity to organization.- Parameters:
body
- New entity.context
- The context to associate with this operation.- Returns:
- the organization resource represents an instance of global settings and resources which operate and are provisioned at the tenant-level.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOrganizationWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphOrganizationInner>> getOrganizationWithResponseAsync(String organizationId, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand)
Get entity from organization by key.- Parameters:
organizationId
- key: id of organization.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from organization by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOrganizationAsync
Mono<MicrosoftGraphOrganizationInner> getOrganizationAsync(String organizationId, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand)
Get entity from organization by key.- Parameters:
organizationId
- key: id of organization.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from organization by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOrganizationAsync
Mono<MicrosoftGraphOrganizationInner> getOrganizationAsync(String organizationId)
Get entity from organization by key.- Parameters:
organizationId
- key: id of organization.- Returns:
- entity from organization by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOrganization
MicrosoftGraphOrganizationInner getOrganization(String organizationId)
Get entity from organization by key.- Parameters:
organizationId
- key: id of organization.- Returns:
- entity from organization by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getOrganizationWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphOrganizationInner> getOrganizationWithResponse(String organizationId, List<OrganizationOrganizationSelect> select, List<OrganizationOrganizationExpand> expand, com.azure.core.util.Context context)
Get entity from organization by key.- Parameters:
organizationId
- key: id of organization.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- entity from organization by key.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateOrganizationWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateOrganizationWithResponseAsync(String organizationId, MicrosoftGraphOrganizationInner body)
Update entity in organization.- Parameters:
organizationId
- key: id of organization.body
- New property values.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateOrganizationAsync
Mono<Void> updateOrganizationAsync(String organizationId, MicrosoftGraphOrganizationInner body)
Update entity in organization.- Parameters:
organizationId
- key: id of organization.body
- New property values.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateOrganization
void updateOrganization(String organizationId, MicrosoftGraphOrganizationInner body)
Update entity in organization.- Parameters:
organizationId
- key: id of organization.body
- New property values.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
updateOrganizationWithResponse
com.azure.core.http.rest.Response<Void> updateOrganizationWithResponse(String organizationId, MicrosoftGraphOrganizationInner body, com.azure.core.util.Context context)
Update entity in organization.- Parameters:
organizationId
- key: id of organization.body
- New property values.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOrganizationWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteOrganizationWithResponseAsync(String organizationId, String ifMatch)
Delete entity from organization.- Parameters:
organizationId
- key: id of organization.ifMatch
- ETag.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOrganizationAsync
Mono<Void> deleteOrganizationAsync(String organizationId, String ifMatch)
Delete entity from organization.- Parameters:
organizationId
- key: id of organization.ifMatch
- ETag.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOrganizationAsync
Mono<Void> deleteOrganizationAsync(String organizationId)
Delete entity from organization.- Parameters:
organizationId
- key: id of organization.- Returns:
- the completion.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOrganization
void deleteOrganization(String organizationId)
Delete entity from organization.- Parameters:
organizationId
- key: id of organization.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
deleteOrganizationWithResponse
com.azure.core.http.rest.Response<Void> deleteOrganizationWithResponse(String organizationId, String ifMatch, com.azure.core.util.Context context)
Delete entity from organization.- Parameters:
organizationId
- key: id of organization.ifMatch
- ETag.context
- The context to associate with this operation.- Returns:
- the response.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
-