entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest

package
v0.20241021.1074254 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewEntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.CancelEntitlementManagementAccessPackageAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentIdAccessPackageAssignmentRequestID("accessPackageAssignmentId", "accessPackageAssignmentRequestId")

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.CreateEntitlementManagementAccessPackageAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentID("accessPackageAssignmentId")

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


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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.CreateEntitlementManagementAccessPackageAssignmentRequestResume

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentIdAccessPackageAssignmentRequestID("accessPackageAssignmentId", "accessPackageAssignmentRequestId")

payload := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.CreateEntitlementManagementAccessPackageAssignmentRequestResumeRequest{
	// ...
}


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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.DeleteEntitlementManagementAccessPackageAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentIdAccessPackageAssignmentRequestID("accessPackageAssignmentId", "accessPackageAssignmentRequestId")

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.GetEntitlementManagementAccessPackageAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentIdAccessPackageAssignmentRequestID("accessPackageAssignmentId", "accessPackageAssignmentRequestId")

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.GetEntitlementManagementAccessPackageAssignmentRequestsCount

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentID("accessPackageAssignmentId")

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.ListEntitlementManagementAccessPackageAssignmentRequests

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentID("accessPackageAssignmentId")

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.ReprocessEntitlementManagementAccessPackageAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentIdAccessPackageAssignmentRequestID("accessPackageAssignmentId", "accessPackageAssignmentRequestId")

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient.UpdateEntitlementManagementAccessPackageAssignmentRequest

ctx := context.TODO()
id := entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.NewIdentityGovernanceEntitlementManagementAccessPackageAssignmentIdAccessPackageAssignmentRequestID("accessPackageAssignmentId", "accessPackageAssignmentRequestId")

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


read, err := client.UpdateEntitlementManagementAccessPackageAssignmentRequest(ctx, id, payload, entitlementmanagementaccesspackageassignmentaccesspackageassignmentrequest.DefaultUpdateEntitlementManagementAccessPackageAssignmentRequestOperationOptions())
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 CancelEntitlementManagementAccessPackageAssignmentRequestOperationOptions

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

func (CancelEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToHeaders

func (CancelEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToOData

func (CancelEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToQuery

type CancelEntitlementManagementAccessPackageAssignmentRequestOperationResponse

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

type CreateEntitlementManagementAccessPackageAssignmentRequestOperationOptions

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

func (CreateEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToHeaders

func (CreateEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToOData

func (CreateEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToQuery

type CreateEntitlementManagementAccessPackageAssignmentRequestOperationResponse

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

type CreateEntitlementManagementAccessPackageAssignmentRequestResumeOperationOptions

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

func (CreateEntitlementManagementAccessPackageAssignmentRequestResumeOperationOptions) ToHeaders

func (CreateEntitlementManagementAccessPackageAssignmentRequestResumeOperationOptions) ToOData

func (CreateEntitlementManagementAccessPackageAssignmentRequestResumeOperationOptions) ToQuery

type CreateEntitlementManagementAccessPackageAssignmentRequestResumeOperationResponse

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

type CreateEntitlementManagementAccessPackageAssignmentRequestResumeRequest

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

type DeleteEntitlementManagementAccessPackageAssignmentRequestOperationOptions

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

func (DeleteEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToHeaders

func (DeleteEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToOData

func (DeleteEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToQuery

type DeleteEntitlementManagementAccessPackageAssignmentRequestOperationResponse

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

type EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient

type EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient struct {
	Client *msgraph.Client
}

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) CancelEntitlementManagementAccessPackageAssignmentRequest

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

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) CreateEntitlementManagementAccessPackageAssignmentRequest

CreateEntitlementManagementAccessPackageAssignmentRequest - Create new navigation property to accessPackageAssignmentRequests for identityGovernance

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) CreateEntitlementManagementAccessPackageAssignmentRequestResume

CreateEntitlementManagementAccessPackageAssignmentRequestResume - 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 (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) DeleteEntitlementManagementAccessPackageAssignmentRequest

DeleteEntitlementManagementAccessPackageAssignmentRequest - Delete navigation property accessPackageAssignmentRequests for identityGovernance

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) GetEntitlementManagementAccessPackageAssignmentRequest

GetEntitlementManagementAccessPackageAssignmentRequest - Get accessPackageAssignmentRequests from identityGovernance

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) GetEntitlementManagementAccessPackageAssignmentRequestsCount

GetEntitlementManagementAccessPackageAssignmentRequestsCount - Get the number of the resource

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) ListEntitlementManagementAccessPackageAssignmentRequests

ListEntitlementManagementAccessPackageAssignmentRequests - Get accessPackageAssignmentRequests from identityGovernance

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) ListEntitlementManagementAccessPackageAssignmentRequestsComplete

ListEntitlementManagementAccessPackageAssignmentRequestsComplete retrieves all the results into a single object

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) ListEntitlementManagementAccessPackageAssignmentRequestsCompleteMatchingPredicate

ListEntitlementManagementAccessPackageAssignmentRequestsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) ReprocessEntitlementManagementAccessPackageAssignmentRequest

ReprocessEntitlementManagementAccessPackageAssignmentRequest - Invoke action reprocess

func (EntitlementManagementAccessPackageAssignmentAccessPackageAssignmentRequestClient) UpdateEntitlementManagementAccessPackageAssignmentRequest

UpdateEntitlementManagementAccessPackageAssignmentRequest - Update the navigation property accessPackageAssignmentRequests in identityGovernance

type GetEntitlementManagementAccessPackageAssignmentRequestOperationOptions

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

func (GetEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToHeaders

func (GetEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToOData

func (GetEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToQuery

type GetEntitlementManagementAccessPackageAssignmentRequestOperationResponse

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

type GetEntitlementManagementAccessPackageAssignmentRequestsCountOperationOptions

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

func (GetEntitlementManagementAccessPackageAssignmentRequestsCountOperationOptions) ToHeaders

func (GetEntitlementManagementAccessPackageAssignmentRequestsCountOperationOptions) ToOData

func (GetEntitlementManagementAccessPackageAssignmentRequestsCountOperationOptions) ToQuery

type GetEntitlementManagementAccessPackageAssignmentRequestsCountOperationResponse

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

type ListEntitlementManagementAccessPackageAssignmentRequestsCompleteResult

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

type ListEntitlementManagementAccessPackageAssignmentRequestsCustomPager

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

type ListEntitlementManagementAccessPackageAssignmentRequestsOperationOptions

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

func (ListEntitlementManagementAccessPackageAssignmentRequestsOperationOptions) ToOData

func (ListEntitlementManagementAccessPackageAssignmentRequestsOperationOptions) ToQuery

type ListEntitlementManagementAccessPackageAssignmentRequestsOperationResponse

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

type ReprocessEntitlementManagementAccessPackageAssignmentRequestOperationOptions

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

func (ReprocessEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToHeaders

func (ReprocessEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToOData

func (ReprocessEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToQuery

type ReprocessEntitlementManagementAccessPackageAssignmentRequestOperationResponse

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

type UpdateEntitlementManagementAccessPackageAssignmentRequestOperationOptions

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

func (UpdateEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToHeaders

func (UpdateEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToOData

func (UpdateEntitlementManagementAccessPackageAssignmentRequestOperationOptions) ToQuery

type UpdateEntitlementManagementAccessPackageAssignmentRequestOperationResponse

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