Documentation ¶
Index ¶
- type CreateRoleManagementPolicyRuleOperationOptions
- type CreateRoleManagementPolicyRuleOperationResponse
- type DeleteRoleManagementPolicyRuleOperationOptions
- type DeleteRoleManagementPolicyRuleOperationResponse
- type GetRoleManagementPolicyRuleOperationOptions
- type GetRoleManagementPolicyRuleOperationResponse
- type GetRoleManagementPolicyRulesCountOperationOptions
- type GetRoleManagementPolicyRulesCountOperationResponse
- type ListRoleManagementPolicyRulesCompleteResult
- type ListRoleManagementPolicyRulesCustomPager
- type ListRoleManagementPolicyRulesOperationOptions
- type ListRoleManagementPolicyRulesOperationResponse
- type RoleManagementPolicyRuleClient
- func (c RoleManagementPolicyRuleClient) CreateRoleManagementPolicyRule(ctx context.Context, id beta.PolicyRoleManagementPolicyId, ...) (result CreateRoleManagementPolicyRuleOperationResponse, err error)
- func (c RoleManagementPolicyRuleClient) DeleteRoleManagementPolicyRule(ctx context.Context, id beta.PolicyRoleManagementPolicyIdRuleId, ...) (result DeleteRoleManagementPolicyRuleOperationResponse, err error)
- func (c RoleManagementPolicyRuleClient) GetRoleManagementPolicyRule(ctx context.Context, id beta.PolicyRoleManagementPolicyIdRuleId, ...) (result GetRoleManagementPolicyRuleOperationResponse, err error)
- func (c RoleManagementPolicyRuleClient) GetRoleManagementPolicyRulesCount(ctx context.Context, id beta.PolicyRoleManagementPolicyId, ...) (result GetRoleManagementPolicyRulesCountOperationResponse, err error)
- func (c RoleManagementPolicyRuleClient) ListRoleManagementPolicyRules(ctx context.Context, id beta.PolicyRoleManagementPolicyId, ...) (result ListRoleManagementPolicyRulesOperationResponse, err error)
- func (c RoleManagementPolicyRuleClient) ListRoleManagementPolicyRulesComplete(ctx context.Context, id beta.PolicyRoleManagementPolicyId, ...) (ListRoleManagementPolicyRulesCompleteResult, error)
- func (c RoleManagementPolicyRuleClient) ListRoleManagementPolicyRulesCompleteMatchingPredicate(ctx context.Context, id beta.PolicyRoleManagementPolicyId, ...) (result ListRoleManagementPolicyRulesCompleteResult, err error)
- func (c RoleManagementPolicyRuleClient) UpdateRoleManagementPolicyRule(ctx context.Context, id beta.PolicyRoleManagementPolicyIdRuleId, ...) (result UpdateRoleManagementPolicyRuleOperationResponse, err error)
- type UnifiedRoleManagementPolicyRuleOperationPredicate
- type UpdateRoleManagementPolicyRuleOperationOptions
- type UpdateRoleManagementPolicyRuleOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateRoleManagementPolicyRuleOperationOptions ¶
type CreateRoleManagementPolicyRuleOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateRoleManagementPolicyRuleOperationOptions ¶
func DefaultCreateRoleManagementPolicyRuleOperationOptions() CreateRoleManagementPolicyRuleOperationOptions
func (CreateRoleManagementPolicyRuleOperationOptions) ToHeaders ¶
func (o CreateRoleManagementPolicyRuleOperationOptions) ToHeaders() *client.Headers
func (CreateRoleManagementPolicyRuleOperationOptions) ToOData ¶
func (o CreateRoleManagementPolicyRuleOperationOptions) ToOData() *odata.Query
func (CreateRoleManagementPolicyRuleOperationOptions) ToQuery ¶
func (o CreateRoleManagementPolicyRuleOperationOptions) ToQuery() *client.QueryParams
type DeleteRoleManagementPolicyRuleOperationOptions ¶
type DeleteRoleManagementPolicyRuleOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteRoleManagementPolicyRuleOperationOptions ¶
func DefaultDeleteRoleManagementPolicyRuleOperationOptions() DeleteRoleManagementPolicyRuleOperationOptions
func (DeleteRoleManagementPolicyRuleOperationOptions) ToHeaders ¶
func (o DeleteRoleManagementPolicyRuleOperationOptions) ToHeaders() *client.Headers
func (DeleteRoleManagementPolicyRuleOperationOptions) ToOData ¶
func (o DeleteRoleManagementPolicyRuleOperationOptions) ToOData() *odata.Query
func (DeleteRoleManagementPolicyRuleOperationOptions) ToQuery ¶
func (o DeleteRoleManagementPolicyRuleOperationOptions) ToQuery() *client.QueryParams
type GetRoleManagementPolicyRuleOperationOptions ¶
type GetRoleManagementPolicyRuleOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetRoleManagementPolicyRuleOperationOptions ¶
func DefaultGetRoleManagementPolicyRuleOperationOptions() GetRoleManagementPolicyRuleOperationOptions
func (GetRoleManagementPolicyRuleOperationOptions) ToHeaders ¶
func (o GetRoleManagementPolicyRuleOperationOptions) ToHeaders() *client.Headers
func (GetRoleManagementPolicyRuleOperationOptions) ToOData ¶
func (o GetRoleManagementPolicyRuleOperationOptions) ToOData() *odata.Query
func (GetRoleManagementPolicyRuleOperationOptions) ToQuery ¶
func (o GetRoleManagementPolicyRuleOperationOptions) ToQuery() *client.QueryParams
type GetRoleManagementPolicyRulesCountOperationOptions ¶
type GetRoleManagementPolicyRulesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetRoleManagementPolicyRulesCountOperationOptions ¶
func DefaultGetRoleManagementPolicyRulesCountOperationOptions() GetRoleManagementPolicyRulesCountOperationOptions
func (GetRoleManagementPolicyRulesCountOperationOptions) ToHeaders ¶
func (o GetRoleManagementPolicyRulesCountOperationOptions) ToHeaders() *client.Headers
func (GetRoleManagementPolicyRulesCountOperationOptions) ToOData ¶
func (o GetRoleManagementPolicyRulesCountOperationOptions) ToOData() *odata.Query
func (GetRoleManagementPolicyRulesCountOperationOptions) ToQuery ¶
func (o GetRoleManagementPolicyRulesCountOperationOptions) ToQuery() *client.QueryParams
type ListRoleManagementPolicyRulesCompleteResult ¶
type ListRoleManagementPolicyRulesCompleteResult struct { LatestHttpResponse *http.Response Items []beta.UnifiedRoleManagementPolicyRule }
type ListRoleManagementPolicyRulesCustomPager ¶
type ListRoleManagementPolicyRulesCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListRoleManagementPolicyRulesCustomPager) NextPageLink ¶
func (p *ListRoleManagementPolicyRulesCustomPager) NextPageLink() *odata.Link
type ListRoleManagementPolicyRulesOperationOptions ¶
type ListRoleManagementPolicyRulesOperationOptions struct { Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListRoleManagementPolicyRulesOperationOptions ¶
func DefaultListRoleManagementPolicyRulesOperationOptions() ListRoleManagementPolicyRulesOperationOptions
func (ListRoleManagementPolicyRulesOperationOptions) ToHeaders ¶
func (o ListRoleManagementPolicyRulesOperationOptions) ToHeaders() *client.Headers
func (ListRoleManagementPolicyRulesOperationOptions) ToOData ¶
func (o ListRoleManagementPolicyRulesOperationOptions) ToOData() *odata.Query
func (ListRoleManagementPolicyRulesOperationOptions) ToQuery ¶
func (o ListRoleManagementPolicyRulesOperationOptions) ToQuery() *client.QueryParams
type RoleManagementPolicyRuleClient ¶
func NewRoleManagementPolicyRuleClientWithBaseURI ¶
func NewRoleManagementPolicyRuleClientWithBaseURI(sdkApi sdkEnv.Api) (*RoleManagementPolicyRuleClient, error)
func (RoleManagementPolicyRuleClient) CreateRoleManagementPolicyRule ¶
func (c RoleManagementPolicyRuleClient) CreateRoleManagementPolicyRule(ctx context.Context, id beta.PolicyRoleManagementPolicyId, input beta.UnifiedRoleManagementPolicyRule, options CreateRoleManagementPolicyRuleOperationOptions) (result CreateRoleManagementPolicyRuleOperationResponse, err error)
CreateRoleManagementPolicyRule - Create new navigation property to rules for policies
func (RoleManagementPolicyRuleClient) DeleteRoleManagementPolicyRule ¶
func (c RoleManagementPolicyRuleClient) DeleteRoleManagementPolicyRule(ctx context.Context, id beta.PolicyRoleManagementPolicyIdRuleId, options DeleteRoleManagementPolicyRuleOperationOptions) (result DeleteRoleManagementPolicyRuleOperationResponse, err error)
DeleteRoleManagementPolicyRule - Delete navigation property rules for policies
func (RoleManagementPolicyRuleClient) GetRoleManagementPolicyRule ¶
func (c RoleManagementPolicyRuleClient) GetRoleManagementPolicyRule(ctx context.Context, id beta.PolicyRoleManagementPolicyIdRuleId, options GetRoleManagementPolicyRuleOperationOptions) (result GetRoleManagementPolicyRuleOperationResponse, err error)
GetRoleManagementPolicyRule - Get unifiedRoleManagementPolicyRule. Retrieve a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object
func (RoleManagementPolicyRuleClient) GetRoleManagementPolicyRulesCount ¶
func (c RoleManagementPolicyRuleClient) GetRoleManagementPolicyRulesCount(ctx context.Context, id beta.PolicyRoleManagementPolicyId, options GetRoleManagementPolicyRulesCountOperationOptions) (result GetRoleManagementPolicyRulesCountOperationResponse, err error)
GetRoleManagementPolicyRulesCount - Get the number of the resource
func (RoleManagementPolicyRuleClient) ListRoleManagementPolicyRules ¶
func (c RoleManagementPolicyRuleClient) ListRoleManagementPolicyRules(ctx context.Context, id beta.PolicyRoleManagementPolicyId, options ListRoleManagementPolicyRulesOperationOptions) (result ListRoleManagementPolicyRulesOperationResponse, err error)
ListRoleManagementPolicyRules - List rules (for a role management policy). Get the rules defined for a role management policy. The rules are a collection of following types that are derived from the unifiedRoleManagementPolicyRule object: + unifiedRoleManagementPolicyApprovalRule + unifiedRoleManagementPolicyAuthenticationContextRule + unifiedRoleManagementPolicyEnablementRule + unifiedRoleManagementPolicyExpirationRule + unifiedRoleManagementPolicyNotificationRule To retrieve rules for a policy that applies to Azure RBAC, use the Azure REST PIM API for role management policies.
func (RoleManagementPolicyRuleClient) ListRoleManagementPolicyRulesComplete ¶
func (c RoleManagementPolicyRuleClient) ListRoleManagementPolicyRulesComplete(ctx context.Context, id beta.PolicyRoleManagementPolicyId, options ListRoleManagementPolicyRulesOperationOptions) (ListRoleManagementPolicyRulesCompleteResult, error)
ListRoleManagementPolicyRulesComplete retrieves all the results into a single object
func (RoleManagementPolicyRuleClient) ListRoleManagementPolicyRulesCompleteMatchingPredicate ¶
func (c RoleManagementPolicyRuleClient) ListRoleManagementPolicyRulesCompleteMatchingPredicate(ctx context.Context, id beta.PolicyRoleManagementPolicyId, options ListRoleManagementPolicyRulesOperationOptions, predicate UnifiedRoleManagementPolicyRuleOperationPredicate) (result ListRoleManagementPolicyRulesCompleteResult, err error)
ListRoleManagementPolicyRulesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RoleManagementPolicyRuleClient) UpdateRoleManagementPolicyRule ¶
func (c RoleManagementPolicyRuleClient) UpdateRoleManagementPolicyRule(ctx context.Context, id beta.PolicyRoleManagementPolicyIdRuleId, input beta.UnifiedRoleManagementPolicyRule, options UpdateRoleManagementPolicyRuleOperationOptions) (result UpdateRoleManagementPolicyRuleOperationResponse, err error)
UpdateRoleManagementPolicyRule - Update unifiedRoleManagementPolicyRule. Update a rule defined for a role management policy. The rule can be one of the following types that are derived from the unifiedRoleManagementPolicyRule object: For more information about rules for Microsoft Entra roles and examples of updating rules, see the following articles: + Overview of rules for Microsoft Entra roles in PIM APIs in Microsoft Graph + Use PIM APIs in Microsoft Graph to update Microsoft Entra ID rules
type UnifiedRoleManagementPolicyRuleOperationPredicate ¶
type UnifiedRoleManagementPolicyRuleOperationPredicate struct { }
func (UnifiedRoleManagementPolicyRuleOperationPredicate) Matches ¶
func (p UnifiedRoleManagementPolicyRuleOperationPredicate) Matches(input beta.UnifiedRoleManagementPolicyRule) bool
type UpdateRoleManagementPolicyRuleOperationOptions ¶
type UpdateRoleManagementPolicyRuleOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateRoleManagementPolicyRuleOperationOptions ¶
func DefaultUpdateRoleManagementPolicyRuleOperationOptions() UpdateRoleManagementPolicyRuleOperationOptions
func (UpdateRoleManagementPolicyRuleOperationOptions) ToHeaders ¶
func (o UpdateRoleManagementPolicyRuleOperationOptions) ToHeaders() *client.Headers
func (UpdateRoleManagementPolicyRuleOperationOptions) ToOData ¶
func (o UpdateRoleManagementPolicyRuleOperationOptions) ToOData() *odata.Query
func (UpdateRoleManagementPolicyRuleOperationOptions) ToQuery ¶
func (o UpdateRoleManagementPolicyRuleOperationOptions) ToQuery() *client.QueryParams