entitlementmanagementassignmentrequest

package
v0.20241104.1140654 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/identitygovernance/beta/entitlementmanagementassignmentrequest Documentation

The entitlementmanagementassignmentrequest SDK allows for interaction with Microsoft Graph identitygovernance (API Version beta).

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/beta/entitlementmanagementassignmentrequest"

Client Initialization

client := entitlementmanagementassignmentrequest.NewEntitlementManagementAssignmentRequestClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: EntitlementManagementAssignmentRequestClient.CancelEntitlementManagementAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementassignmentrequest.NewIdentityGovernanceEntitlementManagementAssignmentRequestID("accessPackageAssignmentRequestId")

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

Example Usage: EntitlementManagementAssignmentRequestClient.CreateEntitlementManagementAssignmentRequest

ctx := context.TODO()

payload := entitlementmanagementassignmentrequest.AccessPackageAssignmentRequest{
	// ...
}


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

Example Usage: EntitlementManagementAssignmentRequestClient.CreateEntitlementManagementAssignmentRequestResume

ctx := context.TODO()
id := entitlementmanagementassignmentrequest.NewIdentityGovernanceEntitlementManagementAssignmentRequestID("accessPackageAssignmentRequestId")

payload := entitlementmanagementassignmentrequest.CreateEntitlementManagementAssignmentRequestResumeRequest{
	// ...
}


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

Example Usage: EntitlementManagementAssignmentRequestClient.DeleteEntitlementManagementAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementassignmentrequest.NewIdentityGovernanceEntitlementManagementAssignmentRequestID("accessPackageAssignmentRequestId")

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

Example Usage: EntitlementManagementAssignmentRequestClient.GetEntitlementManagementAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementassignmentrequest.NewIdentityGovernanceEntitlementManagementAssignmentRequestID("accessPackageAssignmentRequestId")

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

Example Usage: EntitlementManagementAssignmentRequestClient.GetEntitlementManagementAssignmentRequestsCount

ctx := context.TODO()


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

Example Usage: EntitlementManagementAssignmentRequestClient.ListEntitlementManagementAssignmentRequests

ctx := context.TODO()


// alternatively `client.ListEntitlementManagementAssignmentRequests(ctx, entitlementmanagementassignmentrequest.DefaultListEntitlementManagementAssignmentRequestsOperationOptions())` can be used to do batched pagination
items, err := client.ListEntitlementManagementAssignmentRequestsComplete(ctx, entitlementmanagementassignmentrequest.DefaultListEntitlementManagementAssignmentRequestsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: EntitlementManagementAssignmentRequestClient.ReprocessEntitlementManagementAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementassignmentrequest.NewIdentityGovernanceEntitlementManagementAssignmentRequestID("accessPackageAssignmentRequestId")

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

Example Usage: EntitlementManagementAssignmentRequestClient.UpdateEntitlementManagementAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementassignmentrequest.NewIdentityGovernanceEntitlementManagementAssignmentRequestID("accessPackageAssignmentRequestId")

payload := entitlementmanagementassignmentrequest.AccessPackageAssignmentRequest{
	// ...
}


read, err := client.UpdateEntitlementManagementAssignmentRequest(ctx, id, payload, entitlementmanagementassignmentrequest.DefaultUpdateEntitlementManagementAssignmentRequestOperationOptions())
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 AccessPackageAssignmentRequestOperationPredicate

type AccessPackageAssignmentRequestOperationPredicate struct {
}

func (AccessPackageAssignmentRequestOperationPredicate) Matches

type CancelEntitlementManagementAssignmentRequestOperationOptions

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

func (CancelEntitlementManagementAssignmentRequestOperationOptions) ToHeaders

func (CancelEntitlementManagementAssignmentRequestOperationOptions) ToOData

func (CancelEntitlementManagementAssignmentRequestOperationOptions) ToQuery

type CancelEntitlementManagementAssignmentRequestOperationResponse

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

type CreateEntitlementManagementAssignmentRequestOperationOptions

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

func (CreateEntitlementManagementAssignmentRequestOperationOptions) ToHeaders

func (CreateEntitlementManagementAssignmentRequestOperationOptions) ToOData

func (CreateEntitlementManagementAssignmentRequestOperationOptions) ToQuery

type CreateEntitlementManagementAssignmentRequestOperationResponse

type CreateEntitlementManagementAssignmentRequestOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.AccessPackageAssignmentRequest
}

type CreateEntitlementManagementAssignmentRequestResumeOperationOptions

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

func (CreateEntitlementManagementAssignmentRequestResumeOperationOptions) ToHeaders

func (CreateEntitlementManagementAssignmentRequestResumeOperationOptions) ToOData

func (CreateEntitlementManagementAssignmentRequestResumeOperationOptions) ToQuery

type CreateEntitlementManagementAssignmentRequestResumeOperationResponse

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

type CreateEntitlementManagementAssignmentRequestResumeRequest

type CreateEntitlementManagementAssignmentRequestResumeRequest struct {
	Data   *beta.CustomExtensionData `json:"data,omitempty"`
	Source nullable.Type[string]     `json:"source,omitempty"`
	Type   nullable.Type[string]     `json:"type,omitempty"`
}

type DeleteEntitlementManagementAssignmentRequestOperationOptions

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

func (DeleteEntitlementManagementAssignmentRequestOperationOptions) ToHeaders

func (DeleteEntitlementManagementAssignmentRequestOperationOptions) ToOData

func (DeleteEntitlementManagementAssignmentRequestOperationOptions) ToQuery

type DeleteEntitlementManagementAssignmentRequestOperationResponse

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

type EntitlementManagementAssignmentRequestClient

type EntitlementManagementAssignmentRequestClient struct {
	Client *msgraph.Client
}

