Documentation
¶
Index ¶
- type DirectoryRolesRequestBuilder
- func (m *DirectoryRolesRequestBuilder) Count() ...
- func (m *DirectoryRolesRequestBuilder) CreateGetRequestInformation(ctx context.Context, ...) (...)
- func (m *DirectoryRolesRequestBuilder) CreatePostRequestInformation(ctx context.Context, ...) (...)
- func (m *DirectoryRolesRequestBuilder) Delta() ...
- func (m *DirectoryRolesRequestBuilder) Get(ctx context.Context, ...) (...)
- func (m *DirectoryRolesRequestBuilder) GetAvailableExtensionProperties() ...
- func (m *DirectoryRolesRequestBuilder) GetByIds() ...
- func (m *DirectoryRolesRequestBuilder) Post(ctx context.Context, ...) (...)
- func (m *DirectoryRolesRequestBuilder) ValidateProperties() ...
- type DirectoryRolesRequestBuilderGetQueryParameters
- type DirectoryRolesRequestBuilderGetRequestConfiguration
- type DirectoryRolesRequestBuilderPostRequestConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryRolesRequestBuilder ¶
type DirectoryRolesRequestBuilder struct {
// contains filtered or unexported fields
}
DirectoryRolesRequestBuilder provides operations to manage the collection of directoryRole entities.
func NewDirectoryRolesRequestBuilder ¶
func NewDirectoryRolesRequestBuilder(rawUrl string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DirectoryRolesRequestBuilder
NewDirectoryRolesRequestBuilder instantiates a new DirectoryRolesRequestBuilder and sets the default values.
func NewDirectoryRolesRequestBuilderInternal ¶
func NewDirectoryRolesRequestBuilderInternal(pathParameters map[string]string, requestAdapter i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestAdapter) *DirectoryRolesRequestBuilder
NewDirectoryRolesRequestBuilderInternal instantiates a new DirectoryRolesRequestBuilder and sets the default values.
func (*DirectoryRolesRequestBuilder) Count ¶ added in v0.13.0
func (m *DirectoryRolesRequestBuilder) Count() *i2a93ad836768ad49d953d9dfcefa9cac543730d20058b421e20bc27251dc8156.CountRequestBuilder
Count provides operations to count the resources in the collection.
func (*DirectoryRolesRequestBuilder) CreateGetRequestInformation ¶
func (m *DirectoryRolesRequestBuilder) CreateGetRequestInformation(ctx context.Context, requestConfiguration *DirectoryRolesRequestBuilderGetRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreateGetRequestInformation list the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Azure portal, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Azure AD, use List directoryRoleTemplates.
func (*DirectoryRolesRequestBuilder) CreatePostRequestInformation ¶
func (m *DirectoryRolesRequestBuilder) CreatePostRequestInformation(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryRoleable, requestConfiguration *DirectoryRolesRequestBuilderPostRequestConfiguration) (*i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestInformation, error)
CreatePostRequestInformation activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (**User**, **Guest User**, and **Restricted Guest User** roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID.
func (*DirectoryRolesRequestBuilder) Delta ¶
func (m *DirectoryRolesRequestBuilder) Delta() *id178ea9892b7517ea8099dc2841e11c78f3dfdc11a8a6c2abd1433ac224172e1.DeltaRequestBuilder
Delta provides operations to call the delta method.
func (*DirectoryRolesRequestBuilder) Get ¶
func (m *DirectoryRolesRequestBuilder) Get(ctx context.Context, requestConfiguration *DirectoryRolesRequestBuilderGetRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryRoleCollectionResponseable, error)
Get list the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Azure portal, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Azure AD, use List directoryRoleTemplates.
func (*DirectoryRolesRequestBuilder) GetAvailableExtensionProperties ¶
func (m *DirectoryRolesRequestBuilder) GetAvailableExtensionProperties() *ia4917d7d2d6bbb2d83014b7111cd4d79a23adb1d36bc4e4126b6166e1d29afa8.GetAvailableExtensionPropertiesRequestBuilder
GetAvailableExtensionProperties provides operations to call the getAvailableExtensionProperties method.
func (*DirectoryRolesRequestBuilder) GetByIds ¶
func (m *DirectoryRolesRequestBuilder) GetByIds() *ia87332b05b41e0506ca217464387e3ed5c7d91dea72449a3a8af52c972c79b03.GetByIdsRequestBuilder
GetByIds provides operations to call the getByIds method.
func (*DirectoryRolesRequestBuilder) Post ¶
func (m *DirectoryRolesRequestBuilder) Post(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryRoleable, requestConfiguration *DirectoryRolesRequestBuilderPostRequestConfiguration) (iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.DirectoryRoleable, error)
Post activate a directory role. To read a directory role or update its members, it must first be activated in the tenant. The Company Administrators and the implicit user directory roles (**User**, **Guest User**, and **Restricted Guest User** roles) are activated by default. To access and assign members to other directory roles, you must first activate it with its corresponding directory role template ID.
func (*DirectoryRolesRequestBuilder) ValidateProperties ¶
func (m *DirectoryRolesRequestBuilder) ValidateProperties() *ida2bdcfe4d6bf2bb544752c17e1ca5059ff3edc052c3080051a9c874aeb8aa1a.ValidatePropertiesRequestBuilder
ValidateProperties provides operations to call the validateProperties method.
type DirectoryRolesRequestBuilderGetQueryParameters ¶
type DirectoryRolesRequestBuilderGetQueryParameters struct {
// Include count of items
Count *bool `uriparametername:"%24count"`
// Expand related entities
Expand []string `uriparametername:"%24expand"`
// Filter items by property values
Filter *string `uriparametername:"%24filter"`
// Order items by property values
Orderby []string `uriparametername:"%24orderby"`
// Search items by search phrases
Search *string `uriparametername:"%24search"`
// Select properties to be returned
Select []string `uriparametername:"%24select"`
// Skip the first n items
Skip *int32 `uriparametername:"%24skip"`
}
DirectoryRolesRequestBuilderGetQueryParameters list the directory roles that are activated in the tenant. This operation only returns roles that have been activated. A role becomes activated when an admin activates the role using the Activate directoryRole API. Not all built-in roles are initially activated. When assigning a role using the Azure portal, the role activation step is implicitly done on the admin's behalf. To get the full list of roles that are available in Azure AD, use List directoryRoleTemplates.
type DirectoryRolesRequestBuilderGetRequestConfiguration ¶ added in v0.22.0
type DirectoryRolesRequestBuilderGetRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
// Request query parameters
QueryParameters *DirectoryRolesRequestBuilderGetQueryParameters
}
DirectoryRolesRequestBuilderGetRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.
type DirectoryRolesRequestBuilderPostRequestConfiguration ¶ added in v0.22.0
type DirectoryRolesRequestBuilderPostRequestConfiguration struct {
// Request headers
Headers map[string]string
// Request options
Options []i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.RequestOption
}
DirectoryRolesRequestBuilderPostRequestConfiguration configuration for the request such as headers, query parameters, and middleware options.