Documentation ¶
Index ¶
- func PossibleValuesForRoleManagementPolicyRuleType() []string
- func ValidateScopedRoleManagementPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListForScopeCompleteResult
- type ListForScopeCustomPager
- type ListForScopeOperationOptions
- type ListForScopeOperationResponse
- type PolicyProperties
- type PolicyPropertiesScope
- type Principal
- type RawRoleManagementPolicyRuleImpl
- type RoleManagementPoliciesClient
- func (c RoleManagementPoliciesClient) Delete(ctx context.Context, id ScopedRoleManagementPolicyId) (result DeleteOperationResponse, err error)
- func (c RoleManagementPoliciesClient) Get(ctx context.Context, id ScopedRoleManagementPolicyId) (result GetOperationResponse, err error)
- func (c RoleManagementPoliciesClient) ListForScope(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeOperationResponse, err error)
- func (c RoleManagementPoliciesClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForScopeCompleteResult, error)
- func (c RoleManagementPoliciesClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeCompleteResult, err error)
- func (c RoleManagementPoliciesClient) Update(ctx context.Context, id ScopedRoleManagementPolicyId, ...) (result UpdateOperationResponse, err error)
- type RoleManagementPolicy
- type RoleManagementPolicyOperationPredicate
- type RoleManagementPolicyProperties
- type RoleManagementPolicyRule
- type RoleManagementPolicyRuleTarget
- type RoleManagementPolicyRuleType
- type ScopedRoleManagementPolicyId
- func NewScopedRoleManagementPolicyID(scope string, roleManagementPolicyName string) ScopedRoleManagementPolicyId
- func ParseScopedRoleManagementPolicyID(input string) (*ScopedRoleManagementPolicyId, error)
- func ParseScopedRoleManagementPolicyIDInsensitively(input string) (*ScopedRoleManagementPolicyId, error)
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRoleManagementPolicyRuleType ¶
func PossibleValuesForRoleManagementPolicyRuleType() []string
func ValidateScopedRoleManagementPolicyID ¶
func ValidateScopedRoleManagementPolicyID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRoleManagementPolicyID checks that 'input' can be parsed as a Scoped Role Management Policy ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleManagementPolicy }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct { LatestHttpResponse *http.Response Items []RoleManagementPolicy }
type ListForScopeCustomPager ¶ added in v0.20240628.1153531
func (*ListForScopeCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListForScopeCustomPager) NextPageLink() *odata.Link
type ListForScopeOperationOptions ¶
type ListForScopeOperationOptions struct {
Filter *string
}
func DefaultListForScopeOperationOptions ¶
func DefaultListForScopeOperationOptions() ListForScopeOperationOptions
func (ListForScopeOperationOptions) ToHeaders ¶
func (o ListForScopeOperationOptions) ToHeaders() *client.Headers
func (ListForScopeOperationOptions) ToOData ¶
func (o ListForScopeOperationOptions) ToOData() *odata.Query
func (ListForScopeOperationOptions) ToQuery ¶
func (o ListForScopeOperationOptions) ToQuery() *client.QueryParams
type ListForScopeOperationResponse ¶
type ListForScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RoleManagementPolicy }
type PolicyProperties ¶
type PolicyProperties struct {
Scope *PolicyPropertiesScope `json:"scope,omitempty"`
}
type PolicyPropertiesScope ¶
type RawRoleManagementPolicyRuleImpl ¶
RawRoleManagementPolicyRuleImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).
type RoleManagementPoliciesClient ¶
type RoleManagementPoliciesClient struct {
Client *resourcemanager.Client
}
func NewRoleManagementPoliciesClientWithBaseURI ¶
func NewRoleManagementPoliciesClientWithBaseURI(sdkApi sdkEnv.Api) (*RoleManagementPoliciesClient, error)
func (RoleManagementPoliciesClient) Delete ¶
func (c RoleManagementPoliciesClient) Delete(ctx context.Context, id ScopedRoleManagementPolicyId) (result DeleteOperationResponse, err error)
Delete ...
func (RoleManagementPoliciesClient) Get ¶
func (c RoleManagementPoliciesClient) Get(ctx context.Context, id ScopedRoleManagementPolicyId) (result GetOperationResponse, err error)
Get ...
func (RoleManagementPoliciesClient) ListForScope ¶
func (c RoleManagementPoliciesClient) ListForScope(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (result ListForScopeOperationResponse, err error)
ListForScope ...
func (RoleManagementPoliciesClient) ListForScopeComplete ¶
func (c RoleManagementPoliciesClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all the results into a single object
func (RoleManagementPoliciesClient) ListForScopeCompleteMatchingPredicate ¶
func (c RoleManagementPoliciesClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions, predicate RoleManagementPolicyOperationPredicate) (result ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RoleManagementPoliciesClient) Update ¶
func (c RoleManagementPoliciesClient) Update(ctx context.Context, id ScopedRoleManagementPolicyId, input RoleManagementPolicy) (result UpdateOperationResponse, err error)
Update ...
type RoleManagementPolicy ¶
type RoleManagementPolicy struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RoleManagementPolicyProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RoleManagementPolicyOperationPredicate ¶
func (RoleManagementPolicyOperationPredicate) Matches ¶
func (p RoleManagementPolicyOperationPredicate) Matches(input RoleManagementPolicy) bool
type RoleManagementPolicyProperties ¶
type RoleManagementPolicyProperties struct { Description *string `json:"description,omitempty"` DisplayName *string `json:"displayName,omitempty"` EffectiveRules *[]RoleManagementPolicyRule `json:"effectiveRules,omitempty"` IsOrganizationDefault *bool `json:"isOrganizationDefault,omitempty"` LastModifiedBy *Principal `json:"lastModifiedBy,omitempty"` LastModifiedDateTime *string `json:"lastModifiedDateTime,omitempty"` PolicyProperties *PolicyProperties `json:"policyProperties,omitempty"` Rules *[]RoleManagementPolicyRule `json:"rules,omitempty"` Scope *string `json:"scope,omitempty"` }
func (*RoleManagementPolicyProperties) GetLastModifiedDateTimeAsTime ¶
func (o *RoleManagementPolicyProperties) GetLastModifiedDateTimeAsTime() (*time.Time, error)
func (*RoleManagementPolicyProperties) SetLastModifiedDateTimeAsTime ¶
func (o *RoleManagementPolicyProperties) SetLastModifiedDateTimeAsTime(input time.Time)
func (*RoleManagementPolicyProperties) UnmarshalJSON ¶
func (s *RoleManagementPolicyProperties) UnmarshalJSON(bytes []byte) error
type RoleManagementPolicyRule ¶
type RoleManagementPolicyRule interface { }
type RoleManagementPolicyRuleTarget ¶
type RoleManagementPolicyRuleTarget struct { Caller *string `json:"caller,omitempty"` EnforcedSettings *[]string `json:"enforcedSettings,omitempty"` InheritableSettings *[]string `json:"inheritableSettings,omitempty"` Level *string `json:"level,omitempty"` Operations *[]string `json:"operations,omitempty"` TargetObjects *[]string `json:"targetObjects,omitempty"` }
type RoleManagementPolicyRuleType ¶
type RoleManagementPolicyRuleType string
const ( RoleManagementPolicyRuleTypeRoleManagementPolicyApprovalRule RoleManagementPolicyRuleType = "RoleManagementPolicyApprovalRule" RoleManagementPolicyRuleTypeRoleManagementPolicyAuthenticationContextRule RoleManagementPolicyRuleType = "RoleManagementPolicyAuthenticationContextRule" RoleManagementPolicyRuleTypeRoleManagementPolicyEnablementRule RoleManagementPolicyRuleType = "RoleManagementPolicyEnablementRule" RoleManagementPolicyRuleTypeRoleManagementPolicyExpirationRule RoleManagementPolicyRuleType = "RoleManagementPolicyExpirationRule" RoleManagementPolicyRuleTypeRoleManagementPolicyNotificationRule RoleManagementPolicyRuleType = "RoleManagementPolicyNotificationRule" )
func (*RoleManagementPolicyRuleType) UnmarshalJSON ¶
func (s *RoleManagementPolicyRuleType) UnmarshalJSON(bytes []byte) error
type ScopedRoleManagementPolicyId ¶
ScopedRoleManagementPolicyId is a struct representing the Resource ID for a Scoped Role Management Policy
func NewScopedRoleManagementPolicyID ¶
func NewScopedRoleManagementPolicyID(scope string, roleManagementPolicyName string) ScopedRoleManagementPolicyId
NewScopedRoleManagementPolicyID returns a new ScopedRoleManagementPolicyId struct
func ParseScopedRoleManagementPolicyID ¶
func ParseScopedRoleManagementPolicyID(input string) (*ScopedRoleManagementPolicyId, error)
ParseScopedRoleManagementPolicyID parses 'input' into a ScopedRoleManagementPolicyId
func ParseScopedRoleManagementPolicyIDInsensitively ¶
func ParseScopedRoleManagementPolicyIDInsensitively(input string) (*ScopedRoleManagementPolicyId, error)
ParseScopedRoleManagementPolicyIDInsensitively parses 'input' case-insensitively into a ScopedRoleManagementPolicyId note: this method should only be used for API response data and not user input
func (*ScopedRoleManagementPolicyId) FromParseResult ¶
func (id *ScopedRoleManagementPolicyId) FromParseResult(input resourceids.ParseResult) error
func (ScopedRoleManagementPolicyId) ID ¶
func (id ScopedRoleManagementPolicyId) ID() string
ID returns the formatted Scoped Role Management Policy ID
func (ScopedRoleManagementPolicyId) Segments ¶
func (id ScopedRoleManagementPolicyId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Role Management Policy ID
func (ScopedRoleManagementPolicyId) String ¶
func (id ScopedRoleManagementPolicyId) String() string
String returns a human-readable description of this Scoped Role Management Policy ID
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleManagementPolicy }
Source Files ¶
- client.go
- constants.go
- id_scopedrolemanagementpolicy.go
- method_delete.go
- method_get.go
- method_listforscope.go
- method_update.go
- model_policyproperties.go
- model_policypropertiesscope.go
- model_principal.go
- model_rolemanagementpolicy.go
- model_rolemanagementpolicyproperties.go
- model_rolemanagementpolicyrule.go
- model_rolemanagementpolicyruletarget.go
- predicates.go
- version.go