importeddeviceidentity

package
v0.20241209.1115630 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/devicemanagement/beta/importeddeviceidentity Documentation

The importeddeviceidentity SDK allows for interaction with Microsoft Graph devicemanagement (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/devicemanagement/beta/importeddeviceidentity"

Client Initialization

client := importeddeviceidentity.NewImportedDeviceIdentityClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ImportedDeviceIdentityClient.CreateImportedDeviceIdentity

ctx := context.TODO()

payload := importeddeviceidentity.ImportedDeviceIdentity{
	// ...
}


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

Example Usage: ImportedDeviceIdentityClient.DeleteImportedDeviceIdentity

ctx := context.TODO()
id := importeddeviceidentity.NewDeviceManagementImportedDeviceIdentityID("importedDeviceIdentityId")

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

Example Usage: ImportedDeviceIdentityClient.GetImportedDeviceIdentitiesCount

ctx := context.TODO()


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

Example Usage: ImportedDeviceIdentityClient.GetImportedDeviceIdentity

ctx := context.TODO()
id := importeddeviceidentity.NewDeviceManagementImportedDeviceIdentityID("importedDeviceIdentityId")

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

Example Usage: ImportedDeviceIdentityClient.ListImportedDeviceIdentities

ctx := context.TODO()


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

Example Usage: ImportedDeviceIdentityClient.ListImportedDeviceIdentityImportLists

ctx := context.TODO()

payload := importeddeviceidentity.ListImportedDeviceIdentityImportListsRequest{
	// ...
}


// alternatively `client.ListImportedDeviceIdentityImportLists(ctx, payload, importeddeviceidentity.DefaultListImportedDeviceIdentityImportListsOperationOptions())` can be used to do batched pagination
items, err := client.ListImportedDeviceIdentityImportListsComplete(ctx, payload, importeddeviceidentity.DefaultListImportedDeviceIdentityImportListsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ImportedDeviceIdentityClient.ListImportedDeviceIdentitySearchExistingIdentities

ctx := context.TODO()

payload := importeddeviceidentity.ListImportedDeviceIdentitySearchExistingIdentitiesRequest{
	// ...
}


// alternatively `client.ListImportedDeviceIdentitySearchExistingIdentities(ctx, payload, importeddeviceidentity.DefaultListImportedDeviceIdentitySearchExistingIdentitiesOperationOptions())` can be used to do batched pagination
items, err := client.ListImportedDeviceIdentitySearchExistingIdentitiesComplete(ctx, payload, importeddeviceidentity.DefaultListImportedDeviceIdentitySearchExistingIdentitiesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: ImportedDeviceIdentityClient.UpdateImportedDeviceIdentity

ctx := context.TODO()
id := importeddeviceidentity.NewDeviceManagementImportedDeviceIdentityID("importedDeviceIdentityId")

payload := importeddeviceidentity.ImportedDeviceIdentity{
	// ...
}


read, err := client.UpdateImportedDeviceIdentity(ctx, id, payload, importeddeviceidentity.DefaultUpdateImportedDeviceIdentityOperationOptions())
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 CreateImportedDeviceIdentityOperationOptions

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

func DefaultCreateImportedDeviceIdentityOperationOptions

func DefaultCreateImportedDeviceIdentityOperationOptions() CreateImportedDeviceIdentityOperationOptions

func (CreateImportedDeviceIdentityOperationOptions) ToHeaders

func (CreateImportedDeviceIdentityOperationOptions) ToOData

func (CreateImportedDeviceIdentityOperationOptions) ToQuery

type CreateImportedDeviceIdentityOperationResponse

type CreateImportedDeviceIdentityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.ImportedDeviceIdentity
}

type DeleteImportedDeviceIdentityOperationOptions

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

func DefaultDeleteImportedDeviceIdentityOperationOptions

func DefaultDeleteImportedDeviceIdentityOperationOptions() DeleteImportedDeviceIdentityOperationOptions

func (DeleteImportedDeviceIdentityOperationOptions) ToHeaders

func (DeleteImportedDeviceIdentityOperationOptions) ToOData

func (DeleteImportedDeviceIdentityOperationOptions) ToQuery

type DeleteImportedDeviceIdentityOperationResponse

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

type GetImportedDeviceIdentitiesCountOperationOptions

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

func DefaultGetImportedDeviceIdentitiesCountOperationOptions

func DefaultGetImportedDeviceIdentitiesCountOperationOptions() GetImportedDeviceIdentitiesCountOperationOptions

func (GetImportedDeviceIdentitiesCountOperationOptions) ToHeaders

func (GetImportedDeviceIdentitiesCountOperationOptions) ToOData

func (GetImportedDeviceIdentitiesCountOperationOptions) ToQuery

type GetImportedDeviceIdentitiesCountOperationResponse

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

type GetImportedDeviceIdentityOperationOptions

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

func DefaultGetImportedDeviceIdentityOperationOptions

func DefaultGetImportedDeviceIdentityOperationOptions() GetImportedDeviceIdentityOperationOptions

func (GetImportedDeviceIdentityOperationOptions) ToHeaders

func (GetImportedDeviceIdentityOperationOptions) ToOData

func (GetImportedDeviceIdentityOperationOptions) ToQuery

type GetImportedDeviceIdentityOperationResponse

type GetImportedDeviceIdentityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.ImportedDeviceIdentity
}

type ImportedDeviceIdentityClient

type ImportedDeviceIdentityClient struct {
	Client *msgraph.Client
}

func NewImportedDeviceIdentityClientWithBaseURI

func NewImportedDeviceIdentityClientWithBaseURI(sdkApi sdkEnv.Api) (*ImportedDeviceIdentityClient, error)

func (ImportedDeviceIdentityClient) CreateImportedDeviceIdentity

CreateImportedDeviceIdentity - Create new navigation property to importedDeviceIdentities for deviceManagement

func (ImportedDeviceIdentityClient) DeleteImportedDeviceIdentity

DeleteImportedDeviceIdentity - Delete navigation property importedDeviceIdentities for deviceManagement

func (ImportedDeviceIdentityClient) GetImportedDeviceIdentitiesCount

GetImportedDeviceIdentitiesCount - Get the number of the resource

func (ImportedDeviceIdentityClient) GetImportedDeviceIdentity

GetImportedDeviceIdentity - Get importedDeviceIdentities from deviceManagement. The imported device identities.

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentities

ListImportedDeviceIdentities - Get importedDeviceIdentities from deviceManagement. The imported device identities.

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentitiesComplete

ListImportedDeviceIdentitiesComplete retrieves all the results into a single object

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentitiesCompleteMatchingPredicate

ListImportedDeviceIdentitiesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentityImportLists

ListImportedDeviceIdentityImportLists - Invoke action importDeviceIdentityList

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentityImportListsComplete

ListImportedDeviceIdentityImportListsComplete retrieves all the results into a single object

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentityImportListsCompleteMatchingPredicate

ListImportedDeviceIdentityImportListsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentitySearchExistingIdentities

ListImportedDeviceIdentitySearchExistingIdentities - Invoke action searchExistingIdentities

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentitySearchExistingIdentitiesComplete

ListImportedDeviceIdentitySearchExistingIdentitiesComplete retrieves all the results into a single object

func (ImportedDeviceIdentityClient) ListImportedDeviceIdentitySearchExistingIdentitiesCompleteMatchingPredicate

ListImportedDeviceIdentitySearchExistingIdentitiesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ImportedDeviceIdentityClient) UpdateImportedDeviceIdentity