func NewEntitlementManagementAssignmentRequestClientWithBaseURI

func NewEntitlementManagementAssignmentRequestClientWithBaseURI(sdkApi sdkEnv.Api) (*EntitlementManagementAssignmentRequestClient, error)

func (EntitlementManagementAssignmentRequestClient) CancelEntitlementManagementAssignmentRequest

CancelEntitlementManagementAssignmentRequest - Invoke action cancel. In Microsoft Entra Entitlement Management, cancel accessPackageAssignmentRequest objects that are in a cancelable state: accepted, pendingApproval, pendingNotBefore, pendingApprovalEscalated.

func (EntitlementManagementAssignmentRequestClient) CreateEntitlementManagementAssignmentRequest

CreateEntitlementManagementAssignmentRequest - Create accessPackageAssignmentRequest. In Microsoft Entra Entitlement Management, create a new accessPackageAssignmentRequest object. This operation is used to assign a user to an access package, update the assignment, or to remove an access package assignment.

func (EntitlementManagementAssignmentRequestClient) CreateEntitlementManagementAssignmentRequestResume

CreateEntitlementManagementAssignmentRequestResume - Invoke action resume. In Microsoft Entra entitlement management, when an access package policy has been enabled to call out a custom extension and the request processing is waiting for the callback from the customer, the customer can initiate a resume action. It is performed on an accessPackageAssignmentRequest object whose requestStatus is in a WaitingForCallback state.

func (EntitlementManagementAssignmentRequestClient) DeleteEntitlementManagementAssignmentRequest

DeleteEntitlementManagementAssignmentRequest - Delete navigation property assignmentRequests for identityGovernance

func (EntitlementManagementAssignmentRequestClient) GetEntitlementManagementAssignmentRequest

GetEntitlementManagementAssignmentRequest - Get assignmentRequests from identityGovernance. Represents access package assignment requests created by or on behalf of a user.

func (EntitlementManagementAssignmentRequestClient) GetEntitlementManagementAssignmentRequestsCount

GetEntitlementManagementAssignmentRequestsCount - Get the number of the resource

func (EntitlementManagementAssignmentRequestClient) ListEntitlementManagementAssignmentRequests

ListEntitlementManagementAssignmentRequests - List assignmentRequests. In Microsoft Entra entitlement management, retrieve a list of accessPackageAssignmentRequest objects. The resulting list includes all the assignment requests, current and well as expired, that the caller has access to read, across all catalogs and access packages.

func (EntitlementManagementAssignmentRequestClient) ListEntitlementManagementAssignmentRequestsComplete

ListEntitlementManagementAssignmentRequestsComplete retrieves all the results into a single object

func (EntitlementManagementAssignmentRequestClient) ListEntitlementManagementAssignmentRequestsCompleteMatchingPredicate

ListEntitlementManagementAssignmentRequestsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EntitlementManagementAssignmentRequestClient) ReprocessEntitlementManagementAssignmentRequest

ReprocessEntitlementManagementAssignmentRequest - Invoke action reprocess

func (EntitlementManagementAssignmentRequestClient) UpdateEntitlementManagementAssignmentRequest

UpdateEntitlementManagementAssignmentRequest - Update the navigation property assignmentRequests in identityGovernance

type GetEntitlementManagementAssignmentRequestOperationOptions

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

func (GetEntitlementManagementAssignmentRequestOperationOptions) ToHeaders

func (GetEntitlementManagementAssignmentRequestOperationOptions) ToOData

func (GetEntitlementManagementAssignmentRequestOperationOptions) ToQuery

type GetEntitlementManagementAssignmentRequestOperationResponse

type GetEntitlementManagementAssignmentRequestOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.AccessPackageAssignmentRequest
}

type GetEntitlementManagementAssignmentRequestsCountOperationOptions

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

func (GetEntitlementManagementAssignmentRequestsCountOperationOptions) ToHeaders

func (GetEntitlementManagementAssignmentRequestsCountOperationOptions) ToOData

func (GetEntitlementManagementAssignmentRequestsCountOperationOptions) ToQuery

type GetEntitlementManagementAssignmentRequestsCountOperationResponse

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

type ListEntitlementManagementAssignmentRequestsCompleteResult

type ListEntitlementManagementAssignmentRequestsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.AccessPackageAssignmentRequest
}

type ListEntitlementManagementAssignmentRequestsCustomPager

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

type ListEntitlementManagementAssignmentRequestsOperationOptions

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

func (ListEntitlementManagementAssignmentRequestsOperationOptions) ToOData

func (ListEntitlementManagementAssignmentRequestsOperationOptions) ToQuery

type ListEntitlementManagementAssignmentRequestsOperationResponse

type ListEntitlementManagementAssignmentRequestsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.AccessPackageAssignmentRequest
}

type ReprocessEntitlementManagementAssignmentRequestOperationOptions

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

func (ReprocessEntitlementManagementAssignmentRequestOperationOptions) ToHeaders

func (ReprocessEntitlementManagementAssignmentRequestOperationOptions) ToOData

func (ReprocessEntitlementManagementAssignmentRequestOperationOptions) ToQuery

type ReprocessEntitlementManagementAssignmentRequestOperationResponse

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

type UpdateEntitlementManagementAssignmentRequestOperationOptions

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

func (UpdateEntitlementManagementAssignmentRequestOperationOptions) ToHeaders

func (UpdateEntitlementManagementAssignmentRequestOperationOptions) ToOData

func (UpdateEntitlementManagementAssignmentRequestOperationOptions) ToQuery

type UpdateEntitlementManagementAssignmentRequestOperationResponse

type UpdateEntitlementManagementAssignmentRequestOperationResponse 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