userexperienceanalyticsdevicescope

package
v0.20241126.2320 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

README

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

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

Client Initialization

client := userexperienceanalyticsdevicescope.NewUserExperienceAnalyticsDeviceScopeClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: UserExperienceAnalyticsDeviceScopeClient.CreateUserExperienceAnalyticsDeviceScope

ctx := context.TODO()

payload := userexperienceanalyticsdevicescope.UserExperienceAnalyticsDeviceScope{
	// ...
}


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

Example Usage: UserExperienceAnalyticsDeviceScopeClient.CreateUserExperienceAnalyticsDeviceScopeTriggerAction

ctx := context.TODO()
id := userexperienceanalyticsdevicescope.NewDeviceManagementUserExperienceAnalyticsDeviceScopeID("userExperienceAnalyticsDeviceScopeId")

payload := userexperienceanalyticsdevicescope.CreateUserExperienceAnalyticsDeviceScopeTriggerActionRequest{
	// ...
}


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

Example Usage: UserExperienceAnalyticsDeviceScopeClient.DeleteUserExperienceAnalyticsDeviceScope

ctx := context.TODO()
id := userexperienceanalyticsdevicescope.NewDeviceManagementUserExperienceAnalyticsDeviceScopeID("userExperienceAnalyticsDeviceScopeId")

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

Example Usage: UserExperienceAnalyticsDeviceScopeClient.GetUserExperienceAnalyticsDeviceScope

ctx := context.TODO()
id := userexperienceanalyticsdevicescope.NewDeviceManagementUserExperienceAnalyticsDeviceScopeID("userExperienceAnalyticsDeviceScopeId")

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

Example Usage: UserExperienceAnalyticsDeviceScopeClient.GetUserExperienceAnalyticsDeviceScopesCount

ctx := context.TODO()


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

Example Usage: UserExperienceAnalyticsDeviceScopeClient.ListUserExperienceAnalyticsDeviceScopes

ctx := context.TODO()


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

Example Usage: UserExperienceAnalyticsDeviceScopeClient.UpdateUserExperienceAnalyticsDeviceScope

ctx := context.TODO()
id := userexperienceanalyticsdevicescope.NewDeviceManagementUserExperienceAnalyticsDeviceScopeID("userExperienceAnalyticsDeviceScopeId")

payload := userexperienceanalyticsdevicescope.UserExperienceAnalyticsDeviceScope{
	// ...
}


read, err := client.UpdateUserExperienceAnalyticsDeviceScope(ctx, id, payload, userexperienceanalyticsdevicescope.DefaultUpdateUserExperienceAnalyticsDeviceScopeOperationOptions())
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 CreateUserExperienceAnalyticsDeviceScopeOperationOptions

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

func (CreateUserExperienceAnalyticsDeviceScopeOperationOptions) ToHeaders

func (CreateUserExperienceAnalyticsDeviceScopeOperationOptions) ToOData

func (CreateUserExperienceAnalyticsDeviceScopeOperationOptions) ToQuery

type CreateUserExperienceAnalyticsDeviceScopeOperationResponse

type CreateUserExperienceAnalyticsDeviceScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.UserExperienceAnalyticsDeviceScope
}

type CreateUserExperienceAnalyticsDeviceScopeTriggerActionOperationOptions

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

func (CreateUserExperienceAnalyticsDeviceScopeTriggerActionOperationOptions) ToHeaders

func (CreateUserExperienceAnalyticsDeviceScopeTriggerActionOperationOptions) ToOData

func (CreateUserExperienceAnalyticsDeviceScopeTriggerActionOperationOptions) ToQuery

type CreateUserExperienceAnalyticsDeviceScopeTriggerActionOperationResponse

type CreateUserExperienceAnalyticsDeviceScopeTriggerActionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.DeviceScopeActionResult
}

type CreateUserExperienceAnalyticsDeviceScopeTriggerActionRequest

type CreateUserExperienceAnalyticsDeviceScopeTriggerActionRequest struct {
	// Trigger on the service to either START or STOP computing metrics data based on a device scope configuration.
	ActionName *beta.DeviceScopeAction `json:"actionName,omitempty"`

	DeviceScopeId *string `json:"deviceScopeId,omitempty"`
}

type DeleteUserExperienceAnalyticsDeviceScopeOperationOptions

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

func (DeleteUserExperienceAnalyticsDeviceScopeOperationOptions) ToHeaders

func (DeleteUserExperienceAnalyticsDeviceScopeOperationOptions) ToOData

func (DeleteUserExperienceAnalyticsDeviceScopeOperationOptions) ToQuery

type DeleteUserExperienceAnalyticsDeviceScopeOperationResponse

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

type GetUserExperienceAnalyticsDeviceScopeOperationOptions

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

func DefaultGetUserExperienceAnalyticsDeviceScopeOperationOptions

func DefaultGetUserExperienceAnalyticsDeviceScopeOperationOptions() GetUserExperienceAnalyticsDeviceScopeOperationOptions

