importedwindowsautopilotdeviceidentity

package
v0.20241206.1180327 Latest Latest
Warning

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

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

README

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

The importedwindowsautopilotdeviceidentity 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/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        *beta.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        *beta.ImportedWindowsAutopilotDeviceIdentity
}

type ImportedWindowsAutopilotDeviceIdentityClient

type ImportedWindowsAutopilotDeviceIdentityClient struct {
	Client *msgraph.Client
}

func NewImportedWindowsAutopilotDeviceIdentityClientWithBaseURI

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

func (ImportedWindowsAutopilotDeviceIdentityClient) CreateImportedWindowsAutopilotDeviceIdentity

CreateImportedWindowsAutopilotDeviceIdentity - Create new navigation property to importedWindowsAutopilotDeviceIdentities for deviceManagement

func (ImportedWindowsAutopilotDeviceIdentityClient) DeleteImportedWindowsAutopilotDeviceIdentity

DeleteImportedWindowsAutopilotDeviceIdentity - Delete navigation property importedWindowsAutopilotDeviceIdentities for deviceManagement

func (ImportedWindowsAutopilotDeviceIdentityClient) GetImportedWindowsAutopilotDeviceIdentitiesCount

GetImportedWindowsAutopilotDeviceIdentitiesCount - Get the number of the resource

func (ImportedWindowsAutopilotDeviceIdentityClient) GetImportedWindowsAutopilotDeviceIdentity

GetImportedWindowsAutopilotDeviceIdentity - Get importedWindowsAutopilotDeviceIdentities from deviceManagement. Collection of imported Windows autopilot devices.

func (ImportedWindowsAutopilotDeviceIdentityClient) ListImportedWindowsAutopilotDeviceIdentities

ListImportedWindowsAutopilotDeviceIdentities - Get importedWindowsAutopilotDeviceIdentities from deviceManagement. Collection of imported Windows autopilot devices.

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

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              []beta.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        *[]beta.ImportedWindowsAutopilotDeviceIdentity
}

type ListImportedWindowsAutopilotDeviceIdentityImportsCompleteResult

type ListImportedWindowsAutopilotDeviceIdentityImportsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.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        *[]beta.ImportedWindowsAutopilotDeviceIdentity
}

type ListImportedWindowsAutopilotDeviceIdentityImportsRequest

type ListImportedWindowsAutopilotDeviceIdentityImportsRequest struct {
	ImportedWindowsAutopilotDeviceIdentities *[]beta.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