Documentation ¶
Index ¶
- func PossibleValuesForPrincipalType() []string
- func PossibleValuesForRequestType() []string
- func PossibleValuesForStatus() []string
- func PossibleValuesForType() []string
- func ValidateScopedRoleEligibilityScheduleRequestID(input interface{}, key string) (warnings []string, errors []error)
- type CancelOperationResponse
- type CreateOperationResponse
- type ExpandedProperties
- type ExpandedPropertiesPrincipal
- type ExpandedPropertiesRoleDefinition
- type ExpandedPropertiesScope
- type GetOperationResponse
- type ListForScopeCompleteResult
- type ListForScopeOperationOptions
- type ListForScopeOperationResponse
- type PrincipalType
- type RequestType
- type RoleEligibilityScheduleRequest
- type RoleEligibilityScheduleRequestOperationPredicate
- type RoleEligibilityScheduleRequestProperties
- type RoleEligibilityScheduleRequestPropertiesScheduleInfo
- type RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration
- type RoleEligibilityScheduleRequestPropertiesTicketInfo
- type RoleEligibilityScheduleRequestsClient
- func (c RoleEligibilityScheduleRequestsClient) Cancel(ctx context.Context, id ScopedRoleEligibilityScheduleRequestId) (result CancelOperationResponse, err error)
- func (c RoleEligibilityScheduleRequestsClient) Create(ctx context.Context, id ScopedRoleEligibilityScheduleRequestId, ...) (result CreateOperationResponse, err error)
- func (c RoleEligibilityScheduleRequestsClient) Get(ctx context.Context, id ScopedRoleEligibilityScheduleRequestId) (result GetOperationResponse, err error)
- func (c RoleEligibilityScheduleRequestsClient) ListForScope(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeOperationResponse, err error)
- func (c RoleEligibilityScheduleRequestsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, ...) (ListForScopeCompleteResult, error)
- func (c RoleEligibilityScheduleRequestsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, ...) (result ListForScopeCompleteResult, err error)
- func (c RoleEligibilityScheduleRequestsClient) Validate(ctx context.Context, id ScopedRoleEligibilityScheduleRequestId, ...) (result ValidateOperationResponse, err error)
- type ScopedRoleEligibilityScheduleRequestId
- func NewScopedRoleEligibilityScheduleRequestID(scope string, roleEligibilityScheduleRequestName string) ScopedRoleEligibilityScheduleRequestId
- func ParseScopedRoleEligibilityScheduleRequestID(input string) (*ScopedRoleEligibilityScheduleRequestId, error)
- func ParseScopedRoleEligibilityScheduleRequestIDInsensitively(input string) (*ScopedRoleEligibilityScheduleRequestId, error)
- func (id *ScopedRoleEligibilityScheduleRequestId) FromParseResult(input resourceids.ParseResult) error
- func (id ScopedRoleEligibilityScheduleRequestId) ID() string
- func (id ScopedRoleEligibilityScheduleRequestId) Segments() []resourceids.Segment
- func (id ScopedRoleEligibilityScheduleRequestId) String() string
- type Status
- type Type
- type ValidateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForPrincipalType ¶
func PossibleValuesForPrincipalType() []string
func PossibleValuesForRequestType ¶
func PossibleValuesForRequestType() []string
func PossibleValuesForStatus ¶
func PossibleValuesForStatus() []string
func PossibleValuesForType ¶
func PossibleValuesForType() []string
func ValidateScopedRoleEligibilityScheduleRequestID ¶
func ValidateScopedRoleEligibilityScheduleRequestID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRoleEligibilityScheduleRequestID checks that 'input' can be parsed as a Scoped Role Eligibility Schedule Request ID
Types ¶
type CancelOperationResponse ¶
type CreateOperationResponse ¶
type CreateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleEligibilityScheduleRequest }
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 *RoleEligibilityScheduleRequest }
type ListForScopeCompleteResult ¶
type ListForScopeCompleteResult struct { LatestHttpResponse *http.Response Items []RoleEligibilityScheduleRequest }
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 *[]RoleEligibilityScheduleRequest }
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 RequestType ¶
type RequestType string
const ( RequestTypeAdminAssign RequestType = "AdminAssign" RequestTypeAdminExtend RequestType = "AdminExtend" RequestTypeAdminRemove RequestType = "AdminRemove" RequestTypeAdminRenew RequestType = "AdminRenew" RequestTypeAdminUpdate RequestType = "AdminUpdate" RequestTypeSelfActivate RequestType = "SelfActivate" RequestTypeSelfDeactivate RequestType = "SelfDeactivate" RequestTypeSelfExtend RequestType = "SelfExtend" RequestTypeSelfRenew RequestType = "SelfRenew" )
func (*RequestType) UnmarshalJSON ¶
func (s *RequestType) UnmarshalJSON(bytes []byte) error
type RoleEligibilityScheduleRequest ¶
type RoleEligibilityScheduleRequest struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *RoleEligibilityScheduleRequestProperties `json:"properties,omitempty"` Type *string `json:"type,omitempty"` }
type RoleEligibilityScheduleRequestOperationPredicate ¶
type RoleEligibilityScheduleRequestOperationPredicate struct { Id *string Name *string Type *string }
func (RoleEligibilityScheduleRequestOperationPredicate) Matches ¶
func (p RoleEligibilityScheduleRequestOperationPredicate) Matches(input RoleEligibilityScheduleRequest) bool
type RoleEligibilityScheduleRequestProperties ¶
type RoleEligibilityScheduleRequestProperties struct { ApprovalId *string `json:"approvalId,omitempty"` Condition *string `json:"condition,omitempty"` ConditionVersion *string `json:"conditionVersion,omitempty"` CreatedOn *string `json:"createdOn,omitempty"` ExpandedProperties *ExpandedProperties `json:"expandedProperties,omitempty"` Justification *string `json:"justification,omitempty"` PrincipalId string `json:"principalId"` PrincipalType *PrincipalType `json:"principalType,omitempty"` RequestType RequestType `json:"requestType"` RequestorId *string `json:"requestorId,omitempty"` RoleDefinitionId string `json:"roleDefinitionId"` ScheduleInfo *RoleEligibilityScheduleRequestPropertiesScheduleInfo `json:"scheduleInfo,omitempty"` Scope *string `json:"scope,omitempty"` Status *Status `json:"status,omitempty"` TargetRoleEligibilityScheduleId *string `json:"targetRoleEligibilityScheduleId,omitempty"` TargetRoleEligibilityScheduleInstanceId *string `json:"targetRoleEligibilityScheduleInstanceId,omitempty"` TicketInfo *RoleEligibilityScheduleRequestPropertiesTicketInfo `json:"ticketInfo,omitempty"` }
func (*RoleEligibilityScheduleRequestProperties) GetCreatedOnAsTime ¶
func (o *RoleEligibilityScheduleRequestProperties) GetCreatedOnAsTime() (*time.Time, error)
func (*RoleEligibilityScheduleRequestProperties) SetCreatedOnAsTime ¶
func (o *RoleEligibilityScheduleRequestProperties) SetCreatedOnAsTime(input time.Time)
type RoleEligibilityScheduleRequestPropertiesScheduleInfo ¶
type RoleEligibilityScheduleRequestPropertiesScheduleInfo struct { Expiration *RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration `json:"expiration,omitempty"` StartDateTime *string `json:"startDateTime,omitempty"` }
func (*RoleEligibilityScheduleRequestPropertiesScheduleInfo) GetStartDateTimeAsTime ¶
func (o *RoleEligibilityScheduleRequestPropertiesScheduleInfo) GetStartDateTimeAsTime() (*time.Time, error)
func (*RoleEligibilityScheduleRequestPropertiesScheduleInfo) SetStartDateTimeAsTime ¶
func (o *RoleEligibilityScheduleRequestPropertiesScheduleInfo) SetStartDateTimeAsTime(input time.Time)
type RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration ¶
type RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration struct { Duration *string `json:"duration,omitempty"` EndDateTime *string `json:"endDateTime,omitempty"` Type *Type `json:"type,omitempty"` }
func (*RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration) GetEndDateTimeAsTime ¶
func (o *RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration) GetEndDateTimeAsTime() (*time.Time, error)
func (*RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration) SetEndDateTimeAsTime ¶
func (o *RoleEligibilityScheduleRequestPropertiesScheduleInfoExpiration) SetEndDateTimeAsTime(input time.Time)
type RoleEligibilityScheduleRequestsClient ¶
type RoleEligibilityScheduleRequestsClient struct {
Client *resourcemanager.Client
}
func NewRoleEligibilityScheduleRequestsClientWithBaseURI ¶
func NewRoleEligibilityScheduleRequestsClientWithBaseURI(sdkApi sdkEnv.Api) (*RoleEligibilityScheduleRequestsClient, error)
func (RoleEligibilityScheduleRequestsClient) Cancel ¶
func (c RoleEligibilityScheduleRequestsClient) Cancel(ctx context.Context, id ScopedRoleEligibilityScheduleRequestId) (result CancelOperationResponse, err error)
Cancel ...
func (RoleEligibilityScheduleRequestsClient) Create ¶
func (c RoleEligibilityScheduleRequestsClient) Create(ctx context.Context, id ScopedRoleEligibilityScheduleRequestId, input RoleEligibilityScheduleRequest) (result CreateOperationResponse, err error)
Create ...
func (RoleEligibilityScheduleRequestsClient) Get ¶
func (c RoleEligibilityScheduleRequestsClient) Get(ctx context.Context, id ScopedRoleEligibilityScheduleRequestId) (result GetOperationResponse, err error)
Get ...
func (RoleEligibilityScheduleRequestsClient) ListForScope ¶
func (c RoleEligibilityScheduleRequestsClient) ListForScope(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (result ListForScopeOperationResponse, err error)
ListForScope ...
func (RoleEligibilityScheduleRequestsClient) ListForScopeComplete ¶
func (c RoleEligibilityScheduleRequestsClient) ListForScopeComplete(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions) (ListForScopeCompleteResult, error)
ListForScopeComplete retrieves all the results into a single object
func (RoleEligibilityScheduleRequestsClient) ListForScopeCompleteMatchingPredicate ¶
func (c RoleEligibilityScheduleRequestsClient) ListForScopeCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListForScopeOperationOptions, predicate RoleEligibilityScheduleRequestOperationPredicate) (result ListForScopeCompleteResult, err error)
ListForScopeCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (RoleEligibilityScheduleRequestsClient) Validate ¶
func (c RoleEligibilityScheduleRequestsClient) Validate(ctx context.Context, id ScopedRoleEligibilityScheduleRequestId, input RoleEligibilityScheduleRequest) (result ValidateOperationResponse, err error)
Validate ...
type ScopedRoleEligibilityScheduleRequestId ¶
type ScopedRoleEligibilityScheduleRequestId struct { Scope string RoleEligibilityScheduleRequestName string }
ScopedRoleEligibilityScheduleRequestId is a struct representing the Resource ID for a Scoped Role Eligibility Schedule Request
func NewScopedRoleEligibilityScheduleRequestID ¶
func NewScopedRoleEligibilityScheduleRequestID(scope string, roleEligibilityScheduleRequestName string) ScopedRoleEligibilityScheduleRequestId
NewScopedRoleEligibilityScheduleRequestID returns a new ScopedRoleEligibilityScheduleRequestId struct
func ParseScopedRoleEligibilityScheduleRequestID ¶
func ParseScopedRoleEligibilityScheduleRequestID(input string) (*ScopedRoleEligibilityScheduleRequestId, error)
ParseScopedRoleEligibilityScheduleRequestID parses 'input' into a ScopedRoleEligibilityScheduleRequestId
func ParseScopedRoleEligibilityScheduleRequestIDInsensitively ¶
func ParseScopedRoleEligibilityScheduleRequestIDInsensitively(input string) (*ScopedRoleEligibilityScheduleRequestId, error)
ParseScopedRoleEligibilityScheduleRequestIDInsensitively parses 'input' case-insensitively into a ScopedRoleEligibilityScheduleRequestId note: this method should only be used for API response data and not user input
func (*ScopedRoleEligibilityScheduleRequestId) FromParseResult ¶
func (id *ScopedRoleEligibilityScheduleRequestId) FromParseResult(input resourceids.ParseResult) error
func (ScopedRoleEligibilityScheduleRequestId) ID ¶
func (id ScopedRoleEligibilityScheduleRequestId) ID() string
ID returns the formatted Scoped Role Eligibility Schedule Request ID
func (ScopedRoleEligibilityScheduleRequestId) Segments ¶
func (id ScopedRoleEligibilityScheduleRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Role Eligibility Schedule Request ID
func (ScopedRoleEligibilityScheduleRequestId) String ¶
func (id ScopedRoleEligibilityScheduleRequestId) String() string
String returns a human-readable description of this Scoped Role Eligibility Schedule Request 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 ¶
type ValidateOperationResponse ¶
type ValidateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RoleEligibilityScheduleRequest }
Source Files ¶
- client.go
- constants.go
- id_scopedroleeligibilityschedulerequest.go
- method_cancel.go
- method_create.go
- method_get.go
- method_listforscope.go
- method_validate.go
- model_expandedproperties.go
- model_expandedpropertiesprincipal.go
- model_expandedpropertiesroledefinition.go
- model_expandedpropertiesscope.go
- model_roleeligibilityschedulerequest.go
- model_roleeligibilityschedulerequestproperties.go
- model_roleeligibilityschedulerequestpropertiesscheduleinfo.go
- model_roleeligibilityschedulerequestpropertiesscheduleinfoexpiration.go
- model_roleeligibilityschedulerequestpropertiesticketinfo.go
- predicates.go
- version.go