Documentation ¶
Index ¶
- func PossibleValuesForMultiFactorAuthProvider() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateScopedRegistrationDefinitionID(input interface{}, key string) (warnings []string, errors []error)
- type Authorization
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type EligibleApprover
- type EligibleAuthorization
- type GetOperationResponse
- type JustInTimeAccessPolicy
- type ListCompleteResult
- type ListOperationOptions
- type ListOperationResponse
- type MultiFactorAuthProvider
- type Plan
- type ProvisioningState
- type RegistrationDefinition
- type RegistrationDefinitionOperationPredicate
- type RegistrationDefinitionProperties
- type RegistrationDefinitionsClient
- func (c RegistrationDefinitionsClient) CreateOrUpdate(ctx context.Context, id ScopedRegistrationDefinitionId, ...) (result CreateOrUpdateOperationResponse, err error)
- func (c RegistrationDefinitionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedRegistrationDefinitionId, ...) error
- func (c RegistrationDefinitionsClient) Delete(ctx context.Context, id ScopedRegistrationDefinitionId) (result DeleteOperationResponse, err error)
- func (c RegistrationDefinitionsClient) Get(ctx context.Context, id ScopedRegistrationDefinitionId) (result GetOperationResponse, err error)
- func (c RegistrationDefinitionsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
- func (c RegistrationDefinitionsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
- func (c RegistrationDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, ...) (result ListCompleteResult, err error)
- type ScopedRegistrationDefinitionId
- func NewScopedRegistrationDefinitionID(scope string, registrationDefinitionId string) ScopedRegistrationDefinitionId
- func ParseScopedRegistrationDefinitionID(input string) (*ScopedRegistrationDefinitionId, error)
- func ParseScopedRegistrationDefinitionIDInsensitively(input string) (*ScopedRegistrationDefinitionId, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForMultiFactorAuthProvider ¶
func PossibleValuesForMultiFactorAuthProvider() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateScopedRegistrationDefinitionID ¶
func ValidateScopedRegistrationDefinitionID(input interface{}, key string) (warnings []string, errors []error)
ValidateScopedRegistrationDefinitionID checks that 'input' can be parsed as a Scoped Registration Definition ID
Types ¶
type Authorization ¶
type DeleteOperationResponse ¶
type EligibleApprover ¶
type EligibleAuthorization ¶
type EligibleAuthorization struct { JustInTimeAccessPolicy *JustInTimeAccessPolicy `json:"justInTimeAccessPolicy,omitempty"` PrincipalId string `json:"principalId"` PrincipalIdDisplayName *string `json:"principalIdDisplayName,omitempty"` RoleDefinitionId string `json:"roleDefinitionId"` }
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *RegistrationDefinition }
type JustInTimeAccessPolicy ¶
type JustInTimeAccessPolicy struct { ManagedByTenantApprovers *[]EligibleApprover `json:"managedByTenantApprovers,omitempty"` MaximumActivationDuration *string `json:"maximumActivationDuration,omitempty"` MultiFactorAuthProvider MultiFactorAuthProvider `json:"multiFactorAuthProvider"` }
type ListCompleteResult ¶
type ListCompleteResult struct { LatestHttpResponse *http.Response Items []RegistrationDefinition }
type ListOperationOptions ¶
type ListOperationOptions struct {
Filter *string
}
func DefaultListOperationOptions ¶
func DefaultListOperationOptions() ListOperationOptions
func (ListOperationOptions) ToHeaders ¶ added in v0.20231114.1115341
func (o ListOperationOptions) ToHeaders() *client.Headers
func (ListOperationOptions) ToOData ¶ added in v0.20231114.1115341
func (o ListOperationOptions) ToOData() *odata.Query
func (ListOperationOptions) ToQuery ¶ added in v0.20231114.1115341
func (o ListOperationOptions) ToQuery() *client.QueryParams
type ListOperationResponse ¶
type ListOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]RegistrationDefinition }
type MultiFactorAuthProvider ¶
type MultiFactorAuthProvider string
const ( MultiFactorAuthProviderAzure MultiFactorAuthProvider = "Azure" MultiFactorAuthProviderNone MultiFactorAuthProvider = "None" )
func (*MultiFactorAuthProvider) UnmarshalJSON ¶ added in v0.20231114.1115341
func (s *MultiFactorAuthProvider) UnmarshalJSON(bytes []byte) error
type ProvisioningState ¶
type ProvisioningState string
const ( ProvisioningStateAccepted ProvisioningState = "Accepted" ProvisioningStateCanceled ProvisioningState = "Canceled" ProvisioningStateCreated ProvisioningState = "Created" ProvisioningStateCreating ProvisioningState = "Creating" ProvisioningStateDeleted ProvisioningState = "Deleted" ProvisioningStateDeleting ProvisioningState = "Deleting" ProvisioningStateFailed ProvisioningState = "Failed" ProvisioningStateNotSpecified ProvisioningState = "NotSpecified" ProvisioningStateReady ProvisioningState = "Ready" ProvisioningStateRunning ProvisioningState = "Running" ProvisioningStateSucceeded ProvisioningState = "Succeeded" ProvisioningStateUpdating ProvisioningState = "Updating" )
func (*ProvisioningState) UnmarshalJSON ¶ added in v0.20231114.1115341
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type RegistrationDefinition ¶
type RegistrationDefinition struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Plan *Plan `json:"plan,omitempty"` Properties *RegistrationDefinitionProperties `json:"properties,omitempty"` SystemData *systemdata.SystemData `json:"systemData,omitempty"` Type *string `json:"type,omitempty"` }
type RegistrationDefinitionOperationPredicate ¶
func (RegistrationDefinitionOperationPredicate) Matches ¶
func (p RegistrationDefinitionOperationPredicate) Matches(input RegistrationDefinition) bool
type RegistrationDefinitionProperties ¶
type RegistrationDefinitionProperties struct { Authorizations []Authorization `json:"authorizations"` Description *string `json:"description,omitempty"` EligibleAuthorizations *[]EligibleAuthorization `json:"eligibleAuthorizations,omitempty"` ManagedByTenantId string `json:"managedByTenantId"` ManagedByTenantName *string `json:"managedByTenantName,omitempty"` ManageeTenantId *string `json:"manageeTenantId,omitempty"` ManageeTenantName *string `json:"manageeTenantName,omitempty"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` RegistrationDefinitionName *string `json:"registrationDefinitionName,omitempty"` }
type RegistrationDefinitionsClient ¶
type RegistrationDefinitionsClient struct {
Client *resourcemanager.Client
}
func NewRegistrationDefinitionsClientWithBaseURI ¶
func NewRegistrationDefinitionsClientWithBaseURI(sdkApi sdkEnv.Api) (*RegistrationDefinitionsClient, error)
func (RegistrationDefinitionsClient) CreateOrUpdate ¶
func (c RegistrationDefinitionsClient) CreateOrUpdate(ctx context.Context, id ScopedRegistrationDefinitionId, input RegistrationDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (RegistrationDefinitionsClient) CreateOrUpdateThenPoll ¶
func (c RegistrationDefinitionsClient) CreateOrUpdateThenPoll(ctx context.Context, id ScopedRegistrationDefinitionId, input RegistrationDefinition) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (RegistrationDefinitionsClient) Delete ¶
func (c RegistrationDefinitionsClient) Delete(ctx context.Context, id ScopedRegistrationDefinitionId) (result DeleteOperationResponse, err error)
Delete ...
func (RegistrationDefinitionsClient) Get ¶
func (c RegistrationDefinitionsClient) Get(ctx context.Context, id ScopedRegistrationDefinitionId) (result GetOperationResponse, err error)
Get ...
func (RegistrationDefinitionsClient) List ¶
func (c RegistrationDefinitionsClient) List(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (result ListOperationResponse, err error)
List ...
func (RegistrationDefinitionsClient) ListComplete ¶
func (c RegistrationDefinitionsClient) ListComplete(ctx context.Context, id commonids.ScopeId, options ListOperationOptions) (ListCompleteResult, error)
ListComplete retrieves all the results into a single object
func (RegistrationDefinitionsClient) ListCompleteMatchingPredicate ¶
func (c RegistrationDefinitionsClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, options ListOperationOptions, predicate RegistrationDefinitionOperationPredicate) (result ListCompleteResult, err error)
ListCompleteMatchingPredicate retrieves all the results and then applies the predicate
type ScopedRegistrationDefinitionId ¶
ScopedRegistrationDefinitionId is a struct representing the Resource ID for a Scoped Registration Definition
func NewScopedRegistrationDefinitionID ¶
func NewScopedRegistrationDefinitionID(scope string, registrationDefinitionId string) ScopedRegistrationDefinitionId
NewScopedRegistrationDefinitionID returns a new ScopedRegistrationDefinitionId struct
func ParseScopedRegistrationDefinitionID ¶
func ParseScopedRegistrationDefinitionID(input string) (*ScopedRegistrationDefinitionId, error)
ParseScopedRegistrationDefinitionID parses 'input' into a ScopedRegistrationDefinitionId
func ParseScopedRegistrationDefinitionIDInsensitively ¶
func ParseScopedRegistrationDefinitionIDInsensitively(input string) (*ScopedRegistrationDefinitionId, error)
ParseScopedRegistrationDefinitionIDInsensitively parses 'input' case-insensitively into a ScopedRegistrationDefinitionId note: this method should only be used for API response data and not user input
func (*ScopedRegistrationDefinitionId) FromParseResult ¶ added in v0.20231127.1171502
func (id *ScopedRegistrationDefinitionId) FromParseResult(input resourceids.ParseResult) error
func (ScopedRegistrationDefinitionId) ID ¶
func (id ScopedRegistrationDefinitionId) ID() string
ID returns the formatted Scoped Registration Definition ID
func (ScopedRegistrationDefinitionId) Segments ¶
func (id ScopedRegistrationDefinitionId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Scoped Registration Definition ID
func (ScopedRegistrationDefinitionId) String ¶
func (id ScopedRegistrationDefinitionId) String() string
String returns a human-readable description of this Scoped Registration Definition ID
Source Files ¶
- client.go
- constants.go
- id_scopedregistrationdefinition.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_list.go
- model_authorization.go
- model_eligibleapprover.go
- model_eligibleauthorization.go
- model_justintimeaccesspolicy.go
- model_plan.go
- model_registrationdefinition.go
- model_registrationdefinitionproperties.go
- predicates.go
- version.go