Documentation ¶
Index ¶
- func PossibleValuesForMemberType() []string
- func PossibleValuesForPrincipalType() []string
- func PossibleValuesForStatus() []string
- func ValidateScopedRoleEligibilityScheduleID(input interface{}, key string) (warnings []string, errors []error)
- type ExpandedProperties
- type ExpandedPropertiesPrincipal
- type ExpandedPropertiesRoleDefinition
- type ExpandedPropertiesScope
- type GetOperationResponse
- type ListForScopeCompleteResult
- type ListForScopeCustomPager
- type ListForScopeOperationOptions
- type ListForScopeOperationResponse
- type MemberType
- type PrincipalType
- type RoleEligibilitySchedule
- type RoleEligibilityScheduleOperationPredicate
- type RoleEligibilityScheduleProperties
- func (o *RoleEligibilityScheduleProperties) GetCreatedOnAsTime() (*time.Time, error)
- func (o *RoleEligibilityScheduleProperties) GetEndDateTimeAsTime() (*time.Time, error)
- func (o *RoleEligibilityScheduleProperties) GetStartDateTimeAsTime() (*time.Time, error)
- func (o *RoleEligibilityScheduleProperties) GetUpdatedOnAsTime() (*time.Time, error)
- func (o *RoleEligibilityScheduleProperties) SetCreatedOnAsTime(input time.Time)
- func (o *RoleEligibilityScheduleProperties) SetEndDateTimeAsTime(input time.Time)
- func (o *RoleEligibilityScheduleProperties) SetStartDateTimeAsTime(input time.Time)
- func (o *RoleEligibilityScheduleProperties) SetUpdatedOnAsTime(input time.Time)
- type RoleEligibilitySchedulesClient
- func (c RoleEligibilitySchedulesClient) Get(ctx context.Context, id ScopedRoleEligibilityScheduleId) (result GetOperationResponse, err error)
- func (c RoleEligibilitySchedulesClient) ListForScope(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeOperationResponse, err error)
- func (c RoleEligibilitySchedulesClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForScopeCompleteResult, error)
- func (c RoleEligibilitySchedulesClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeCompleteResult, err error)
- type ScopedRoleEligibilityScheduleId
- func NewScopedRoleEligibilityScheduleID(scope string, roleEligibilityScheduleName string) ScopedRoleEligibilityScheduleId
- func ParseScopedRoleEligibilityScheduleID(input string) (*ScopedRoleEligibilityScheduleId, error)
- func ParseScopedRoleEligibilityScheduleIDInsensitively(input string) (*ScopedRoleEligibilityScheduleId, error)
- type Status
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMemberType ¶
func PossibleValuesForMemberType() []string
func PossibleValuesForPrincipalType ¶
func PossibleValuesForPrincipalType() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func ValidateScopedRoleEligibilityScheduleID ¶
func ValidateScopedRoleEligibilityScheduleID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRoleEligibilityScheduleID checks that 'input' can be parsed as a Scoped Role Eligibility Schedule ID
Types ¶
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 *RoleEligibilitySchedule }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct { LatestHttpResponse *http.Response Items []RoleEligibilitySchedule }
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 *[]RoleEligibilitySchedule }
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 RoleEligibilitySchedule ¶
type RoleEligibilitySchedule struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RoleEligibilityScheduleProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RoleEligibilityScheduleOperationPredicate ¶
func (RoleEligibilityScheduleOperationPredicate) Matches ¶
func (p RoleEligibilityScheduleOperationPredicate) Matches(input RoleEligibilitySchedule) bool
type RoleEligibilityScheduleProperties ¶
type RoleEligibilityScheduleProperties struct { 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"` MemberType *MemberType `json:"memberType,omitempty"` PrincipalId *string `json:"principalId,omitempty"` PrincipalType *PrincipalType `json:"principalType,omitempty"` RoleDefinitionId *string `json:"roleDefinitionId,omitempty"` RoleEligibilityScheduleRequestId *string `json:"roleEligibilityScheduleRequestId,omitempty"` Scope *string `json:"scope,omitempty"` StartDateTime *string `json:"startDateTime,omitempty"` Status *Status `json:"status,omitempty"` UpdatedOn *string `json:"updatedOn,omitempty"` }
func (*RoleEligibilityScheduleProperties) GetCreatedOnAsTime ¶
func (o *RoleEligibilityScheduleProperties) GetCreatedOnAsTime() (*time.Time, error)
func (*RoleEligibilityScheduleProperties) GetEndDateTimeAsTime ¶
func (o *RoleEligibilityScheduleProperties) GetEndDateTimeAsTime() (*time.Time, error)
func (*RoleEligibilityScheduleProperties) GetStartDateTimeAsTime ¶
func (o *RoleEligibilityScheduleProperties) GetStartDateTimeAsTime() (*time.Time, error)
func (*RoleEligibilityScheduleProperties) GetUpdatedOnAsTime ¶
func (o *RoleEligibilityScheduleProperties) GetUpdatedOnAsTime() (*time.Time, error)
func (*RoleEligibilityScheduleProperties) SetCreatedOnAsTime ¶
func (o *RoleEligibilityScheduleProperties) SetCreatedOnAsTime(input time.Time)
func (*RoleEligibilityScheduleProperties) SetEndDateTimeAsTime ¶
func (o *RoleEligibilityScheduleProperties) SetEndDateTimeAsTime(input time.Time)
func (*RoleEligibilityScheduleProperties) SetStartDateTimeAsTime ¶
func (o *RoleEligibilityScheduleProperties) SetStartDateTimeAsTime(input time.Time)
func (*RoleEligibilityScheduleProperties) SetUpdatedOnAsTime ¶
func (o *RoleEligibilityScheduleProperties) SetUpdatedOnAsTime(input time.Time)
type RoleEligibilitySchedulesClient ¶
type RoleEligibilitySchedulesClient struct {
Client *resourcemanager.Client
}
func NewRoleEligibilitySchedulesClientWithBaseURI ¶
func NewRoleEligibilitySchedulesClientWithBaseURI(sdkApi sdkEnv.Api) (*RoleEligibilitySchedulesClient, error)
func (RoleEligibilitySchedulesClient) Get ¶
func (c RoleEligibilitySchedulesClient) Get(ctx context.Context, id ScopedRoleEligibilityScheduleId) (result GetOperationResponse, err error)
Get ...
func (RoleEligibilitySchedulesClient) ListForScope ¶
func (c RoleEligibilitySchedulesClient) ListForScope(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (result ListForScopeOperationResponse, err error)
ListForScope ...
func (RoleEligibilitySchedulesClient) ListForScopeComplete ¶
func (c RoleEligibilitySchedulesClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all the results into a single object
func (RoleEligibilitySchedulesClient) ListForScopeCompleteMatchingPredicate ¶
func (c RoleEligibilitySchedulesClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions, predicate RoleEligibilityScheduleOperationPredicate) (result ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ScopedRoleEligibilityScheduleId ¶
ScopedRoleEligibilityScheduleId is a struct representing the Resource ID for a Scoped Role Eligibility Schedule
func NewScopedRoleEligibilityScheduleID ¶
func NewScopedRoleEligibilityScheduleID(scope string, roleEligibilityScheduleName string) ScopedRoleEligibilityScheduleId
NewScopedRoleEligibilityScheduleID returns a new ScopedRoleEligibilityScheduleId struct
func ParseScopedRoleEligibilityScheduleID ¶
func ParseScopedRoleEligibilityScheduleID(input string) (*ScopedRoleEligibilityScheduleId, error)
ParseScopedRoleEligibilityScheduleID parses 'input' into a ScopedRoleEligibilityScheduleId
func ParseScopedRoleEligibilityScheduleIDInsensitively ¶
func ParseScopedRoleEligibilityScheduleIDInsensitively(input string) (*ScopedRoleEligibilityScheduleId, error)
ParseScopedRoleEligibilityScheduleIDInsensitively parses 'input' case-insensitively into a ScopedRoleEligibilityScheduleId note: this method should only be used for API response data and not user input
func (*ScopedRoleEligibilityScheduleId) FromParseResult ¶
func (id *ScopedRoleEligibilityScheduleId) FromParseResult(input resourceids.ParseResult) error
func (ScopedRoleEligibilityScheduleId) ID ¶
func (id ScopedRoleEligibilityScheduleId) ID() string
ID returns the formatted Scoped Role Eligibility Schedule ID
func (ScopedRoleEligibilityScheduleId) Segments ¶
func (id ScopedRoleEligibilityScheduleId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Role Eligibility Schedule ID
func (ScopedRoleEligibilityScheduleId) String ¶
func (id ScopedRoleEligibilityScheduleId) String() string
String returns a human-readable description of this Scoped Role Eligibility Schedule 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_scopedroleeligibilityschedule.go
- method_get.go
- method_listforscope.go
- model_expandedproperties.go
- model_expandedpropertiesprincipal.go
- model_expandedpropertiesroledefinition.go
- model_expandedpropertiesscope.go
- model_roleeligibilityschedule.go
- model_roleeligibilityscheduleproperties.go
- predicates.go
- version.go