Documentation ¶
Index ¶
- func PossibleValuesForRoleManagementPolicyRuleType() []string
- func ValidateScopedRoleManagementPolicyID(input interface{}, key string) (warnings []string, errors []error)
- type DeleteOperationResponse
- type GetOperationResponse
- type ListForScopeCompleteResult
- type ListForScopeOperationResponse
- type PolicyProperties
- type PolicyPropertiesScope
- type Principal
- 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) (resp 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, ...) (resp 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 Model *RoleManagementPolicy }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct {
Items []RoleManagementPolicy
}
type ListForScopeOperationResponse ¶
type ListForScopeOperationResponse struct { HttpResponse *http.Response Model *[]RoleManagementPolicy // contains filtered or unexported fields }
func (ListForScopeOperationResponse) HasMore ¶
func (r ListForScopeOperationResponse) HasMore() bool
func (ListForScopeOperationResponse) LoadMore ¶
func (r ListForScopeOperationResponse) LoadMore(ctx context.Context) (resp ListForScopeOperationResponse, err error)
type PolicyProperties ¶
type PolicyProperties struct {
Scope *PolicyPropertiesScope `json:"scope,omitempty"`
}
type PolicyPropertiesScope ¶
type RoleManagementPoliciesClient ¶
type RoleManagementPoliciesClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRoleManagementPoliciesClientWithBaseURI ¶
func NewRoleManagementPoliciesClientWithBaseURI(endpoint string) RoleManagementPoliciesClient
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) (resp ListForScopeOperationResponse, err error)
ListForScope ...
func (RoleManagementPoliciesClient) ListForScopeComplete ¶
func (c RoleManagementPoliciesClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all of the results into a single object
func (RoleManagementPoliciesClient) ListForScopeCompleteMatchingPredicate ¶
func (c RoleManagementPoliciesClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate RoleManagementPolicyOperationPredicate) (resp ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all of the results and then applied 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" )
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) 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 Model *RoleManagementPolicy }
Source Files ¶
- client.go
- constants.go
- id_scopedrolemanagementpolicy.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listforscope_autorest.go
- method_update_autorest.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