Documentation ¶
Index ¶
- func PossibleValuesForAssignmentType() []string
- func PossibleValuesForMemberType() []string
- func PossibleValuesForPrincipalType() []string
- func PossibleValuesForStatus() []string
- func ValidateScopedRoleAssignmentScheduleInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type AssignmentType
- type ExpandedProperties
- type ExpandedPropertiesPrincipal
- type ExpandedPropertiesRoleDefinition
- type ExpandedPropertiesScope
- type GetOperationResponse
- type ListForScopeCompleteResult
- type ListForScopeOperationOptions
- type ListForScopeOperationResponse
- type MemberType
- type PrincipalType
- type RoleAssignmentScheduleInstance
- type RoleAssignmentScheduleInstanceOperationPredicate
- type RoleAssignmentScheduleInstanceProperties
- func (o *RoleAssignmentScheduleInstanceProperties) GetCreatedOnAsTime() (*time.Time, error)
- func (o *RoleAssignmentScheduleInstanceProperties) GetEndDateTimeAsTime() (*time.Time, error)
- func (o *RoleAssignmentScheduleInstanceProperties) GetStartDateTimeAsTime() (*time.Time, error)
- func (o *RoleAssignmentScheduleInstanceProperties) SetCreatedOnAsTime(input time.Time)
- func (o *RoleAssignmentScheduleInstanceProperties) SetEndDateTimeAsTime(input time.Time)
- func (o *RoleAssignmentScheduleInstanceProperties) SetStartDateTimeAsTime(input time.Time)
- type RoleAssignmentScheduleInstancesClient
- func (c RoleAssignmentScheduleInstancesClient) Get(ctx context.Context, id ScopedRoleAssignmentScheduleInstanceId) (result GetOperationResponse, err error)
- func (c RoleAssignmentScheduleInstancesClient) ListForScope(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeOperationResponse, err error)
- func (c RoleAssignmentScheduleInstancesClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForScopeCompleteResult, error)
- func (c RoleAssignmentScheduleInstancesClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeCompleteResult, err error)
- type ScopedRoleAssignmentScheduleInstanceId
- func NewScopedRoleAssignmentScheduleInstanceID(scope string, roleAssignmentScheduleInstanceName string) ScopedRoleAssignmentScheduleInstanceId
- func ParseScopedRoleAssignmentScheduleInstanceID(input string) (*ScopedRoleAssignmentScheduleInstanceId, error)
- func ParseScopedRoleAssignmentScheduleInstanceIDInsensitively(input string) (*ScopedRoleAssignmentScheduleInstanceId, error)
- func (id *ScopedRoleAssignmentScheduleInstanceId) FromParseResult(input resourceids.ParseResult) error
- func (id ScopedRoleAssignmentScheduleInstanceId) ID() string
- func (id ScopedRoleAssignmentScheduleInstanceId) Segments() []resourceids.Segment
- func (id ScopedRoleAssignmentScheduleInstanceId) String() string
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForAssignmentType ¶
func PossibleValuesForAssignmentType() []string
func PossibleValuesForMemberType ¶
func PossibleValuesForMemberType() []string
func PossibleValuesForPrincipalType ¶
func PossibleValuesForPrincipalType() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateScopedRoleAssignmentScheduleInstanceID ¶
func ValidateScopedRoleAssignmentScheduleInstanceID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRoleAssignmentScheduleInstanceID checks that 'input' can be parsed as a Scoped Role Assignment Schedule Instance ID
Types ¶
type AssignmentType ¶
type AssignmentType string
const ( AssignmentTypeActivated AssignmentType = "Activated" AssignmentTypeAssigned AssignmentType = "Assigned" )
func (*AssignmentType) UnmarshalJSON ¶
func (s *AssignmentType) UnmarshalJSON(bytes []byte) error
type ExpandedProperties ¶
type ExpandedProperties struct { Principal *ExpandedPropertiesPrincipal `json:"principal,omitempty"` RoleDefinition *ExpandedPropertiesRoleDefinition `json:"roleDefinition,omitempty"` Scope *ExpandedPropertiesScope `json:"scope,omitempty"` }
type ExpandedPropertiesScope ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleAssignmentScheduleInstance }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct { LatestHttpResponse *http.Response Items []RoleAssignmentScheduleInstance }
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 *[]RoleAssignmentScheduleInstance }
type MemberType ¶
type MemberType string
const ( MemberTypeDirect MemberType = "Direct" MemberTypeGroup MemberType = "Group" MemberTypeInherited MemberType = "Inherited" )
func (*MemberType) UnmarshalJSON ¶
func (s *MemberType) UnmarshalJSON(bytes []byte) error
type PrincipalType ¶
type PrincipalType string
const ( PrincipalTypeDevice PrincipalType = "Device" PrincipalTypeForeignGroup PrincipalType = "ForeignGroup" PrincipalTypeGroup PrincipalType = "Group" PrincipalTypeServicePrincipal PrincipalType = "ServicePrincipal" PrincipalTypeUser PrincipalType = "User" )
func (*PrincipalType) UnmarshalJSON ¶
func (s *PrincipalType) UnmarshalJSON(bytes []byte) error
type RoleAssignmentScheduleInstance ¶
type RoleAssignmentScheduleInstance struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RoleAssignmentScheduleInstanceProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RoleAssignmentScheduleInstanceOperationPredicate ¶
type RoleAssignmentScheduleInstanceOperationPredicate struct { Id *string Name *string Type *string }
func (RoleAssignmentScheduleInstanceOperationPredicate) Matches ¶
func (p RoleAssignmentScheduleInstanceOperationPredicate) Matches(input RoleAssignmentScheduleInstance) bool
type RoleAssignmentScheduleInstanceProperties ¶
type RoleAssignmentScheduleInstanceProperties struct { AssignmentType *AssignmentType `json:"assignmentType,omitempty"` Condition *string `json:"condition,omitempty"` ConditionVersion *string `json:"conditionVersion,omitempty"` CreatedOn *string `json:"createdOn,omitempty"` EndDateTime *string `json:"endDateTime,omitempty"` ExpandedProperties *ExpandedProperties `json:"expandedProperties,omitempty"` LinkedRoleEligibilityScheduleId *string `json:"linkedRoleEligibilityScheduleId,omitempty"` LinkedRoleEligibilityScheduleInstanceId *string `json:"linkedRoleEligibilityScheduleInstanceId,omitempty"` MemberType *MemberType `json:"memberType,omitempty"` OriginRoleAssignmentId *string `json:"originRoleAssignmentId,omitempty"` PrincipalId *string `json:"principalId,omitempty"` PrincipalType *PrincipalType `json:"principalType,omitempty"` RoleAssignmentScheduleId *string `json:"roleAssignmentScheduleId,omitempty"` RoleDefinitionId *string `json:"roleDefinitionId,omitempty"` Scope *string `json:"scope,omitempty"` StartDateTime *string `json:"startDateTime,omitempty"` Status *Status `json:"status,omitempty"` }
func (*RoleAssignmentScheduleInstanceProperties) GetCreatedOnAsTime ¶
func (o *RoleAssignmentScheduleInstanceProperties) GetCreatedOnAsTime() (*time.Time, error)
func (*RoleAssignmentScheduleInstanceProperties) GetEndDateTimeAsTime ¶
func (o *RoleAssignmentScheduleInstanceProperties) GetEndDateTimeAsTime() (*time.Time, error)
func (*RoleAssignmentScheduleInstanceProperties) GetStartDateTimeAsTime ¶
func (o *RoleAssignmentScheduleInstanceProperties) GetStartDateTimeAsTime() (*time.Time, error)
func (*RoleAssignmentScheduleInstanceProperties) SetCreatedOnAsTime ¶
func (o *RoleAssignmentScheduleInstanceProperties) SetCreatedOnAsTime(input time.Time)
func (*RoleAssignmentScheduleInstanceProperties) SetEndDateTimeAsTime ¶
func (o *RoleAssignmentScheduleInstanceProperties) SetEndDateTimeAsTime(input time.Time)
func (*RoleAssignmentScheduleInstanceProperties) SetStartDateTimeAsTime ¶
func (o *RoleAssignmentScheduleInstanceProperties) SetStartDateTimeAsTime(input time.Time)
type RoleAssignmentScheduleInstancesClient ¶
type RoleAssignmentScheduleInstancesClient struct {
Client *resourcemanager.Client
}
func NewRoleAssignmentScheduleInstancesClientWithBaseURI ¶
func NewRoleAssignmentScheduleInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*RoleAssignmentScheduleInstancesClient, error)
func (RoleAssignmentScheduleInstancesClient) Get ¶
func (c RoleAssignmentScheduleInstancesClient) Get(ctx context.Context, id ScopedRoleAssignmentScheduleInstanceId) (result GetOperationResponse, err error)
Get ...
func (RoleAssignmentScheduleInstancesClient) ListForScope ¶
func (c RoleAssignmentScheduleInstancesClient) ListForScope(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (result ListForScopeOperationResponse, err error)
ListForScope ...
func (RoleAssignmentScheduleInstancesClient) ListForScopeComplete ¶
func (c RoleAssignmentScheduleInstancesClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all the results into a single object
func (RoleAssignmentScheduleInstancesClient) ListForScopeCompleteMatchingPredicate ¶
func (c RoleAssignmentScheduleInstancesClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions, predicate RoleAssignmentScheduleInstanceOperationPredicate) (result ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ScopedRoleAssignmentScheduleInstanceId ¶
type ScopedRoleAssignmentScheduleInstanceId struct { Scope string RoleAssignmentScheduleInstanceName string }
ScopedRoleAssignmentScheduleInstanceId is a struct representing the Resource ID for a Scoped Role Assignment Schedule Instance
func NewScopedRoleAssignmentScheduleInstanceID ¶
func NewScopedRoleAssignmentScheduleInstanceID(scope string, roleAssignmentScheduleInstanceName string) ScopedRoleAssignmentScheduleInstanceId
NewScopedRoleAssignmentScheduleInstanceID returns a new ScopedRoleAssignmentScheduleInstanceId struct
func ParseScopedRoleAssignmentScheduleInstanceID ¶
func ParseScopedRoleAssignmentScheduleInstanceID(input string) (*ScopedRoleAssignmentScheduleInstanceId, error)
ParseScopedRoleAssignmentScheduleInstanceID parses 'input' into a ScopedRoleAssignmentScheduleInstanceId
func ParseScopedRoleAssignmentScheduleInstanceIDInsensitively ¶
func ParseScopedRoleAssignmentScheduleInstanceIDInsensitively(input string) (*ScopedRoleAssignmentScheduleInstanceId, error)
ParseScopedRoleAssignmentScheduleInstanceIDInsensitively parses 'input' case-insensitively into a ScopedRoleAssignmentScheduleInstanceId note: this method should only be used for API response data and not user input
func (*ScopedRoleAssignmentScheduleInstanceId) FromParseResult ¶
func (id *ScopedRoleAssignmentScheduleInstanceId) FromParseResult(input resourceids.ParseResult) error
func (ScopedRoleAssignmentScheduleInstanceId) ID ¶
func (id ScopedRoleAssignmentScheduleInstanceId) ID() string
ID returns the formatted Scoped Role Assignment Schedule Instance ID
func (ScopedRoleAssignmentScheduleInstanceId) Segments ¶
func (id ScopedRoleAssignmentScheduleInstanceId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Role Assignment Schedule Instance ID
func (ScopedRoleAssignmentScheduleInstanceId) String ¶
func (id ScopedRoleAssignmentScheduleInstanceId) String() string
String returns a human-readable description of this Scoped Role Assignment Schedule Instance ID
type Status ¶
type Status string
const ( StatusAccepted Status = "Accepted" StatusAdminApproved Status = "AdminApproved" StatusAdminDenied Status = "AdminDenied" StatusCanceled Status = "Canceled" StatusDenied Status = "Denied" StatusFailed Status = "Failed" StatusFailedAsResourceIsLocked Status = "FailedAsResourceIsLocked" StatusGranted Status = "Granted" StatusInvalid Status = "Invalid" StatusPendingAdminDecision Status = "PendingAdminDecision" StatusPendingApproval Status = "PendingApproval" StatusPendingApprovalProvisioning Status = "PendingApprovalProvisioning" StatusPendingEvaluation Status = "PendingEvaluation" StatusPendingExternalProvisioning Status = "PendingExternalProvisioning" StatusPendingProvisioning Status = "PendingProvisioning" StatusPendingRevocation Status = "PendingRevocation" StatusPendingScheduleCreation Status = "PendingScheduleCreation" StatusProvisioned Status = "Provisioned" StatusProvisioningStarted Status = "ProvisioningStarted" StatusRevoked Status = "Revoked" StatusScheduleCreated Status = "ScheduleCreated" StatusTimedOut Status = "TimedOut" )
func (*Status) UnmarshalJSON ¶
Source Files ¶
- client.go
- constants.go
- id_scopedroleassignmentscheduleinstance.go
- method_get.go
- method_listforscope.go
- model_expandedproperties.go
- model_expandedpropertiesprincipal.go
- model_expandedpropertiesroledefinition.go
- model_expandedpropertiesscope.go
- model_roleassignmentscheduleinstance.go
- model_roleassignmentscheduleinstanceproperties.go
- predicates.go
- version.go