Interface DirectoryRoleTemplatesDirectoryRoleTemplatesClient
-
public interface DirectoryRoleTemplatesDirectoryRoleTemplatesClient
An instance of this class provides access to all the operations defined in DirectoryRoleTemplatesDirectoryRoleTemplatesClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MicrosoftGraphDirectoryRoleTemplateInner
createDirectoryRoleTemplate(MicrosoftGraphDirectoryRoleTemplateInner body)
Add new entity to directoryRoleTemplates.Mono<MicrosoftGraphDirectoryRoleTemplateInner>
createDirectoryRoleTemplateAsync(MicrosoftGraphDirectoryRoleTemplateInner body)
Add new entity to directoryRoleTemplates.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleTemplateInner>
createDirectoryRoleTemplateWithResponse(MicrosoftGraphDirectoryRoleTemplateInner body, com.azure.core.util.Context context)
Add new entity to directoryRoleTemplates.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleTemplateInner>>
createDirectoryRoleTemplateWithResponseAsync(MicrosoftGraphDirectoryRoleTemplateInner body)
Add new entity to directoryRoleTemplates.void
deleteDirectoryRoleTemplate(String directoryRoleTemplateId)
Delete entity from directoryRoleTemplates.Mono<Void>
deleteDirectoryRoleTemplateAsync(String directoryRoleTemplateId)
Delete entity from directoryRoleTemplates.Mono<Void>
deleteDirectoryRoleTemplateAsync(String directoryRoleTemplateId, String ifMatch)
Delete entity from directoryRoleTemplates.com.azure.core.http.rest.Response<Void>
deleteDirectoryRoleTemplateWithResponse(String directoryRoleTemplateId, String ifMatch, com.azure.core.util.Context context)
Delete entity from directoryRoleTemplates.Mono<com.azure.core.http.rest.Response<Void>>
deleteDirectoryRoleTemplateWithResponseAsync(String directoryRoleTemplateId, String ifMatch)
Delete entity from directoryRoleTemplates.MicrosoftGraphDirectoryRoleTemplateInner
getDirectoryRoleTemplate(String directoryRoleTemplateId)
Get entity from directoryRoleTemplates by key.Mono<MicrosoftGraphDirectoryRoleTemplateInner>
getDirectoryRoleTemplateAsync(String directoryRoleTemplateId)
Get entity from directoryRoleTemplates by key.Mono<MicrosoftGraphDirectoryRoleTemplateInner>
getDirectoryRoleTemplateAsync(String directoryRoleTemplateId, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand)
Get entity from directoryRoleTemplates by key.com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleTemplateInner>
getDirectoryRoleTemplateWithResponse(String directoryRoleTemplateId, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand, com.azure.core.util.Context context)
Get entity from directoryRoleTemplates by key.Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleTemplateInner>>
getDirectoryRoleTemplateWithResponseAsync(String directoryRoleTemplateId, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand)
Get entity from directoryRoleTemplates by key.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryRoleTemplateInner>
listDirectoryRoleTemplate()
Get entities from directoryRoleTemplates.com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryRoleTemplateInner>
listDirectoryRoleTemplate(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryRoleTemplatesDirectoryRoleTemplateOrderby> orderby, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand, com.azure.core.util.Context context)
Get entities from directoryRoleTemplates.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryRoleTemplateInner>
listDirectoryRoleTemplateAsync()
Get entities from directoryRoleTemplates.com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryRoleTemplateInner>
listDirectoryRoleTemplateAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryRoleTemplatesDirectoryRoleTemplateOrderby> orderby, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand)
Get entities from directoryRoleTemplates.void
updateDirectoryRoleTemplate(String directoryRoleTemplateId, MicrosoftGraphDirectoryRoleTemplateInner body)
Update entity in directoryRoleTemplates.Mono<Void>
updateDirectoryRoleTemplateAsync(String directoryRoleTemplateId, MicrosoftGraphDirectoryRoleTemplateInner body)
Update entity in directoryRoleTemplates.com.azure.core.http.rest.Response<Void>
updateDirectoryRoleTemplateWithResponse(String directoryRoleTemplateId, MicrosoftGraphDirectoryRoleTemplateInner body, com.azure.core.util.Context context)
Update entity in directoryRoleTemplates.Mono<com.azure.core.http.rest.Response<Void>>
updateDirectoryRoleTemplateWithResponseAsync(String directoryRoleTemplateId, MicrosoftGraphDirectoryRoleTemplateInner body)
Update entity in directoryRoleTemplates.
-
-
-
Method Detail
-
listDirectoryRoleTemplateAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryRoleTemplateInner> listDirectoryRoleTemplateAsync(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryRoleTemplatesDirectoryRoleTemplateOrderby> orderby, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand)
Get entities from directoryRoleTemplates.- 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 directoryRoleTemplates.
- 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.
-
listDirectoryRoleTemplateAsync
com.azure.core.http.rest.PagedFlux<MicrosoftGraphDirectoryRoleTemplateInner> listDirectoryRoleTemplateAsync()
Get entities from directoryRoleTemplates.- Returns:
- entities from directoryRoleTemplates.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listDirectoryRoleTemplate
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryRoleTemplateInner> listDirectoryRoleTemplate()
Get entities from directoryRoleTemplates.- Returns:
- entities from directoryRoleTemplates.
- Throws:
OdataErrorMainException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listDirectoryRoleTemplate
com.azure.core.http.rest.PagedIterable<MicrosoftGraphDirectoryRoleTemplateInner> listDirectoryRoleTemplate(Integer top, Integer skip, String search, String filter, Boolean count, List<DirectoryRoleTemplatesDirectoryRoleTemplateOrderby> orderby, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand, com.azure.core.util.Context context)
Get entities from directoryRoleTemplates.- 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 directoryRoleTemplates.
- 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.
-
createDirectoryRoleTemplateWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleTemplateInner>> createDirectoryRoleTemplateWithResponseAsync(MicrosoftGraphDirectoryRoleTemplateInner body)
Add new entity to directoryRoleTemplates.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory object.
- 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.
-
createDirectoryRoleTemplateAsync
Mono<MicrosoftGraphDirectoryRoleTemplateInner> createDirectoryRoleTemplateAsync(MicrosoftGraphDirectoryRoleTemplateInner body)
Add new entity to directoryRoleTemplates.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory object.
- 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.
-
createDirectoryRoleTemplate
MicrosoftGraphDirectoryRoleTemplateInner createDirectoryRoleTemplate(MicrosoftGraphDirectoryRoleTemplateInner body)
Add new entity to directoryRoleTemplates.- Parameters:
body
- New entity.- Returns:
- represents an Azure Active Directory object.
- 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.
-
createDirectoryRoleTemplateWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleTemplateInner> createDirectoryRoleTemplateWithResponse(MicrosoftGraphDirectoryRoleTemplateInner body, com.azure.core.util.Context context)
Add new entity to directoryRoleTemplates.- Parameters:
body
- New entity.context
- The context to associate with this operation.- Returns:
- represents an Azure Active Directory object.
- 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.
-
getDirectoryRoleTemplateWithResponseAsync
Mono<com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleTemplateInner>> getDirectoryRoleTemplateWithResponseAsync(String directoryRoleTemplateId, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand)
Get entity from directoryRoleTemplates by key.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from directoryRoleTemplates 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.
-
getDirectoryRoleTemplateAsync
Mono<MicrosoftGraphDirectoryRoleTemplateInner> getDirectoryRoleTemplateAsync(String directoryRoleTemplateId, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand)
Get entity from directoryRoleTemplates by key.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.select
- Select properties to be returned.expand
- Expand related entities.- Returns:
- entity from directoryRoleTemplates 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.
-
getDirectoryRoleTemplateAsync
Mono<MicrosoftGraphDirectoryRoleTemplateInner> getDirectoryRoleTemplateAsync(String directoryRoleTemplateId)
Get entity from directoryRoleTemplates by key.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.- Returns:
- entity from directoryRoleTemplates 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.
-
getDirectoryRoleTemplate
MicrosoftGraphDirectoryRoleTemplateInner getDirectoryRoleTemplate(String directoryRoleTemplateId)
Get entity from directoryRoleTemplates by key.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.- Returns:
- entity from directoryRoleTemplates 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.
-
getDirectoryRoleTemplateWithResponse
com.azure.core.http.rest.Response<MicrosoftGraphDirectoryRoleTemplateInner> getDirectoryRoleTemplateWithResponse(String directoryRoleTemplateId, List<DirectoryRoleTemplatesDirectoryRoleTemplateSelect> select, List<String> expand, com.azure.core.util.Context context)
Get entity from directoryRoleTemplates by key.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.select
- Select properties to be returned.expand
- Expand related entities.context
- The context to associate with this operation.- Returns:
- entity from directoryRoleTemplates 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.
-
updateDirectoryRoleTemplateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> updateDirectoryRoleTemplateWithResponseAsync(String directoryRoleTemplateId, MicrosoftGraphDirectoryRoleTemplateInner body)
Update entity in directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.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.
-
updateDirectoryRoleTemplateAsync
Mono<Void> updateDirectoryRoleTemplateAsync(String directoryRoleTemplateId, MicrosoftGraphDirectoryRoleTemplateInner body)
Update entity in directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.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.
-
updateDirectoryRoleTemplate
void updateDirectoryRoleTemplate(String directoryRoleTemplateId, MicrosoftGraphDirectoryRoleTemplateInner body)
Update entity in directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.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.
-
updateDirectoryRoleTemplateWithResponse
com.azure.core.http.rest.Response<Void> updateDirectoryRoleTemplateWithResponse(String directoryRoleTemplateId, MicrosoftGraphDirectoryRoleTemplateInner body, com.azure.core.util.Context context)
Update entity in directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.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.
-
deleteDirectoryRoleTemplateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> deleteDirectoryRoleTemplateWithResponseAsync(String directoryRoleTemplateId, String ifMatch)
Delete entity from directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.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.
-
deleteDirectoryRoleTemplateAsync
Mono<Void> deleteDirectoryRoleTemplateAsync(String directoryRoleTemplateId, String ifMatch)
Delete entity from directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.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.
-
deleteDirectoryRoleTemplateAsync
Mono<Void> deleteDirectoryRoleTemplateAsync(String directoryRoleTemplateId)
Delete entity from directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.- 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.
-
deleteDirectoryRoleTemplate
void deleteDirectoryRoleTemplate(String directoryRoleTemplateId)
Delete entity from directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.- 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.
-
deleteDirectoryRoleTemplateWithResponse
com.azure.core.http.rest.Response<Void> deleteDirectoryRoleTemplateWithResponse(String directoryRoleTemplateId, String ifMatch, com.azure.core.util.Context context)
Delete entity from directoryRoleTemplates.- Parameters:
directoryRoleTemplateId
- key: id of directoryRoleTemplate.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.
-
-