lifecycleworkflowdeleteditemworkflow

package
v0.20241016.1080325 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2024 License: MPL-2.0 Imports: 8 Imported by: 1

README

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

The lifecycleworkflowdeleteditemworkflow 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/lifecycleworkflowdeleteditemworkflow"

Client Initialization

client := lifecycleworkflowdeleteditemworkflow.NewLifecycleWorkflowDeletedItemWorkflowClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: LifecycleWorkflowDeletedItemWorkflowClient.CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivate

ctx := context.TODO()
id := lifecycleworkflowdeleteditemworkflow.NewIdentityGovernanceLifecycleWorkflowDeletedItemWorkflowID("workflowId")

payload := lifecycleworkflowdeleteditemworkflow.CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivateRequest{
	// ...
}


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

Example Usage: LifecycleWorkflowDeletedItemWorkflowClient.CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersion

ctx := context.TODO()
id := lifecycleworkflowdeleteditemworkflow.NewIdentityGovernanceLifecycleWorkflowDeletedItemWorkflowID("workflowId")

payload := lifecycleworkflowdeleteditemworkflow.CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionRequest{
	// ...
}


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

Example Usage: LifecycleWorkflowDeletedItemWorkflowClient.CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestore

ctx := context.TODO()
id := lifecycleworkflowdeleteditemworkflow.NewIdentityGovernanceLifecycleWorkflowDeletedItemWorkflowID("workflowId")

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

Example Usage: LifecycleWorkflowDeletedItemWorkflowClient.DeleteLifecycleWorkflowDeletedItemWorkflow

ctx := context.TODO()
id := lifecycleworkflowdeleteditemworkflow.NewIdentityGovernanceLifecycleWorkflowDeletedItemWorkflowID("workflowId")

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

Example Usage: LifecycleWorkflowDeletedItemWorkflowClient.GetLifecycleWorkflowDeletedItemWorkflow

ctx := context.TODO()
id := lifecycleworkflowdeleteditemworkflow.NewIdentityGovernanceLifecycleWorkflowDeletedItemWorkflowID("workflowId")

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

Example Usage: LifecycleWorkflowDeletedItemWorkflowClient.GetLifecycleWorkflowDeletedItemWorkflowsCount

ctx := context.TODO()


read, err := client.GetLifecycleWorkflowDeletedItemWorkflowsCount(ctx, lifecycleworkflowdeleteditemworkflow.DefaultGetLifecycleWorkflowDeletedItemWorkflowsCountOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: LifecycleWorkflowDeletedItemWorkflowClient.ListLifecycleWorkflowDeletedItemWorkflows

ctx := context.TODO()


// alternatively `client.ListLifecycleWorkflowDeletedItemWorkflows(ctx, lifecycleworkflowdeleteditemworkflow.DefaultListLifecycleWorkflowDeletedItemWorkflowsOperationOptions())` can be used to do batched pagination
items, err := client.ListLifecycleWorkflowDeletedItemWorkflowsComplete(ctx, lifecycleworkflowdeleteditemworkflow.DefaultListLifecycleWorkflowDeletedItemWorkflowsOperationOptions())
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 CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivateOperationOptions

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

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivateOperationOptions) ToHeaders

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivateOperationOptions) ToOData

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivateOperationOptions) ToQuery

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivateOperationResponse

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

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivateRequest

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivateRequest struct {
	Subjects *[]stable.User `json:"subjects,omitempty"`
}

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionOperationOptions

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

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionOperationOptions) ToHeaders

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionOperationOptions) ToOData

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionOperationOptions) ToQuery

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionOperationResponse

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.IdentityGovernanceWorkflow
}

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionRequest

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersionRequest struct {
	Workflow *stable.IdentityGovernanceWorkflow `json:"workflow,omitempty"`
}

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestoreOperationOptions

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

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestoreOperationOptions) ToHeaders

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestoreOperationOptions) ToOData

func (CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestoreOperationOptions) ToQuery

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestoreOperationResponse

type CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestoreOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.IdentityGovernanceWorkflow
}

type DeleteLifecycleWorkflowDeletedItemWorkflowOperationOptions

type DeleteLifecycleWorkflowDeletedItemWorkflowOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func (DeleteLifecycleWorkflowDeletedItemWorkflowOperationOptions) ToHeaders

func (DeleteLifecycleWorkflowDeletedItemWorkflowOperationOptions) ToOData

func (DeleteLifecycleWorkflowDeletedItemWorkflowOperationOptions) ToQuery

type DeleteLifecycleWorkflowDeletedItemWorkflowOperationResponse

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

type GetLifecycleWorkflowDeletedItemWorkflowOperationOptions

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

func (GetLifecycleWorkflowDeletedItemWorkflowOperationOptions) ToHeaders

func (GetLifecycleWorkflowDeletedItemWorkflowOperationOptions) ToOData

