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 RawRoleManagementPolicyRuleImpl
- 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) (result 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, ...) (result 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)
- func (id *ScopedRoleManagementPolicyAssignmentId) FromParseResult(input resourceids.ParseResult) error
- func (id ScopedRoleManagementPolicyAssignmentId) ID() string
- func (id ScopedRoleManagementPolicyAssignmentId) Segments() []resourceids.Segment
- func (id ScopedRoleManagementPolicyAssignmentId) String() string
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 OData *odata.OData Model *RoleManagementPolicyAssignment }
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleManagementPolicyAssignment }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct { LatestHttpResponse *http.Response Items []RoleManagementPolicyAssignment }
type ListForScopeOperationResponse ¶
type ListForScopeOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RoleManagementPolicyAssignment }
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 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 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 *resourcemanager.Client
}
func NewRoleManagementPolicyAssignmentsClientWithBaseURI ¶
func NewRoleManagementPolicyAssignmentsClientWithBaseURI(sdkApi sdkEnv.Api) (*RoleManagementPolicyAssignmentsClient, error)
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) (result ListForScopeOperationResponse, err error)
ListForScope ...
func (RoleManagementPolicyAssignmentsClient) ListForScopeComplete ¶
func (c RoleManagementPolicyAssignmentsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all the results into a single object
func (RoleManagementPolicyAssignmentsClient) ListForScopeCompleteMatchingPredicate ¶
func (c RoleManagementPolicyAssignmentsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate RoleManagementPolicyAssignmentOperationPredicate) (result ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all the results and then applies 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" )
func (*RoleManagementPolicyRuleType) UnmarshalJSON ¶
func (s *RoleManagementPolicyRuleType) UnmarshalJSON(bytes []byte) error
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) FromParseResult ¶
func (id *ScopedRoleManagementPolicyAssignmentId) FromParseResult(input resourceids.ParseResult) error
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.go
- method_delete.go
- method_get.go
- method_listforscope.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