Documentation ¶
Index ¶
- type DirectoryRolesWithRoleTemplateIdRequestBuilder
- func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) Delete(ctx context.Context, ...) error
- func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) Patch(ctx context.Context, ...) (...)
- func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, ...) (...)
- func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToGetRequestInformation(ctx context.Context, ...) (...)
- func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, ...) (...)
- func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) WithUrl(rawUrl string) *DirectoryRolesWithRoleTemplateIdRequestBuilder
- type DirectoryRolesWithRoleTemplateIdRequestBuilderDeleteRequestConfiguration
- type DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters
- type DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration
- type DirectoryRolesWithRoleTemplateIdRequestBuilderPatchRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryRolesWithRoleTemplateIdRequestBuilder ¶
type DirectoryRolesWithRoleTemplateIdRequestBuilder struct {
i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.BaseRequestBuilder
}
DirectoryRolesWithRoleTemplateIdRequestBuilder provides operations to manage the collection of directoryRole entities.
func NewDirectoryRolesWithRoleTemplateIdRequestBuilder ¶
func NewDirectoryRolesWithRoleTemplateIdRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DirectoryRolesWithRoleTemplateIdRequestBuilder
NewDirectoryRolesWithRoleTemplateIdRequestBuilder instantiates a new DirectoryRolesWithRoleTemplateIdRequestBuilder and sets the default values.
func NewDirectoryRolesWithRoleTemplateIdRequestBuilderInternal ¶
func NewDirectoryRolesWithRoleTemplateIdRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter, roleTemplateId *string) *DirectoryRolesWithRoleTemplateIdRequestBuilder
NewDirectoryRolesWithRoleTemplateIdRequestBuilderInternal instantiates a new DirectoryRolesWithRoleTemplateIdRequestBuilder and sets the default values.
func (*DirectoryRolesWithRoleTemplateIdRequestBuilder) Delete ¶
func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) Delete(ctx context.Context, requestConfiguration *DirectoryRolesWithRoleTemplateIdRequestBuilderDeleteRequestConfiguration) error
Delete delete entity from directoryRoles by roleTemplateId returns a ODataError error when the service returns a 4XX or 5XX status code
func (*DirectoryRolesWithRoleTemplateIdRequestBuilder) Get ¶
func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryRoleable, error)
Get retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. returns a DirectoryRoleable when successful returns a ODataError error when the service returns a 4XX or 5XX status code Find more info here
func (*DirectoryRolesWithRoleTemplateIdRequestBuilder) Patch ¶
func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryRoleable, requestConfiguration *DirectoryRolesWithRoleTemplateIdRequestBuilderPatchRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryRoleable, error)
Patch update entity in directoryRoles by roleTemplateId returns a DirectoryRoleable when successful returns a ODataError error when the service returns a 4XX or 5XX status code
func (*DirectoryRolesWithRoleTemplateIdRequestBuilder) ToDeleteRequestInformation ¶
func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToDeleteRequestInformation(ctx context.Context, requestConfiguration *DirectoryRolesWithRoleTemplateIdRequestBuilderDeleteRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToDeleteRequestInformation delete entity from directoryRoles by roleTemplateId returns a *RequestInformation when successful
func (*DirectoryRolesWithRoleTemplateIdRequestBuilder) ToGetRequestInformation ¶
func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToGetRequestInformation retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs. returns a *RequestInformation when successful
func (*DirectoryRolesWithRoleTemplateIdRequestBuilder) ToPatchRequestInformation ¶
func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) ToPatchRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryRoleable, requestConfiguration *DirectoryRolesWithRoleTemplateIdRequestBuilderPatchRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
ToPatchRequestInformation update entity in directoryRoles by roleTemplateId returns a *RequestInformation when successful
func (*DirectoryRolesWithRoleTemplateIdRequestBuilder) WithUrl ¶ added in v1.18.0
func (m *DirectoryRolesWithRoleTemplateIdRequestBuilder) WithUrl(rawUrl string) *DirectoryRolesWithRoleTemplateIdRequestBuilder
WithUrl returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored. returns a *DirectoryRolesWithRoleTemplateIdRequestBuilder when successful
type DirectoryRolesWithRoleTemplateIdRequestBuilderDeleteRequestConfiguration ¶
type DirectoryRolesWithRoleTemplateIdRequestBuilderDeleteRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
DirectoryRolesWithRoleTemplateIdRequestBuilderDeleteRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters ¶
type DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters struct { // Expand related entities Expand []string `uriparametername:"%24expand"` // Select properties to be returned Select []string `uriparametername:"%24select"` }
DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters retrieve the properties of a directoryRole object. The role must be activated in tenant for a successful response. You can use both the object ID and template ID of the directoryRole with this API. The template ID of a built-in role is immutable and can be seen in the role description on the Microsoft Entra admin center. For details, see Role template IDs.
type DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration ¶
type DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption // Request query parameters QueryParameters *DirectoryRolesWithRoleTemplateIdRequestBuilderGetQueryParameters }
DirectoryRolesWithRoleTemplateIdRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type DirectoryRolesWithRoleTemplateIdRequestBuilderPatchRequestConfiguration ¶
type DirectoryRolesWithRoleTemplateIdRequestBuilderPatchRequestConfiguration struct { // Request headers Headers *i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestHeaders // Request options Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption }
DirectoryRolesWithRoleTemplateIdRequestBuilderPatchRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.