func (GetLifecycleWorkflowDeletedItemWorkflowOperationOptions) ToQuery

type GetLifecycleWorkflowDeletedItemWorkflowOperationResponse

type GetLifecycleWorkflowDeletedItemWorkflowOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.IdentityGovernanceWorkflow
}

type GetLifecycleWorkflowDeletedItemWorkflowsCountOperationOptions

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

func (GetLifecycleWorkflowDeletedItemWorkflowsCountOperationOptions) ToHeaders

func (GetLifecycleWorkflowDeletedItemWorkflowsCountOperationOptions) ToOData

func (GetLifecycleWorkflowDeletedItemWorkflowsCountOperationOptions) ToQuery

type GetLifecycleWorkflowDeletedItemWorkflowsCountOperationResponse

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

type IdentityGovernanceWorkflowOperationPredicate

type IdentityGovernanceWorkflowOperationPredicate struct {
}

func (IdentityGovernanceWorkflowOperationPredicate) Matches

type LifecycleWorkflowDeletedItemWorkflowClient

type LifecycleWorkflowDeletedItemWorkflowClient struct {
	Client *msgraph.Client
}

func NewLifecycleWorkflowDeletedItemWorkflowClientWithBaseURI

func NewLifecycleWorkflowDeletedItemWorkflowClientWithBaseURI(sdkApi sdkEnv.Api) (*LifecycleWorkflowDeletedItemWorkflowClient, error)

func (LifecycleWorkflowDeletedItemWorkflowClient) CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivate

CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceActivate - Invoke action activate. Run a workflow object on-demand. You can run any workflow on-demand, including scheduled workflows. Workflows created from the 'Real-time employee termination' template are run on-demand only. When you run a workflow on demand, the tasks are executed regardless of whether the user state matches the scope and trigger execution conditions.

func (LifecycleWorkflowDeletedItemWorkflowClient) CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersion

CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceCreateNewVersion - Invoke action createNewVersion. Create a new version of the workflow object.

func (LifecycleWorkflowDeletedItemWorkflowClient) CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestore

CreateLifecycleWorkflowDeletedItemWorkflowIdentityGovernanceRestore - Invoke action restore. Restore a workflow that has been deleted. You can only restore a workflow that was deleted within the last 30 days before Microsoft Entra ID automatically permanently deletes it.

func (LifecycleWorkflowDeletedItemWorkflowClient) DeleteLifecycleWorkflowDeletedItemWorkflow

DeleteLifecycleWorkflowDeletedItemWorkflow - Delete deletedItemContainer (permanently delete a deleted lifecycle workflow). Delete a workflow object.

func (LifecycleWorkflowDeletedItemWorkflowClient) GetLifecycleWorkflowDeletedItemWorkflow

GetLifecycleWorkflowDeletedItemWorkflow - Get deletedItemContainer (a deleted lifecycle workflow). Retrieve a deleted workflow object.

func (LifecycleWorkflowDeletedItemWorkflowClient) GetLifecycleWorkflowDeletedItemWorkflowsCount

GetLifecycleWorkflowDeletedItemWorkflowsCount - Get the number of the resource

func (LifecycleWorkflowDeletedItemWorkflowClient) ListLifecycleWorkflowDeletedItemWorkflows

ListLifecycleWorkflowDeletedItemWorkflows - List deletedItems (deleted lifecycle workflows). Get a list of the deleted workflow objects and their properties.

func (LifecycleWorkflowDeletedItemWorkflowClient) ListLifecycleWorkflowDeletedItemWorkflowsComplete

ListLifecycleWorkflowDeletedItemWorkflowsComplete retrieves all the results into a single object

func (LifecycleWorkflowDeletedItemWorkflowClient) ListLifecycleWorkflowDeletedItemWorkflowsCompleteMatchingPredicate

ListLifecycleWorkflowDeletedItemWorkflowsCompleteMatchingPredicate retrieves all the results and then applies the predicate

type ListLifecycleWorkflowDeletedItemWorkflowsCompleteResult

type ListLifecycleWorkflowDeletedItemWorkflowsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.IdentityGovernanceWorkflow
}

type ListLifecycleWorkflowDeletedItemWorkflowsCustomPager

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

type ListLifecycleWorkflowDeletedItemWorkflowsOperationOptions

type ListLifecycleWorkflowDeletedItemWorkflowsOperationOptions 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 (ListLifecycleWorkflowDeletedItemWorkflowsOperationOptions) ToHeaders

func (ListLifecycleWorkflowDeletedItemWorkflowsOperationOptions) ToOData

func (ListLifecycleWorkflowDeletedItemWorkflowsOperationOptions) ToQuery

type ListLifecycleWorkflowDeletedItemWorkflowsOperationResponse

type ListLifecycleWorkflowDeletedItemWorkflowsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.IdentityGovernanceWorkflow
}

Jump to

Keyboard shortcuts

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