func (GetUserExperienceAnalyticsDeviceScopeOperationOptions) ToHeaders

func (GetUserExperienceAnalyticsDeviceScopeOperationOptions) ToOData

func (GetUserExperienceAnalyticsDeviceScopeOperationOptions) ToQuery

type GetUserExperienceAnalyticsDeviceScopeOperationResponse

type GetUserExperienceAnalyticsDeviceScopeOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.UserExperienceAnalyticsDeviceScope
}

type GetUserExperienceAnalyticsDeviceScopesCountOperationOptions

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

func (GetUserExperienceAnalyticsDeviceScopesCountOperationOptions) ToHeaders

func (GetUserExperienceAnalyticsDeviceScopesCountOperationOptions) ToOData

func (GetUserExperienceAnalyticsDeviceScopesCountOperationOptions) ToQuery

type GetUserExperienceAnalyticsDeviceScopesCountOperationResponse

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

type ListUserExperienceAnalyticsDeviceScopesCompleteResult

type ListUserExperienceAnalyticsDeviceScopesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.UserExperienceAnalyticsDeviceScope
}

type ListUserExperienceAnalyticsDeviceScopesCustomPager

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

type ListUserExperienceAnalyticsDeviceScopesOperationOptions

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

func (ListUserExperienceAnalyticsDeviceScopesOperationOptions) ToOData

func (ListUserExperienceAnalyticsDeviceScopesOperationOptions) ToQuery

type ListUserExperienceAnalyticsDeviceScopesOperationResponse

type ListUserExperienceAnalyticsDeviceScopesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.UserExperienceAnalyticsDeviceScope
}

type UpdateUserExperienceAnalyticsDeviceScopeOperationOptions

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

func (UpdateUserExperienceAnalyticsDeviceScopeOperationOptions) ToHeaders

func (UpdateUserExperienceAnalyticsDeviceScopeOperationOptions) ToOData

func (UpdateUserExperienceAnalyticsDeviceScopeOperationOptions) ToQuery

type UpdateUserExperienceAnalyticsDeviceScopeOperationResponse

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

type UserExperienceAnalyticsDeviceScopeClient

type UserExperienceAnalyticsDeviceScopeClient struct {
	Client *msgraph.Client
}

func NewUserExperienceAnalyticsDeviceScopeClientWithBaseURI

func NewUserExperienceAnalyticsDeviceScopeClientWithBaseURI(sdkApi sdkEnv.Api) (*UserExperienceAnalyticsDeviceScopeClient, error)

func (UserExperienceAnalyticsDeviceScopeClient) CreateUserExperienceAnalyticsDeviceScope

CreateUserExperienceAnalyticsDeviceScope - Create new navigation property to userExperienceAnalyticsDeviceScopes for deviceManagement

func (UserExperienceAnalyticsDeviceScopeClient) CreateUserExperienceAnalyticsDeviceScopeTriggerAction

CreateUserExperienceAnalyticsDeviceScopeTriggerAction - Invoke action triggerDeviceScopeAction

func (UserExperienceAnalyticsDeviceScopeClient) DeleteUserExperienceAnalyticsDeviceScope

DeleteUserExperienceAnalyticsDeviceScope - Delete navigation property userExperienceAnalyticsDeviceScopes for deviceManagement

func (UserExperienceAnalyticsDeviceScopeClient) GetUserExperienceAnalyticsDeviceScope

GetUserExperienceAnalyticsDeviceScope - Get userExperienceAnalyticsDeviceScopes from deviceManagement. The user experience analytics device scope entity contains device scope configuration use to apply filtering on the endpoint analytics reports.

func (UserExperienceAnalyticsDeviceScopeClient) GetUserExperienceAnalyticsDeviceScopesCount

GetUserExperienceAnalyticsDeviceScopesCount - Get the number of the resource

func (UserExperienceAnalyticsDeviceScopeClient) ListUserExperienceAnalyticsDeviceScopes

ListUserExperienceAnalyticsDeviceScopes - Get userExperienceAnalyticsDeviceScopes from deviceManagement. The user experience analytics device scope entity contains device scope configuration use to apply filtering on the endpoint analytics reports.

func (UserExperienceAnalyticsDeviceScopeClient) ListUserExperienceAnalyticsDeviceScopesComplete

ListUserExperienceAnalyticsDeviceScopesComplete retrieves all the results into a single object

func (UserExperienceAnalyticsDeviceScopeClient) ListUserExperienceAnalyticsDeviceScopesCompleteMatchingPredicate

ListUserExperienceAnalyticsDeviceScopesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (UserExperienceAnalyticsDeviceScopeClient) UpdateUserExperienceAnalyticsDeviceScope

UpdateUserExperienceAnalyticsDeviceScope - Update the navigation property userExperienceAnalyticsDeviceScopes in deviceManagement

type UserExperienceAnalyticsDeviceScopeOperationPredicate

type UserExperienceAnalyticsDeviceScopeOperationPredicate struct {
}

func (UserExperienceAnalyticsDeviceScopeOperationPredicate) Matches

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL