importedwindowsautopilotdeviceidentity

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/devicemanagement/stable/importedwindowsautopilotdeviceidentity Documentation

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

Client Initialization

client := importedwindowsautopilotdeviceidentity.NewImportedWindowsAutopilotDeviceIdentityClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ImportedWindowsAutopilotDeviceIdentityClient.CreateImportedWindowsAutopilotDeviceIdentity

ctx := context.TODO()

payload := importedwindowsautopilotdeviceidentity.ImportedWindowsAutopilotDeviceIdentity{
	// ...
}


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

Example Usage: ImportedWindowsAutopilotDeviceIdentityClient.DeleteImportedWindowsAutopilotDeviceIdentity

ctx := context.TODO()
id := importedwindowsautopilotdeviceidentity.NewDeviceManagementImportedWindowsAutopilotDeviceIdentityID("importedWindowsAutopilotDeviceIdentityId")

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

Example Usage: ImportedWindowsAutopilotDeviceIdentityClient.GetImportedWindowsAutopilotDeviceIdentitiesCount

ctx := context.TODO()


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

Example Usage: ImportedWindowsAutopilotDeviceIdentityClient.GetImportedWindowsAutopilotDeviceIdentity

ctx := context.TODO()
id := importedwindowsautopilotdeviceidentity.NewDeviceManagementImportedWindowsAutopilotDeviceIdentityID("importedWindowsAutopilotDeviceIdentityId")

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

Example Usage: ImportedWindowsAutopilotDeviceIdentityClient.ListImportedWindowsAutopilotDeviceIdentities

ctx := context.TODO()


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

Example Usage: ImportedWindowsAutopilotDeviceIdentityClient.ListImportedWindowsAutopilotDeviceIdentityImports

ctx := context.TODO()

payload := importedwindowsautopilotdeviceidentity.ListImportedWindowsAutopilotDeviceIdentityImportsRequest{
	// ...
}


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

Example Usage: ImportedWindowsAutopilotDeviceIdentityClient.UpdateImportedWindowsAutopilotDeviceIdentity

ctx := context.TODO()
id := importedwindowsautopilotdeviceidentity.NewDeviceManagementImportedWindowsAutopilotDeviceIdentityID("importedWindowsAutopilotDeviceIdentityId")

payload := importedwindowsautopilotdeviceidentity.ImportedWindowsAutopilotDeviceIdentity{
	// ...
}


read, err := client.UpdateImportedWindowsAutopilotDeviceIdentity(ctx, id, payload, importedwindowsautopilotdeviceidentity.DefaultUpdateImportedWindowsAutopilotDeviceIdentityOperationOptions())
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 CreateImportedWindowsAutopilotDeviceIdentityOperationOptions

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

func (CreateImportedWindowsAutopilotDeviceIdentityOperationOptions) ToHeaders

func (CreateImportedWindowsAutopilotDeviceIdentityOperationOptions) ToOData

func (CreateImportedWindowsAutopilotDeviceIdentityOperationOptions) ToQuery

type CreateImportedWindowsAutopilotDeviceIdentityOperationResponse

type CreateImportedWindowsAutopilotDeviceIdentityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ImportedWindowsAutopilotDeviceIdentity
}

type DeleteImportedWindowsAutopilotDeviceIdentityOperationOptions

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

func (DeleteImportedWindowsAutopilotDeviceIdentityOperationOptions) ToHeaders

func (DeleteImportedWindowsAutopilotDeviceIdentityOperationOptions) ToOData

func (DeleteImportedWindowsAutopilotDeviceIdentityOperationOptions) ToQuery

type DeleteImportedWindowsAutopilotDeviceIdentityOperationResponse

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

type GetImportedWindowsAutopilotDeviceIdentitiesCountOperationOptions

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

func (GetImportedWindowsAutopilotDeviceIdentitiesCountOperationOptions) ToHeaders

func (GetImportedWindowsAutopilotDeviceIdentitiesCountOperationOptions) ToOData

func (GetImportedWindowsAutopilotDeviceIdentitiesCountOperationOptions) ToQuery

type GetImportedWindowsAutopilotDeviceIdentitiesCountOperationResponse

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

type GetImportedWindowsAutopilotDeviceIdentityOperationOptions

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

func (GetImportedWindowsAutopilotDeviceIdentityOperationOptions) ToHeaders

func (GetImportedWindowsAutopilotDeviceIdentityOperationOptions) ToOData

func (GetImportedWindowsAutopilotDeviceIdentityOperationOptions) ToQuery

type GetImportedWindowsAutopilotDeviceIdentityOperationResponse

type GetImportedWindowsAutopilotDeviceIdentityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.ImportedWindowsAutopilotDeviceIdentity
}

type ImportedWindowsAutopilotDeviceIdentityClient

type ImportedWindowsAutopilotDeviceIdentityClient struct {
	Client *msgraph.Client
}

func NewImportedWindowsAutopilotDeviceIdentityClientWithBaseURI

func NewImportedWindowsAutopilotDeviceIdentityClientWithBaseURI(sdkApi sdkEnv.Api) (*ImportedWindowsAutopilotDeviceIdentityClient, error)

func (ImportedWindowsAutopilotDeviceIdentityClient) CreateImportedWindowsAutopilotDeviceIdentity

CreateImportedWindowsAutopilotDeviceIdentity - Create importedWindowsAutopilotDeviceIdentity. Create a new importedWindowsAutopilotDeviceIdentity object.

func (ImportedWindowsAutopilotDeviceIdentityClient) DeleteImportedWindowsAutopilotDeviceIdentity

DeleteImportedWindowsAutopilotDeviceIdentity - Delete importedWindowsAutopilotDeviceIdentity. Deletes a importedWindowsAutopilotDeviceIdentity.

func (ImportedWindowsAutopilotDeviceIdentityClient) GetImportedWindowsAutopilotDeviceIdentitiesCount

GetImportedWindowsAutopilotDeviceIdentitiesCount - Get the number of the resource

func (ImportedWindowsAutopilotDeviceIdentityClient) GetImportedWindowsAutopilotDeviceIdentity

GetImportedWindowsAutopilotDeviceIdentity - Get importedWindowsAutopilotDeviceIdentity. Read properties and relationships of the importedWindowsAutopilotDeviceIdentity object.

func (ImportedWindowsAutopilotDeviceIdentityClient) ListImportedWindowsAutopilotDeviceIdentities

ListImportedWindowsAutopilotDeviceIdentities - List importedWindowsAutopilotDeviceIdentities. List properties and relationships of the importedWindowsAutopilotDeviceIdentity objects.

func (ImportedWindowsAutopilotDeviceIdentityClient) ListImportedWindowsAutopilotDeviceIdentitiesComplete

ListImportedWindowsAutopilotDeviceIdentitiesComplete retrieves all the results into a single object

func (ImportedWindowsAutopilotDeviceIdentityClient) ListImportedWindowsAutopilotDeviceIdentitiesCompleteMatchingPredicate

ListImportedWindowsAutopilotDeviceIdentitiesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ImportedWindowsAutopilotDeviceIdentityClient) ListImportedWindowsAutopilotDeviceIdentityImports

ListImportedWindowsAutopilotDeviceIdentityImports - Invoke action import. Not yet documented

func (ImportedWindowsAutopilotDeviceIdentityClient) ListImportedWindowsAutopilotDeviceIdentityImportsComplete

ListImportedWindowsAutopilotDeviceIdentityImportsComplete retrieves all the results into a single object

func (ImportedWindowsAutopilotDeviceIdentityClient) ListImportedWindowsAutopilotDeviceIdentityImportsCompleteMatchingPredicate

ListImportedWindowsAutopilotDeviceIdentityImportsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ImportedWindowsAutopilotDeviceIdentityClient) UpdateImportedWindowsAutopilotDeviceIdentity

UpdateImportedWindowsAutopilotDeviceIdentity - Update the navigation property importedWindowsAutopilotDeviceIdentities in deviceManagement

type ImportedWindowsAutopilotDeviceIdentityOperationPredicate

type ImportedWindowsAutopilotDeviceIdentityOperationPredicate struct {
}

func (ImportedWindowsAutopilotDeviceIdentityOperationPredicate) Matches

type ListImportedWindowsAutopilotDeviceIdentitiesCompleteResult

type ListImportedWindowsAutopilotDeviceIdentitiesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.ImportedWindowsAutopilotDeviceIdentity
}

type ListImportedWindowsAutopilotDeviceIdentitiesCustomPager

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

type ListImportedWindowsAutopilotDeviceIdentitiesOperationOptions

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

func (ListImportedWindowsAutopilotDeviceIdentitiesOperationOptions) ToOData

func (ListImportedWindowsAutopilotDeviceIdentitiesOperationOptions) ToQuery

type ListImportedWindowsAutopilotDeviceIdentitiesOperationResponse

type ListImportedWindowsAutopilotDeviceIdentitiesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.ImportedWindowsAutopilotDeviceIdentity
}

type ListImportedWindowsAutopilotDeviceIdentityImportsCompleteResult

type ListImportedWindowsAutopilotDeviceIdentityImportsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.ImportedWindowsAutopilotDeviceIdentity
}

type ListImportedWindowsAutopilotDeviceIdentityImportsCustomPager

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

type ListImportedWindowsAutopilotDeviceIdentityImportsOperationOptions

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

func (ListImportedWindowsAutopilotDeviceIdentityImportsOperationOptions) ToHeaders

func (ListImportedWindowsAutopilotDeviceIdentityImportsOperationOptions) ToOData

func (ListImportedWindowsAutopilotDeviceIdentityImportsOperationOptions) ToQuery

type ListImportedWindowsAutopilotDeviceIdentityImportsOperationResponse

type ListImportedWindowsAutopilotDeviceIdentityImportsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.ImportedWindowsAutopilotDeviceIdentity
}

type ListImportedWindowsAutopilotDeviceIdentityImportsRequest

type ListImportedWindowsAutopilotDeviceIdentityImportsRequest struct {
	ImportedWindowsAutopilotDeviceIdentities *[]stable.ImportedWindowsAutopilotDeviceIdentity `json:"importedWindowsAutopilotDeviceIdentities,omitempty"`
}

type UpdateImportedWindowsAutopilotDeviceIdentityOperationOptions

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

func (UpdateImportedWindowsAutopilotDeviceIdentityOperationOptions) ToHeaders

func (UpdateImportedWindowsAutopilotDeviceIdentityOperationOptions) ToOData

func (UpdateImportedWindowsAutopilotDeviceIdentityOperationOptions) ToQuery

type UpdateImportedWindowsAutopilotDeviceIdentityOperationResponse

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