lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult

package
v0.20241118.1115603 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/identitygovernance/stable/lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult Documentation

The lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult SDK allows for interaction with Microsoft Graph identitygovernance (API Version stable).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/identitygovernance/stable/lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult"

Client Initialization

client := lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.NewLifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient.CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResume

ctx := context.TODO()
id := lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.NewIdentityGovernanceLifecycleWorkflowWorkflowIdRunIdUserProcessingResultIdTaskProcessingResultID("workflowId", "runId", "userProcessingResultId", "taskProcessingResultId")

payload := lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeRequest{
	// ...
}


read, err := client.CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResume(ctx, id, payload, lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.DefaultCreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient.GetLifecycleWorkflowRunUserProcessingResultTaskCount

ctx := context.TODO()
id := lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.NewIdentityGovernanceLifecycleWorkflowWorkflowIdRunIdUserProcessingResultID("workflowId", "runId", "userProcessingResultId")

read, err := client.GetLifecycleWorkflowRunUserProcessingResultTaskCount(ctx, id, lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.DefaultGetLifecycleWorkflowRunUserProcessingResultTaskCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient.GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResult

ctx := context.TODO()
id := lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.NewIdentityGovernanceLifecycleWorkflowWorkflowIdRunIdUserProcessingResultIdTaskProcessingResultID("workflowId", "runId", "userProcessingResultId", "taskProcessingResultId")

read, err := client.GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResult(ctx, id, lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.DefaultGetLifecycleWorkflowRunUserProcessingResultTaskProcessingResultOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient.ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResults

ctx := context.TODO()
id := lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.NewIdentityGovernanceLifecycleWorkflowWorkflowIdRunIdUserProcessingResultID("workflowId", "runId", "userProcessingResultId")

// alternatively `client.ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResults(ctx, id, lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.DefaultListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationOptions())` can be used to do batched pagination
items, err := client.ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsComplete(ctx, id, lifecycleworkflowworkflowrunuserprocessingresulttaskprocessingresult.DefaultListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeOperationOptions

type CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeOperationOptions) ToHeaders

func (CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeOperationOptions) ToOData

func (CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeOperationOptions) ToQuery

type CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeOperationResponse

type CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeRequest

type CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResumeRequest struct {
	Data   *stable.IdentityGovernanceCustomTaskExtensionCallbackData `json:"data,omitempty"`
	Source nullable.Type[string]                                     `json:"source,omitempty"`
	Type   nullable.Type[string]                                     `json:"type,omitempty"`
}

type GetLifecycleWorkflowRunUserProcessingResultTaskCountOperationOptions

type GetLifecycleWorkflowRunUserProcessingResultTaskCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func (GetLifecycleWorkflowRunUserProcessingResultTaskCountOperationOptions) ToHeaders

func (GetLifecycleWorkflowRunUserProcessingResultTaskCountOperationOptions) ToOData

func (GetLifecycleWorkflowRunUserProcessingResultTaskCountOperationOptions) ToQuery

type GetLifecycleWorkflowRunUserProcessingResultTaskCountOperationResponse

type GetLifecycleWorkflowRunUserProcessingResultTaskCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResultOperationOptions

type GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResultOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func (GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResultOperationOptions) ToHeaders

func (GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResultOperationOptions) ToOData

func (GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResultOperationOptions) ToQuery

type GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResultOperationResponse

type GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResultOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.IdentityGovernanceTaskProcessingResult
}

type IdentityGovernanceTaskProcessingResultOperationPredicate

type IdentityGovernanceTaskProcessingResultOperationPredicate struct {
}

func (IdentityGovernanceTaskProcessingResultOperationPredicate) Matches

type LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient

type LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient struct {
	Client *msgraph.Client
}

func (LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient) CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResume

CreateLifecycleWorkflowRunUserProcessingResultTaskIdentityGovernanceResume - Invoke action resume. Resume a task processing result that's inProgress. In the default case an Azure Logic Apps system-assigned managed identity calls this API. For more information, see: Lifecycle Workflows extensibility approach.

func (LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient) GetLifecycleWorkflowRunUserProcessingResultTaskCount

GetLifecycleWorkflowRunUserProcessingResultTaskCount - Get the number of the resource

func (LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient) GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResult

GetLifecycleWorkflowRunUserProcessingResultTaskProcessingResult - Get taskProcessingResults from identityGovernance. The associated individual task execution.

func (LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient) ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResults

ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResults - List taskProcessingResults. Get the task processing result from a userProcessingResult either directly or through a run.

func (LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient) ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsComplete

ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsComplete retrieves all the results into a single object

func (LifecycleWorkflowWorkflowRunUserProcessingResultTaskProcessingResultClient) ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsCompleteMatchingPredicate

ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsCompleteResult

type ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.IdentityGovernanceTaskProcessingResult
}

type ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsCustomPager

type ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}

type ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationOptions

type ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationOptions struct {
	Count     *bool
	Expand    *odata.Expand
	Filter    *string
	Metadata  *odata.Metadata
	OrderBy   *odata.OrderBy
	RetryFunc client.RequestRetryFunc
	Search    *string
	Select    *[]string
	Skip      *int64
	Top       *int64
}

func (ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationOptions) ToHeaders

func (ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationOptions) ToOData

func (ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationOptions) ToQuery

type ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationResponse

type ListLifecycleWorkflowRunUserProcessingResultTaskProcessingResultsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.IdentityGovernanceTaskProcessingResult
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL