deponboardingsettingimportedappledeviceidentity

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: 9 Imported by: 0

README

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

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

Client Initialization

client := deponboardingsettingimportedappledeviceidentity.NewDepOnboardingSettingImportedAppleDeviceIdentityClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: DepOnboardingSettingImportedAppleDeviceIdentityClient.CreateDepOnboardingSettingImportedAppleDeviceIdentity

ctx := context.TODO()
id := deponboardingsettingimportedappledeviceidentity.NewDeviceManagementDepOnboardingSettingID("depOnboardingSettingId")

payload := deponboardingsettingimportedappledeviceidentity.ImportedAppleDeviceIdentity{
	// ...
}


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

Example Usage: DepOnboardingSettingImportedAppleDeviceIdentityClient.DeleteDepOnboardingSettingImportedAppleDeviceIdentity

ctx := context.TODO()
id := deponboardingsettingimportedappledeviceidentity.NewDeviceManagementDepOnboardingSettingIdImportedAppleDeviceIdentityID("depOnboardingSettingId", "importedAppleDeviceIdentityId")

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

Example Usage: DepOnboardingSettingImportedAppleDeviceIdentityClient.GetDepOnboardingSettingImportedAppleDeviceIdentitiesCount

ctx := context.TODO()
id := deponboardingsettingimportedappledeviceidentity.NewDeviceManagementDepOnboardingSettingID("depOnboardingSettingId")

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

Example Usage: DepOnboardingSettingImportedAppleDeviceIdentityClient.GetDepOnboardingSettingImportedAppleDeviceIdentity

ctx := context.TODO()
id := deponboardingsettingimportedappledeviceidentity.NewDeviceManagementDepOnboardingSettingIdImportedAppleDeviceIdentityID("depOnboardingSettingId", "importedAppleDeviceIdentityId")

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

Example Usage: DepOnboardingSettingImportedAppleDeviceIdentityClient.ListDepOnboardingSettingImportedAppleDeviceIdentities

ctx := context.TODO()
id := deponboardingsettingimportedappledeviceidentity.NewDeviceManagementDepOnboardingSettingID("depOnboardingSettingId")

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

Example Usage: DepOnboardingSettingImportedAppleDeviceIdentityClient.ListDepOnboardingSettingImportedAppleDeviceIdentityImportLists

ctx := context.TODO()
id := deponboardingsettingimportedappledeviceidentity.NewDeviceManagementDepOnboardingSettingID("depOnboardingSettingId")

payload := deponboardingsettingimportedappledeviceidentity.ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsRequest{
	// ...
}


// alternatively `client.ListDepOnboardingSettingImportedAppleDeviceIdentityImportLists(ctx, id, payload, deponboardingsettingimportedappledeviceidentity.DefaultListDepOnboardingSettingImportedAppleDeviceIdentityImportListsOperationOptions())` can be used to do batched pagination
items, err := client.ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsComplete(ctx, id, payload, deponboardingsettingimportedappledeviceidentity.DefaultListDepOnboardingSettingImportedAppleDeviceIdentityImportListsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DepOnboardingSettingImportedAppleDeviceIdentityClient.UpdateDepOnboardingSettingImportedAppleDeviceIdentity

ctx := context.TODO()
id := deponboardingsettingimportedappledeviceidentity.NewDeviceManagementDepOnboardingSettingIdImportedAppleDeviceIdentityID("depOnboardingSettingId", "importedAppleDeviceIdentityId")

payload := deponboardingsettingimportedappledeviceidentity.ImportedAppleDeviceIdentity{
	// ...
}


read, err := client.UpdateDepOnboardingSettingImportedAppleDeviceIdentity(ctx, id, payload, deponboardingsettingimportedappledeviceidentity.DefaultUpdateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions())
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 CreateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions

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

func (CreateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToHeaders

func (CreateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToOData

func (CreateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToQuery

type CreateDepOnboardingSettingImportedAppleDeviceIdentityOperationResponse

type CreateDepOnboardingSettingImportedAppleDeviceIdentityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.ImportedAppleDeviceIdentity
}

type DeleteDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions

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

func (DeleteDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToHeaders

func (DeleteDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToOData

func (DeleteDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToQuery

type DeleteDepOnboardingSettingImportedAppleDeviceIdentityOperationResponse

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

type DepOnboardingSettingImportedAppleDeviceIdentityClient

type DepOnboardingSettingImportedAppleDeviceIdentityClient struct {
	Client *msgraph.Client
}

func NewDepOnboardingSettingImportedAppleDeviceIdentityClientWithBaseURI

func NewDepOnboardingSettingImportedAppleDeviceIdentityClientWithBaseURI(sdkApi sdkEnv.Api) (*DepOnboardingSettingImportedAppleDeviceIdentityClient, error)

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) CreateDepOnboardingSettingImportedAppleDeviceIdentity

CreateDepOnboardingSettingImportedAppleDeviceIdentity - Create new navigation property to importedAppleDeviceIdentities for deviceManagement

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) DeleteDepOnboardingSettingImportedAppleDeviceIdentity

DeleteDepOnboardingSettingImportedAppleDeviceIdentity - Delete navigation property importedAppleDeviceIdentities for deviceManagement

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) GetDepOnboardingSettingImportedAppleDeviceIdentitiesCount

GetDepOnboardingSettingImportedAppleDeviceIdentitiesCount - Get the number of the resource

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) GetDepOnboardingSettingImportedAppleDeviceIdentity

GetDepOnboardingSettingImportedAppleDeviceIdentity - Get importedAppleDeviceIdentities from deviceManagement. The imported Apple device identities.

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) ListDepOnboardingSettingImportedAppleDeviceIdentities

ListDepOnboardingSettingImportedAppleDeviceIdentities - Get importedAppleDeviceIdentities from deviceManagement. The imported Apple device identities.

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) ListDepOnboardingSettingImportedAppleDeviceIdentitiesComplete

ListDepOnboardingSettingImportedAppleDeviceIdentitiesComplete retrieves all the results into a single object

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) ListDepOnboardingSettingImportedAppleDeviceIdentitiesCompleteMatchingPredicate

ListDepOnboardingSettingImportedAppleDeviceIdentitiesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) ListDepOnboardingSettingImportedAppleDeviceIdentityImportLists

ListDepOnboardingSettingImportedAppleDeviceIdentityImportLists - Invoke action importAppleDeviceIdentityList

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsComplete

ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsComplete retrieves all the results into a single object

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsCompleteMatchingPredicate

ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DepOnboardingSettingImportedAppleDeviceIdentityClient) UpdateDepOnboardingSettingImportedAppleDeviceIdentity

UpdateDepOnboardingSettingImportedAppleDeviceIdentity - Update the navigation property importedAppleDeviceIdentities in deviceManagement

type GetDepOnboardingSettingImportedAppleDeviceIdentitiesCountOperationOptions

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

func (GetDepOnboardingSettingImportedAppleDeviceIdentitiesCountOperationOptions) ToHeaders

func (GetDepOnboardingSettingImportedAppleDeviceIdentitiesCountOperationOptions) ToOData

func (GetDepOnboardingSettingImportedAppleDeviceIdentitiesCountOperationOptions) ToQuery

type GetDepOnboardingSettingImportedAppleDeviceIdentitiesCountOperationResponse

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

type GetDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions

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

func (GetDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToHeaders

func (GetDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToOData

func (GetDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToQuery

type GetDepOnboardingSettingImportedAppleDeviceIdentityOperationResponse

type GetDepOnboardingSettingImportedAppleDeviceIdentityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.ImportedAppleDeviceIdentity
}

type ImportedAppleDeviceIdentityOperationPredicate

type ImportedAppleDeviceIdentityOperationPredicate struct {
}

func (ImportedAppleDeviceIdentityOperationPredicate) Matches

type ImportedAppleDeviceIdentityResultOperationPredicate

type ImportedAppleDeviceIdentityResultOperationPredicate struct {
}

func (ImportedAppleDeviceIdentityResultOperationPredicate) Matches

type ListDepOnboardingSettingImportedAppleDeviceIdentitiesCompleteResult

type ListDepOnboardingSettingImportedAppleDeviceIdentitiesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.ImportedAppleDeviceIdentity
}

type ListDepOnboardingSettingImportedAppleDeviceIdentitiesCustomPager

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

type ListDepOnboardingSettingImportedAppleDeviceIdentitiesOperationOptions

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

func (ListDepOnboardingSettingImportedAppleDeviceIdentitiesOperationOptions) ToOData

func (ListDepOnboardingSettingImportedAppleDeviceIdentitiesOperationOptions) ToQuery

type ListDepOnboardingSettingImportedAppleDeviceIdentitiesOperationResponse

type ListDepOnboardingSettingImportedAppleDeviceIdentitiesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.ImportedAppleDeviceIdentity
}

type ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsCompleteResult

type ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.ImportedAppleDeviceIdentityResult
}

type ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsCustomPager

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

type ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsOperationOptions

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

func (ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsOperationOptions) ToHeaders

func (ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsOperationOptions) ToOData

func (ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsOperationOptions) ToQuery

type ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsOperationResponse

type ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.ImportedAppleDeviceIdentityResult
}

type ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsRequest

type ListDepOnboardingSettingImportedAppleDeviceIdentityImportListsRequest struct {
	ImportedAppleDeviceIdentities     *[]beta.ImportedAppleDeviceIdentity `json:"importedAppleDeviceIdentities,omitempty"`
	OverwriteImportedDeviceIdentities *bool                               `json:"overwriteImportedDeviceIdentities,omitempty"`
}

type UpdateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions

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

func (UpdateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToHeaders

func (UpdateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToOData

func (UpdateDepOnboardingSettingImportedAppleDeviceIdentityOperationOptions) ToQuery

type UpdateDepOnboardingSettingImportedAppleDeviceIdentityOperationResponse

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