intunebrandingprofile

package
v0.20241017.1093842 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := intunebrandingprofile.NewIntuneBrandingProfileClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: IntuneBrandingProfileClient.AssignIntuneBrandingProfile

ctx := context.TODO()
id := intunebrandingprofile.NewDeviceManagementIntuneBrandingProfileID("intuneBrandingProfileId")

payload := intunebrandingprofile.AssignIntuneBrandingProfileRequest{
	// ...
}


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

Example Usage: IntuneBrandingProfileClient.CreateIntuneBrandingProfile

ctx := context.TODO()

payload := intunebrandingprofile.IntuneBrandingProfile{
	// ...
}


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

Example Usage: IntuneBrandingProfileClient.DeleteIntuneBrandingProfile

ctx := context.TODO()
id := intunebrandingprofile.NewDeviceManagementIntuneBrandingProfileID("intuneBrandingProfileId")

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

Example Usage: IntuneBrandingProfileClient.GetIntuneBrandingProfile

ctx := context.TODO()
id := intunebrandingprofile.NewDeviceManagementIntuneBrandingProfileID("intuneBrandingProfileId")

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

Example Usage: IntuneBrandingProfileClient.GetIntuneBrandingProfilesCount

ctx := context.TODO()


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

Example Usage: IntuneBrandingProfileClient.ListIntuneBrandingProfiles

ctx := context.TODO()


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

Example Usage: IntuneBrandingProfileClient.UpdateIntuneBrandingProfile

ctx := context.TODO()
id := intunebrandingprofile.NewDeviceManagementIntuneBrandingProfileID("intuneBrandingProfileId")

payload := intunebrandingprofile.IntuneBrandingProfile{
	// ...
}


read, err := client.UpdateIntuneBrandingProfile(ctx, id, payload, intunebrandingprofile.DefaultUpdateIntuneBrandingProfileOperationOptions())
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 AssignIntuneBrandingProfileOperationOptions

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

func DefaultAssignIntuneBrandingProfileOperationOptions

func DefaultAssignIntuneBrandingProfileOperationOptions() AssignIntuneBrandingProfileOperationOptions

func (AssignIntuneBrandingProfileOperationOptions) ToHeaders

func (AssignIntuneBrandingProfileOperationOptions) ToOData

func (AssignIntuneBrandingProfileOperationOptions) ToQuery

type AssignIntuneBrandingProfileOperationResponse

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

type AssignIntuneBrandingProfileRequest

type AssignIntuneBrandingProfileRequest struct {
	Assignments *[]beta.IntuneBrandingProfileAssignment `json:"assignments,omitempty"`
}

type CreateIntuneBrandingProfileOperationOptions

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

func DefaultCreateIntuneBrandingProfileOperationOptions

func DefaultCreateIntuneBrandingProfileOperationOptions() CreateIntuneBrandingProfileOperationOptions

func (CreateIntuneBrandingProfileOperationOptions) ToHeaders

func (CreateIntuneBrandingProfileOperationOptions) ToOData

func (CreateIntuneBrandingProfileOperationOptions) ToQuery

type CreateIntuneBrandingProfileOperationResponse

type CreateIntuneBrandingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.IntuneBrandingProfile
}

type DeleteIntuneBrandingProfileOperationOptions

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

func DefaultDeleteIntuneBrandingProfileOperationOptions

func DefaultDeleteIntuneBrandingProfileOperationOptions() DeleteIntuneBrandingProfileOperationOptions

func (DeleteIntuneBrandingProfileOperationOptions) ToHeaders

func (DeleteIntuneBrandingProfileOperationOptions) ToOData

func (DeleteIntuneBrandingProfileOperationOptions) ToQuery

type DeleteIntuneBrandingProfileOperationResponse

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

type GetIntuneBrandingProfileOperationOptions

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

func DefaultGetIntuneBrandingProfileOperationOptions

func DefaultGetIntuneBrandingProfileOperationOptions() GetIntuneBrandingProfileOperationOptions

func (GetIntuneBrandingProfileOperationOptions) ToHeaders

func (GetIntuneBrandingProfileOperationOptions) ToOData

func (GetIntuneBrandingProfileOperationOptions) ToQuery

type GetIntuneBrandingProfileOperationResponse

type GetIntuneBrandingProfileOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.IntuneBrandingProfile
}

type GetIntuneBrandingProfilesCountOperationOptions

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

func DefaultGetIntuneBrandingProfilesCountOperationOptions

func DefaultGetIntuneBrandingProfilesCountOperationOptions() GetIntuneBrandingProfilesCountOperationOptions

func (GetIntuneBrandingProfilesCountOperationOptions) ToHeaders

func (GetIntuneBrandingProfilesCountOperationOptions) ToOData

func (GetIntuneBrandingProfilesCountOperationOptions) ToQuery

type GetIntuneBrandingProfilesCountOperationResponse

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

type IntuneBrandingProfileClient

type IntuneBrandingProfileClient struct {
	Client *msgraph.Client
}

func NewIntuneBrandingProfileClientWithBaseURI

func NewIntuneBrandingProfileClientWithBaseURI(sdkApi sdkEnv.Api) (*IntuneBrandingProfileClient, error)

func (IntuneBrandingProfileClient) AssignIntuneBrandingProfile

AssignIntuneBrandingProfile - Invoke action assign

func (IntuneBrandingProfileClient) CreateIntuneBrandingProfile

CreateIntuneBrandingProfile - Create new navigation property to intuneBrandingProfiles for deviceManagement

func (IntuneBrandingProfileClient) DeleteIntuneBrandingProfile

DeleteIntuneBrandingProfile - Delete navigation property intuneBrandingProfiles for deviceManagement

func (IntuneBrandingProfileClient) GetIntuneBrandingProfile

GetIntuneBrandingProfile - Get intuneBrandingProfiles from deviceManagement. Intune branding profiles targeted to AAD groups

func (IntuneBrandingProfileClient) GetIntuneBrandingProfilesCount

GetIntuneBrandingProfilesCount - Get the number of the resource

func (IntuneBrandingProfileClient) ListIntuneBrandingProfiles

ListIntuneBrandingProfiles - Get intuneBrandingProfiles from deviceManagement. Intune branding profiles targeted to AAD groups

func (IntuneBrandingProfileClient) ListIntuneBrandingProfilesComplete

ListIntuneBrandingProfilesComplete retrieves all the results into a single object

func (IntuneBrandingProfileClient) ListIntuneBrandingProfilesCompleteMatchingPredicate

ListIntuneBrandingProfilesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (IntuneBrandingProfileClient) UpdateIntuneBrandingProfile

UpdateIntuneBrandingProfile - Update the navigation property intuneBrandingProfiles in deviceManagement

type IntuneBrandingProfileOperationPredicate

type IntuneBrandingProfileOperationPredicate struct {
}

func (IntuneBrandingProfileOperationPredicate) Matches

type ListIntuneBrandingProfilesCompleteResult

type ListIntuneBrandingProfilesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.IntuneBrandingProfile
}

type ListIntuneBrandingProfilesCustomPager

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

type ListIntuneBrandingProfilesOperationOptions

type ListIntuneBrandingProfilesOperationOptions 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 DefaultListIntuneBrandingProfilesOperationOptions

func DefaultListIntuneBrandingProfilesOperationOptions() ListIntuneBrandingProfilesOperationOptions

func (ListIntuneBrandingProfilesOperationOptions) ToHeaders

func (ListIntuneBrandingProfilesOperationOptions) ToOData

func (ListIntuneBrandingProfilesOperationOptions) ToQuery

type ListIntuneBrandingProfilesOperationResponse

type ListIntuneBrandingProfilesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.IntuneBrandingProfile
}

type UpdateIntuneBrandingProfileOperationOptions

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

func DefaultUpdateIntuneBrandingProfileOperationOptions

func DefaultUpdateIntuneBrandingProfileOperationOptions() UpdateIntuneBrandingProfileOperationOptions

func (UpdateIntuneBrandingProfileOperationOptions) ToHeaders

func (UpdateIntuneBrandingProfileOperationOptions) ToOData

func (UpdateIntuneBrandingProfileOperationOptions) ToQuery

type UpdateIntuneBrandingProfileOperationResponse

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