Documentation ¶
Index ¶
- func PossibleValuesForJitRequestState() []string
- func PossibleValuesForJitSchedulingType() []string
- func PossibleValuesForProvisioningState() []string
- func ValidateJitRequestID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationClientDetails
- type CreateOrUpdateOperationResponse
- type DeleteOperationResponse
- type GetOperationResponse
- type JitAuthorizationPolicies
- type JitRequestDefinition
- type JitRequestDefinitionOperationPredicate
- type JitRequestId
- type JitRequestPatchable
- type JitRequestProperties
- type JitRequestState
- type JitRequestsClient
- func (c JitRequestsClient) CreateOrUpdate(ctx context.Context, id JitRequestId, input JitRequestDefinition) (result CreateOrUpdateOperationResponse, err error)
- func (c JitRequestsClient) CreateOrUpdateThenPoll(ctx context.Context, id JitRequestId, input JitRequestDefinition) error
- func (c JitRequestsClient) Delete(ctx context.Context, id JitRequestId) (result DeleteOperationResponse, err error)
- func (c JitRequestsClient) Get(ctx context.Context, id JitRequestId) (result GetOperationResponse, err error)
- func (c JitRequestsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c JitRequestsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c JitRequestsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c JitRequestsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c JitRequestsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c JitRequestsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c JitRequestsClient) Update(ctx context.Context, id JitRequestId, input JitRequestPatchable) (result UpdateOperationResponse, err error)
- type JitSchedulingPolicy
- type JitSchedulingType
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupCustomPager
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionCustomPager
- type ListBySubscriptionOperationResponse
- type ProvisioningState
- type UpdateOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PossibleValuesForJitRequestState ¶
func PossibleValuesForJitRequestState() []string
func PossibleValuesForJitSchedulingType ¶
func PossibleValuesForJitSchedulingType() []string
func PossibleValuesForProvisioningState ¶
func PossibleValuesForProvisioningState() []string
func ValidateJitRequestID ¶
ValidateJitRequestID checks that 'input' can be parsed as a Jit Request ID
Types ¶
type DeleteOperationResponse ¶
type GetOperationResponse ¶
type GetOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *JitRequestDefinition }
type JitRequestDefinition ¶
type JitRequestDefinitionOperationPredicate ¶ added in v0.20240226.1173038
type JitRequestDefinitionOperationPredicate struct { Id *string Location *string Name *string Type *string }
func (JitRequestDefinitionOperationPredicate) Matches ¶ added in v0.20240226.1173038
func (p JitRequestDefinitionOperationPredicate) Matches(input JitRequestDefinition) bool
type JitRequestId ¶
JitRequestId is a struct representing the Resource ID for a Jit Request
func NewJitRequestID ¶
func NewJitRequestID(subscriptionId string, resourceGroupName string, jitRequestName string) JitRequestId
NewJitRequestID returns a new JitRequestId struct
func ParseJitRequestID ¶
func ParseJitRequestID(input string) (*JitRequestId, error)
ParseJitRequestID parses 'input' into a JitRequestId
func ParseJitRequestIDInsensitively ¶
func ParseJitRequestIDInsensitively(input string) (*JitRequestId, error)
ParseJitRequestIDInsensitively parses 'input' case-insensitively into a JitRequestId note: this method should only be used for API response data and not user input
func (*JitRequestId) FromParseResult ¶
func (id *JitRequestId) FromParseResult(input resourceids.ParseResult) error
func (JitRequestId) Segments ¶
func (id JitRequestId) Segments() []resourceids.Segment
Segments returns a slice of Resource ID Segments which comprise this Jit Request ID
func (JitRequestId) String ¶
func (id JitRequestId) String() string
String returns a human-readable description of this Jit Request ID
type JitRequestPatchable ¶
type JitRequestProperties ¶
type JitRequestProperties struct { ApplicationResourceId string `json:"applicationResourceId"` CreatedBy *ApplicationClientDetails `json:"createdBy,omitempty"` JitAuthorizationPolicies []JitAuthorizationPolicies `json:"jitAuthorizationPolicies"` JitRequestState *JitRequestState `json:"jitRequestState,omitempty"` JitSchedulingPolicy JitSchedulingPolicy `json:"jitSchedulingPolicy"` ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"` PublisherTenantId *string `json:"publisherTenantId,omitempty"` UpdatedBy *ApplicationClientDetails `json:"updatedBy,omitempty"` }
type JitRequestState ¶
type JitRequestState string
const ( JitRequestStateApproved JitRequestState = "Approved" JitRequestStateCanceled JitRequestState = "Canceled" JitRequestStateDenied JitRequestState = "Denied" JitRequestStateExpired JitRequestState = "Expired" JitRequestStateFailed JitRequestState = "Failed" JitRequestStateNotSpecified JitRequestState = "NotSpecified" JitRequestStatePending JitRequestState = "Pending" JitRequestStateTimeout JitRequestState = "Timeout" )
func (*JitRequestState) UnmarshalJSON ¶
func (s *JitRequestState) UnmarshalJSON(bytes []byte) error
type JitRequestsClient ¶
type JitRequestsClient struct {
Client *resourcemanager.Client
}
func NewJitRequestsClientWithBaseURI ¶
func NewJitRequestsClientWithBaseURI(sdkApi sdkEnv.Api) (*JitRequestsClient, error)
func (JitRequestsClient) CreateOrUpdate ¶
func (c JitRequestsClient) CreateOrUpdate(ctx context.Context, id JitRequestId, input JitRequestDefinition) (result CreateOrUpdateOperationResponse, err error)
CreateOrUpdate ...
func (JitRequestsClient) CreateOrUpdateThenPoll ¶
func (c JitRequestsClient) CreateOrUpdateThenPoll(ctx context.Context, id JitRequestId, input JitRequestDefinition) error
CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed
func (JitRequestsClient) Delete ¶
func (c JitRequestsClient) Delete(ctx context.Context, id JitRequestId) (result DeleteOperationResponse, err error)
Delete ...
func (JitRequestsClient) Get ¶
func (c JitRequestsClient) Get(ctx context.Context, id JitRequestId) (result GetOperationResponse, err error)
Get ...
func (JitRequestsClient) ListByResourceGroup ¶
func (c JitRequestsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (JitRequestsClient) ListByResourceGroupComplete ¶ added in v0.20240226.1173038
func (c JitRequestsClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
ListByResourceGroupComplete retrieves all the results into a single object
func (JitRequestsClient) ListByResourceGroupCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c JitRequestsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate JitRequestDefinitionOperationPredicate) (result ListByResourceGroupCompleteResult, err error)
ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JitRequestsClient) ListBySubscription ¶
func (c JitRequestsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (JitRequestsClient) ListBySubscriptionComplete ¶ added in v0.20240226.1173038
func (c JitRequestsClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
ListBySubscriptionComplete retrieves all the results into a single object
func (JitRequestsClient) ListBySubscriptionCompleteMatchingPredicate ¶ added in v0.20240226.1173038
func (c JitRequestsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate JitRequestDefinitionOperationPredicate) (result ListBySubscriptionCompleteResult, err error)
ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (JitRequestsClient) Update ¶
func (c JitRequestsClient) Update(ctx context.Context, id JitRequestId, input JitRequestPatchable) (result UpdateOperationResponse, err error)
Update ...
type JitSchedulingPolicy ¶
type JitSchedulingPolicy struct { Duration string `json:"duration"` StartTime string `json:"startTime"` Type JitSchedulingType `json:"type"` }
func (*JitSchedulingPolicy) GetStartTimeAsTime ¶
func (o *JitSchedulingPolicy) GetStartTimeAsTime() (*time.Time, error)
func (*JitSchedulingPolicy) SetStartTimeAsTime ¶
func (o *JitSchedulingPolicy) SetStartTimeAsTime(input time.Time)
type JitSchedulingType ¶
type JitSchedulingType string
const ( JitSchedulingTypeNotSpecified JitSchedulingType = "NotSpecified" JitSchedulingTypeOnce JitSchedulingType = "Once" JitSchedulingTypeRecurring JitSchedulingType = "Recurring" )
func (*JitSchedulingType) UnmarshalJSON ¶
func (s *JitSchedulingType) UnmarshalJSON(bytes []byte) error
type ListByResourceGroupCompleteResult ¶ added in v0.20240226.1173038
type ListByResourceGroupCompleteResult struct { LatestHttpResponse *http.Response Items []JitRequestDefinition }
type ListByResourceGroupCustomPager ¶ added in v0.20240628.1153531
func (*ListByResourceGroupCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]JitRequestDefinition }
type ListBySubscriptionCompleteResult ¶ added in v0.20240226.1173038
type ListBySubscriptionCompleteResult struct { LatestHttpResponse *http.Response Items []JitRequestDefinition }
type ListBySubscriptionCustomPager ¶ added in v0.20240628.1153531
func (*ListBySubscriptionCustomPager) NextPageLink ¶ added in v0.20240628.1153531
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link
type ListBySubscriptionOperationResponse ¶
type ListBySubscriptionOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]JitRequestDefinition }
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 ¶
func (s *ProvisioningState) UnmarshalJSON(bytes []byte) error
type UpdateOperationResponse ¶
type UpdateOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *JitRequestDefinition }
Source Files ¶
- client.go
- constants.go
- id_jitrequest.go
- method_createorupdate.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_update.go
- model_applicationclientdetails.go
- model_jitauthorizationpolicies.go
- model_jitrequestdefinition.go
- model_jitrequestpatchable.go
- model_jitrequestproperties.go
- model_jitschedulingpolicy.go
- predicates.go
- version.go