b2xuserflowuserattributeassignment

package
v0.20241111.1164443 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/identity/stable/b2xuserflowuserattributeassignment Documentation

The b2xuserflowuserattributeassignment SDK allows for interaction with Microsoft Graph identity (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/identity/stable/b2xuserflowuserattributeassignment"

Client Initialization

client := b2xuserflowuserattributeassignment.NewB2xUserFlowUserAttributeAssignmentClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: B2xUserFlowUserAttributeAssignmentClient.CreateB2xUserFlowUserAttributeAssignment

ctx := context.TODO()
id := b2xuserflowuserattributeassignment.NewIdentityB2xUserFlowID("b2xIdentityUserFlowId")

payload := b2xuserflowuserattributeassignment.IdentityUserFlowAttributeAssignment{
	// ...
}


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

Example Usage: B2xUserFlowUserAttributeAssignmentClient.DeleteB2xUserFlowUserAttributeAssignment

ctx := context.TODO()
id := b2xuserflowuserattributeassignment.NewIdentityB2xUserFlowIdUserAttributeAssignmentID("b2xIdentityUserFlowId", "identityUserFlowAttributeAssignmentId")

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

Example Usage: B2xUserFlowUserAttributeAssignmentClient.GetB2xUserFlowUserAttributeAssignment

ctx := context.TODO()
id := b2xuserflowuserattributeassignment.NewIdentityB2xUserFlowIdUserAttributeAssignmentID("b2xIdentityUserFlowId", "identityUserFlowAttributeAssignmentId")

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

Example Usage: B2xUserFlowUserAttributeAssignmentClient.GetB2xUserFlowUserAttributeAssignmentsCount

ctx := context.TODO()
id := b2xuserflowuserattributeassignment.NewIdentityB2xUserFlowID("b2xIdentityUserFlowId")

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

Example Usage: B2xUserFlowUserAttributeAssignmentClient.ListB2xUserFlowUserAttributeAssignments

ctx := context.TODO()
id := b2xuserflowuserattributeassignment.NewIdentityB2xUserFlowID("b2xIdentityUserFlowId")

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

Example Usage: B2xUserFlowUserAttributeAssignmentClient.SetB2xUserFlowUserAttributeAssignmentsOrder

ctx := context.TODO()
id := b2xuserflowuserattributeassignment.NewIdentityB2xUserFlowID("b2xIdentityUserFlowId")

payload := b2xuserflowuserattributeassignment.SetB2xUserFlowUserAttributeAssignmentsOrderRequest{
	// ...
}


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

Example Usage: B2xUserFlowUserAttributeAssignmentClient.UpdateB2xUserFlowUserAttributeAssignment

ctx := context.TODO()
id := b2xuserflowuserattributeassignment.NewIdentityB2xUserFlowIdUserAttributeAssignmentID("b2xIdentityUserFlowId", "identityUserFlowAttributeAssignmentId")

payload := b2xuserflowuserattributeassignment.IdentityUserFlowAttributeAssignment{
	// ...
}


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type B2xUserFlowUserAttributeAssignmentClient

type B2xUserFlowUserAttributeAssignmentClient struct {
	Client *msgraph.Client
}

func NewB2xUserFlowUserAttributeAssignmentClientWithBaseURI

func NewB2xUserFlowUserAttributeAssignmentClientWithBaseURI(sdkApi sdkEnv.Api) (*B2xUserFlowUserAttributeAssignmentClient, error)

func (B2xUserFlowUserAttributeAssignmentClient) CreateB2xUserFlowUserAttributeAssignment

CreateB2xUserFlowUserAttributeAssignment - Create userAttributeAssignments. Create a new identityUserFlowAttributeAssignment object in a b2xIdentityUserFlow.

func (B2xUserFlowUserAttributeAssignmentClient) DeleteB2xUserFlowUserAttributeAssignment

DeleteB2xUserFlowUserAttributeAssignment - Delete userAttributeAssignment. Delete an identityUserFlowAttributeAssignment object.

func (B2xUserFlowUserAttributeAssignmentClient) GetB2xUserFlowUserAttributeAssignment

GetB2xUserFlowUserAttributeAssignment - Get identityUserFlowAttributeAssignment. Read the properties and relationships of an identityUserFlowAttributeAssignment object.

func (B2xUserFlowUserAttributeAssignmentClient) GetB2xUserFlowUserAttributeAssignmentsCount

GetB2xUserFlowUserAttributeAssignmentsCount - Get the number of the resource

func (B2xUserFlowUserAttributeAssignmentClient) ListB2xUserFlowUserAttributeAssignments

ListB2xUserFlowUserAttributeAssignments - List userAttributeAssignments. Get the identityUserFlowAttributeAssignment resources from the userAttributeAssignments navigation property in a b2xIdentityUserFlow.

func (B2xUserFlowUserAttributeAssignmentClient) ListB2xUserFlowUserAttributeAssignmentsComplete

ListB2xUserFlowUserAttributeAssignmentsComplete retrieves all the results into a single object

func (B2xUserFlowUserAttributeAssignmentClient) ListB2xUserFlowUserAttributeAssignmentsCompleteMatchingPredicate

ListB2xUserFlowUserAttributeAssignmentsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (B2xUserFlowUserAttributeAssignmentClient) SetB2xUserFlowUserAttributeAssignmentsOrder

SetB2xUserFlowUserAttributeAssignmentsOrder - Invoke action setOrder. Set the order of identityUserFlowAttributeAssignments being collected within a user flow.

func (B2xUserFlowUserAttributeAssignmentClient) UpdateB2xUserFlowUserAttributeAssignment

UpdateB2xUserFlowUserAttributeAssignment - Update identityUserFlowAttributeAssignment. Update the properties of a identityUserFlowAttributeAssignment object.

type CreateB2xUserFlowUserAttributeAssignmentOperationOptions

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

func (CreateB2xUserFlowUserAttributeAssignmentOperationOptions) ToHeaders

func (CreateB2xUserFlowUserAttributeAssignmentOperationOptions) ToOData

func (CreateB2xUserFlowUserAttributeAssignmentOperationOptions) ToQuery

type CreateB2xUserFlowUserAttributeAssignmentOperationResponse

type CreateB2xUserFlowUserAttributeAssignmentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.IdentityUserFlowAttributeAssignment
}

type DeleteB2xUserFlowUserAttributeAssignmentOperationOptions

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

func (DeleteB2xUserFlowUserAttributeAssignmentOperationOptions) ToHeaders

func (DeleteB2xUserFlowUserAttributeAssignmentOperationOptions) ToOData

func (DeleteB2xUserFlowUserAttributeAssignmentOperationOptions) ToQuery

type DeleteB2xUserFlowUserAttributeAssignmentOperationResponse

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

type GetB2xUserFlowUserAttributeAssignmentOperationOptions

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

func DefaultGetB2xUserFlowUserAttributeAssignmentOperationOptions

func DefaultGetB2xUserFlowUserAttributeAssignmentOperationOptions() GetB2xUserFlowUserAttributeAssignmentOperationOptions

func (GetB2xUserFlowUserAttributeAssignmentOperationOptions) ToHeaders

func (GetB2xUserFlowUserAttributeAssignmentOperationOptions) ToOData

func (GetB2xUserFlowUserAttributeAssignmentOperationOptions) ToQuery

type GetB2xUserFlowUserAttributeAssignmentOperationResponse

type GetB2xUserFlowUserAttributeAssignmentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.IdentityUserFlowAttributeAssignment
}

type GetB2xUserFlowUserAttributeAssignmentsCountOperationOptions

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

func (GetB2xUserFlowUserAttributeAssignmentsCountOperationOptions) ToHeaders

func (GetB2xUserFlowUserAttributeAssignmentsCountOperationOptions) ToOData

func (GetB2xUserFlowUserAttributeAssignmentsCountOperationOptions) ToQuery

type GetB2xUserFlowUserAttributeAssignmentsCountOperationResponse

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

type IdentityUserFlowAttributeAssignmentOperationPredicate

type IdentityUserFlowAttributeAssignmentOperationPredicate struct {
}

func (IdentityUserFlowAttributeAssignmentOperationPredicate) Matches

type ListB2xUserFlowUserAttributeAssignmentsCompleteResult

type ListB2xUserFlowUserAttributeAssignmentsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.IdentityUserFlowAttributeAssignment
}

type ListB2xUserFlowUserAttributeAssignmentsCustomPager

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

type ListB2xUserFlowUserAttributeAssignmentsOperationOptions

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

func (ListB2xUserFlowUserAttributeAssignmentsOperationOptions) ToOData

func (ListB2xUserFlowUserAttributeAssignmentsOperationOptions) ToQuery

type ListB2xUserFlowUserAttributeAssignmentsOperationResponse

type ListB2xUserFlowUserAttributeAssignmentsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.IdentityUserFlowAttributeAssignment
}

type SetB2xUserFlowUserAttributeAssignmentsOrderOperationOptions

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

func (SetB2xUserFlowUserAttributeAssignmentsOrderOperationOptions) ToHeaders

func (SetB2xUserFlowUserAttributeAssignmentsOrderOperationOptions) ToOData

func (SetB2xUserFlowUserAttributeAssignmentsOrderOperationOptions) ToQuery

type SetB2xUserFlowUserAttributeAssignmentsOrderOperationResponse

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

type SetB2xUserFlowUserAttributeAssignmentsOrderRequest

type SetB2xUserFlowUserAttributeAssignmentsOrderRequest struct {
	NewAssignmentOrder *stable.AssignmentOrder `json:"newAssignmentOrder,omitempty"`
}

type UpdateB2xUserFlowUserAttributeAssignmentOperationOptions

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

func (UpdateB2xUserFlowUserAttributeAssignmentOperationOptions) ToHeaders

func (UpdateB2xUserFlowUserAttributeAssignmentOperationOptions) ToOData

func (UpdateB2xUserFlowUserAttributeAssignmentOperationOptions) ToQuery

type UpdateB2xUserFlowUserAttributeAssignmentOperationResponse

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

Jump to

Keyboard shortcuts

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