UpdateImportedDeviceIdentity - Update the navigation property importedDeviceIdentities in deviceManagement

type ImportedDeviceIdentityOperationPredicate

type ImportedDeviceIdentityOperationPredicate struct {
}

func (ImportedDeviceIdentityOperationPredicate) Matches

type ImportedDeviceIdentityResultOperationPredicate

type ImportedDeviceIdentityResultOperationPredicate struct {
}

func (ImportedDeviceIdentityResultOperationPredicate) Matches

type ListImportedDeviceIdentitiesCompleteResult

type ListImportedDeviceIdentitiesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.ImportedDeviceIdentity
}

type ListImportedDeviceIdentitiesCustomPager

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

type ListImportedDeviceIdentitiesOperationOptions

type ListImportedDeviceIdentitiesOperationOptions 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 DefaultListImportedDeviceIdentitiesOperationOptions

func DefaultListImportedDeviceIdentitiesOperationOptions() ListImportedDeviceIdentitiesOperationOptions

func (ListImportedDeviceIdentitiesOperationOptions) ToHeaders

func (ListImportedDeviceIdentitiesOperationOptions) ToOData

func (ListImportedDeviceIdentitiesOperationOptions) ToQuery

type ListImportedDeviceIdentitiesOperationResponse

type ListImportedDeviceIdentitiesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.ImportedDeviceIdentity
}

type ListImportedDeviceIdentityImportListsCompleteResult

type ListImportedDeviceIdentityImportListsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.ImportedDeviceIdentityResult
}

type ListImportedDeviceIdentityImportListsCustomPager

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

type ListImportedDeviceIdentityImportListsOperationOptions

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

func DefaultListImportedDeviceIdentityImportListsOperationOptions

func DefaultListImportedDeviceIdentityImportListsOperationOptions() ListImportedDeviceIdentityImportListsOperationOptions

func (ListImportedDeviceIdentityImportListsOperationOptions) ToHeaders

func (ListImportedDeviceIdentityImportListsOperationOptions) ToOData

func (ListImportedDeviceIdentityImportListsOperationOptions) ToQuery

type ListImportedDeviceIdentityImportListsOperationResponse

type ListImportedDeviceIdentityImportListsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.ImportedDeviceIdentityResult
}

type ListImportedDeviceIdentityImportListsRequest

type ListImportedDeviceIdentityImportListsRequest struct {
	ImportedDeviceIdentities          *[]beta.ImportedDeviceIdentity `json:"importedDeviceIdentities,omitempty"`
	OverwriteImportedDeviceIdentities *bool                          `json:"overwriteImportedDeviceIdentities,omitempty"`
}

type ListImportedDeviceIdentitySearchExistingIdentitiesCompleteResult

type ListImportedDeviceIdentitySearchExistingIdentitiesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.ImportedDeviceIdentity
}

type ListImportedDeviceIdentitySearchExistingIdentitiesCustomPager

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

type ListImportedDeviceIdentitySearchExistingIdentitiesOperationOptions

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

func (ListImportedDeviceIdentitySearchExistingIdentitiesOperationOptions) ToHeaders

func (ListImportedDeviceIdentitySearchExistingIdentitiesOperationOptions) ToOData

func (ListImportedDeviceIdentitySearchExistingIdentitiesOperationOptions) ToQuery

type ListImportedDeviceIdentitySearchExistingIdentitiesOperationResponse

type ListImportedDeviceIdentitySearchExistingIdentitiesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.ImportedDeviceIdentity
}

type ListImportedDeviceIdentitySearchExistingIdentitiesRequest

type ListImportedDeviceIdentitySearchExistingIdentitiesRequest struct {
	ImportedDeviceIdentities *[]beta.ImportedDeviceIdentity `json:"importedDeviceIdentities,omitempty"`
}

type UpdateImportedDeviceIdentityOperationOptions

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

func DefaultUpdateImportedDeviceIdentityOperationOptions

func DefaultUpdateImportedDeviceIdentityOperationOptions() UpdateImportedDeviceIdentityOperationOptions

func (UpdateImportedDeviceIdentityOperationOptions) ToHeaders

func (UpdateImportedDeviceIdentityOperationOptions) ToOData

func (UpdateImportedDeviceIdentityOperationOptions) ToQuery

type UpdateImportedDeviceIdentityOperationResponse

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