entitlementmanagementaccesspackageassignmentaccesspackage

package
v0.20241023.1122425 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := entitlementmanagementaccesspackageassignmentaccesspackage.NewEntitlementManagementAccessPackageAssignmentAccessPackageClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageClient.DeleteEntitlementManagementAccessPackageAssignmentAccessPackage

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

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageClient.GetEntitlementManagementAccessPackageAssignmentAccessPackage

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

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageClient.GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirements

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

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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageClient.MoveEntitlementManagementAccessPackageAssignmentToCatalog

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

payload := entitlementmanagementaccesspackageassignmentaccesspackage.MoveEntitlementManagementAccessPackageAssignmentToCatalogRequest{
	// ...
}


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

Example Usage: EntitlementManagementAccessPackageAssignmentAccessPackageClient.UpdateEntitlementManagementAccessPackageAssignmentAccessPackage

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

payload := entitlementmanagementaccesspackageassignmentaccesspackage.AccessPackage{
	// ...
}


read, err := client.UpdateEntitlementManagementAccessPackageAssignmentAccessPackage(ctx, id, payload, entitlementmanagementaccesspackageassignmentaccesspackage.DefaultUpdateEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions())
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 AccessPackageAssignmentRequestRequirementsOperationPredicate

type AccessPackageAssignmentRequestRequirementsOperationPredicate struct {
}

func (AccessPackageAssignmentRequestRequirementsOperationPredicate) Matches

type DeleteEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions

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

func (DeleteEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToHeaders

func (DeleteEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToOData

func (DeleteEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToQuery

type DeleteEntitlementManagementAccessPackageAssignmentAccessPackageOperationResponse

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

type EntitlementManagementAccessPackageAssignmentAccessPackageClient

type EntitlementManagementAccessPackageAssignmentAccessPackageClient struct {
	Client *msgraph.Client
}

func NewEntitlementManagementAccessPackageAssignmentAccessPackageClientWithBaseURI

func NewEntitlementManagementAccessPackageAssignmentAccessPackageClientWithBaseURI(sdkApi sdkEnv.Api) (*EntitlementManagementAccessPackageAssignmentAccessPackageClient, error)

func (EntitlementManagementAccessPackageAssignmentAccessPackageClient) DeleteEntitlementManagementAccessPackageAssignmentAccessPackage

DeleteEntitlementManagementAccessPackageAssignmentAccessPackage - Delete navigation property accessPackage for identityGovernance

func (EntitlementManagementAccessPackageAssignmentAccessPackageClient) GetEntitlementManagementAccessPackageAssignmentAccessPackage

GetEntitlementManagementAccessPackageAssignmentAccessPackage - Get accessPackage from identityGovernance. Read-only. Nullable. Supports $filter (eq) on the id property and $expand query parameters.

func (EntitlementManagementAccessPackageAssignmentAccessPackageClient) GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirements

GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirements - Invoke action getApplicablePolicyRequirements. In Microsoft Entra entitlement management, this action retrieves a list of accessPackageAssignmentRequestRequirements objects that the currently signed-in user can use to create an accessPackageAssignmentRequest. Each requirement object corresponds to an access package assignment policy that the currently signed-in user is allowed to request an assignment for.

func (EntitlementManagementAccessPackageAssignmentAccessPackageClient) GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsComplete

GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsComplete retrieves all the results into a single object

func (EntitlementManagementAccessPackageAssignmentAccessPackageClient) GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsCompleteMatchingPredicate

GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (EntitlementManagementAccessPackageAssignmentAccessPackageClient) MoveEntitlementManagementAccessPackageAssignmentToCatalog

MoveEntitlementManagementAccessPackageAssignmentToCatalog - Invoke action moveToCatalog. In Microsoft Entra entitlement management, this action moves the accessPackage to a specified target accessPackageCatalog. The resources in the access package must be present in the target catalog.

func (EntitlementManagementAccessPackageAssignmentAccessPackageClient) UpdateEntitlementManagementAccessPackageAssignmentAccessPackage

UpdateEntitlementManagementAccessPackageAssignmentAccessPackage - Update the navigation property accessPackage in identityGovernance

type GetEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions

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

func (GetEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToHeaders

func (GetEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToOData

func (GetEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToQuery

type GetEntitlementManagementAccessPackageAssignmentAccessPackageOperationResponse

type GetEntitlementManagementAccessPackageAssignmentAccessPackageOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.AccessPackage
}

type GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsCompleteResult

type GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.AccessPackageAssignmentRequestRequirements
}

type GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsCustomPager

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

type GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsOperationOptions

type GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func (GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsOperationOptions) ToHeaders

func (GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsOperationOptions) ToOData

func (GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsOperationOptions) ToQuery

type GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsOperationResponse

type GetEntitlementManagementAccessPackageAssignmentApplicablePolicyRequirementsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.AccessPackageAssignmentRequestRequirements
}

type MoveEntitlementManagementAccessPackageAssignmentToCatalogOperationOptions

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

func (MoveEntitlementManagementAccessPackageAssignmentToCatalogOperationOptions) ToHeaders

func (MoveEntitlementManagementAccessPackageAssignmentToCatalogOperationOptions) ToOData

func (MoveEntitlementManagementAccessPackageAssignmentToCatalogOperationOptions) ToQuery

type MoveEntitlementManagementAccessPackageAssignmentToCatalogOperationResponse

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

type MoveEntitlementManagementAccessPackageAssignmentToCatalogRequest

type MoveEntitlementManagementAccessPackageAssignmentToCatalogRequest struct {
	CatalogId *string `json:"catalogId,omitempty"`
}

type UpdateEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions

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

func (UpdateEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToHeaders

func (UpdateEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToOData

func (UpdateEntitlementManagementAccessPackageAssignmentAccessPackageOperationOptions) ToQuery

type UpdateEntitlementManagementAccessPackageAssignmentAccessPackageOperationResponse

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