Documentation ¶
Index ¶
- func PossibleValuesForRoleManagementPolicyRuleType() []string
- func ValidateScopedRoleManagementPolicyAssignmentID(input interface{}, key string) (warnings []string, errors []error)
- type CreateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type ListForScopeCompleteResult
- type ListForScopeOperationResponse
- type PolicyAssignmentProperties
- type PolicyAssignmentPropertiesPolicy
- type PolicyAssignmentPropertiesRoleDefinition
- type PolicyAssignmentPropertiesScope
- type Principal
- type RoleManagementPolicyAssignment
- type RoleManagementPolicyAssignmentOperationPredicate
- type RoleManagementPolicyAssignmentProperties
- type RoleManagementPolicyAssignmentsClient
- func (c RoleManagementPolicyAssignmentsClient) Create(ctx context.Context, id ScopedRoleManagementPolicyAssignmentId, ...) (result CreateOperationResponse, err error)
- func (c RoleManagementPolicyAssignmentsClient) Delete(ctx context.Context, id ScopedRoleManagementPolicyAssignmentId) (result DeleteOperationResponse, err error)
- func (c RoleManagementPolicyAssignmentsClient) Get(ctx context.Context, id ScopedRoleManagementPolicyAssignmentId) (result GetOperationResponse, err error)
- func (c RoleManagementPolicyAssignmentsClient) ListForScope(ctx context.Context, id commonids.ScopeId) (resp ListForScopeOperationResponse, err error)
- func (c RoleManagementPolicyAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId) (ListForScopeCompleteResult, error)
- func (c RoleManagementPolicyAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (resp ListForScopeCompleteResult, err error)
- type RoleManagementPolicyRule
- type RoleManagementPolicyRuleTarget
- type RoleManagementPolicyRuleType
- type ScopedRoleManagementPolicyAssignmentId
- func NewScopedRoleManagementPolicyAssignmentID(scope string, roleManagementPolicyAssignmentName string) ScopedRoleManagementPolicyAssignmentId
- func ParseScopedRoleManagementPolicyAssignmentID(input string) (*ScopedRoleManagementPolicyAssignmentId, error)
- func ParseScopedRoleManagementPolicyAssignmentIDInsensitively(input string) (*ScopedRoleManagementPolicyAssignmentId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForRoleManagementPolicyRuleType ¶
func PossibleValuesForRoleManagementPolicyRuleType() []string
func ValidateScopedRoleManagementPolicyAssignmentID ¶
func ValidateScopedRoleManagementPolicyAssignmentID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRoleManagementPolicyAssignmentID checks that 'input' can be parsed as a Scoped Role Management Policy Assignment ID
Types ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response Model *RoleManagementPolicyAssignment }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response Model *RoleManagementPolicyAssignment }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct {
Items []RoleManagementPolicyAssignment
}
type ListForScopeOperationResponse ¶
type ListForScopeOperationResponse struct { HttpResponse *http.Response Model *[]RoleManagementPolicyAssignment // 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 PolicyAssignmentProperties ¶
type PolicyAssignmentProperties struct { Policy *PolicyAssignmentPropertiesPolicy `json:"policy,omitempty"` RoleDefinition *PolicyAssignmentPropertiesRoleDefinition `json:"roleDefinition,omitempty"` Scope *PolicyAssignmentPropertiesScope `json:"scope,omitempty"` }
type PolicyAssignmentPropertiesPolicy ¶
type PolicyAssignmentPropertiesPolicy struct { Id *string `json:"id,omitempty"` LastModifiedBy *Principal `json:"lastModifiedBy,omitempty"` LastModifiedDateTime *string `json:"lastModifiedDateTime,omitempty"` }
func (*PolicyAssignmentPropertiesPolicy) GetLastModifiedDateTimeAsTime ¶
func (o *PolicyAssignmentPropertiesPolicy) GetLastModifiedDateTimeAsTime() (*time.Time, error)
func (*PolicyAssignmentPropertiesPolicy) SetLastModifiedDateTimeAsTime ¶
func (o *PolicyAssignmentPropertiesPolicy) SetLastModifiedDateTimeAsTime(input time.Time)
type RoleManagementPolicyAssignment ¶
type RoleManagementPolicyAssignment struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RoleManagementPolicyAssignmentProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RoleManagementPolicyAssignmentOperationPredicate ¶
type RoleManagementPolicyAssignmentOperationPredicate struct { Id *string Name *string Type *string }
func (RoleManagementPolicyAssignmentOperationPredicate) Matches ¶
func (p RoleManagementPolicyAssignmentOperationPredicate) Matches(input RoleManagementPolicyAssignment) bool
type RoleManagementPolicyAssignmentProperties ¶
type RoleManagementPolicyAssignmentProperties struct { EffectiveRules *[]RoleManagementPolicyRule `json:"effectiveRules,omitempty"` PolicyAssignmentProperties *PolicyAssignmentProperties `json:"policyAssignmentProperties,omitempty"` PolicyId *string `json:"policyId,omitempty"` RoleDefinitionId *string `json:"roleDefinitionId,omitempty"` Scope *string `json:"scope,omitempty"` }
func (*RoleManagementPolicyAssignmentProperties) UnmarshalJSON ¶
func (s *RoleManagementPolicyAssignmentProperties) UnmarshalJSON(bytes []byte) error
type RoleManagementPolicyAssignmentsClient ¶
type RoleManagementPolicyAssignmentsClient struct { Client autorest.Client // contains filtered or unexported fields }
func NewRoleManagementPolicyAssignmentsClientWithBaseURI ¶
func NewRoleManagementPolicyAssignmentsClientWithBaseURI(endpoint string) RoleManagementPolicyAssignmentsClient
func (RoleManagementPolicyAssignmentsClient) Create ¶
func (c RoleManagementPolicyAssignmentsClient) Create(ctx context.Context, id ScopedRoleManagementPolicyAssignmentId, input RoleManagementPolicyAssignment) (result CreateOperationResponse, err error)
Create ...
func (RoleManagementPolicyAssignmentsClient) Delete ¶
func (c RoleManagementPolicyAssignmentsClient) Delete(ctx context.Context, id ScopedRoleManagementPolicyAssignmentId) (result DeleteOperationResponse, err error)
Delete ...
func (RoleManagementPolicyAssignmentsClient) Get ¶
func (c RoleManagementPolicyAssignmentsClient) Get(ctx context.Context, id ScopedRoleManagementPolicyAssignmentId) (result GetOperationResponse, err error)
Get ...
func (RoleManagementPolicyAssignmentsClient) ListForScope ¶
func (c RoleManagementPolicyAssignmentsClient) ListForScope(ctx context.Context, id commonids.ScopeId) (resp ListForScopeOperationResponse, err error)
ListForScope ...
func (RoleManagementPolicyAssignmentsClient) ListForScopeComplete ¶
func (c RoleManagementPolicyAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all of the results into a single object
func (RoleManagementPolicyAssignmentsClient) ListForScopeCompleteMatchingPredicate ¶
func (c RoleManagementPolicyAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate RoleManagementPolicyAssignmentOperationPredicate) (resp ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all of the results and then applied the predicate
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 ScopedRoleManagementPolicyAssignmentId ¶
type ScopedRoleManagementPolicyAssignmentId struct { Scope string RoleManagementPolicyAssignmentName string }
ScopedRoleManagementPolicyAssignmentId is a struct representing the Resource ID for a Scoped Role Management Policy Assignment
func NewScopedRoleManagementPolicyAssignmentID ¶
func NewScopedRoleManagementPolicyAssignmentID(scope string, roleManagementPolicyAssignmentName string) ScopedRoleManagementPolicyAssignmentId
NewScopedRoleManagementPolicyAssignmentID returns a new ScopedRoleManagementPolicyAssignmentId struct
func ParseScopedRoleManagementPolicyAssignmentID ¶
func ParseScopedRoleManagementPolicyAssignmentID(input string) (*ScopedRoleManagementPolicyAssignmentId, error)
ParseScopedRoleManagementPolicyAssignmentID parses 'input' into a ScopedRoleManagementPolicyAssignmentId
func ParseScopedRoleManagementPolicyAssignmentIDInsensitively ¶
func ParseScopedRoleManagementPolicyAssignmentIDInsensitively(input string) (*ScopedRoleManagementPolicyAssignmentId, error)
ParseScopedRoleManagementPolicyAssignmentIDInsensitively parses 'input' case-insensitively into a ScopedRoleManagementPolicyAssignmentId note: this method should only be used for API response data and not user input
func (ScopedRoleManagementPolicyAssignmentId) ID ¶
func (id ScopedRoleManagementPolicyAssignmentId) ID() string
ID returns the formatted Scoped Role Management Policy Assignment ID
func (ScopedRoleManagementPolicyAssignmentId) Segments ¶
func (id ScopedRoleManagementPolicyAssignmentId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Role Management Policy Assignment ID
func (ScopedRoleManagementPolicyAssignmentId) String ¶
func (id ScopedRoleManagementPolicyAssignmentId) String() string
String returns a human-readable description of this Scoped Role Management Policy Assignment ID
Source Files ¶
- client.go
- constants.go
- id_scopedrolemanagementpolicyassignment.go
- method_create_autorest.go
- method_delete_autorest.go
- method_get_autorest.go
- method_listforscope_autorest.go
- model_policyassignmentproperties.go
- model_policyassignmentpropertiespolicy.go
- model_policyassignmentpropertiesroledefinition.go
- model_policyassignmentpropertiesscope.go
- model_principal.go
- model_rolemanagementpolicyassignment.go
- model_rolemanagementpolicyassignmentproperties.go
- model_rolemanagementpolicyrule.go
- model_rolemanagementpolicyruletarget.go
- predicates.go
- version.go