manageddevicelogcollectionrequest

package
v0.20241118.1115603 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/me/stable/manageddevicelogcollectionrequest Documentation

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

Client Initialization

client := manageddevicelogcollectionrequest.NewManagedDeviceLogCollectionRequestClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ManagedDeviceLogCollectionRequestClient.CreateManagedDeviceLogCollectionRequest

ctx := context.TODO()
id := manageddevicelogcollectionrequest.NewMeManagedDeviceID("managedDeviceId")

payload := manageddevicelogcollectionrequest.DeviceLogCollectionResponse{
	// ...
}


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

Example Usage: ManagedDeviceLogCollectionRequestClient.CreateManagedDeviceLogCollectionRequestDownloadUrl

ctx := context.TODO()
id := manageddevicelogcollectionrequest.NewMeManagedDeviceIdLogCollectionRequestID("managedDeviceId", "deviceLogCollectionResponseId")

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

Example Usage: ManagedDeviceLogCollectionRequestClient.DeleteManagedDeviceLogCollectionRequest

ctx := context.TODO()
id := manageddevicelogcollectionrequest.NewMeManagedDeviceIdLogCollectionRequestID("managedDeviceId", "deviceLogCollectionResponseId")

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

Example Usage: ManagedDeviceLogCollectionRequestClient.GetManagedDeviceLogCollectionRequest

ctx := context.TODO()
id := manageddevicelogcollectionrequest.NewMeManagedDeviceIdLogCollectionRequestID("managedDeviceId", "deviceLogCollectionResponseId")

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

Example Usage: ManagedDeviceLogCollectionRequestClient.GetManagedDeviceLogCollectionRequestsCount

ctx := context.TODO()
id := manageddevicelogcollectionrequest.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceLogCollectionRequestClient.ListManagedDeviceLogCollectionRequests

ctx := context.TODO()
id := manageddevicelogcollectionrequest.NewMeManagedDeviceID("managedDeviceId")

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

Example Usage: ManagedDeviceLogCollectionRequestClient.UpdateManagedDeviceLogCollectionRequest

ctx := context.TODO()
id := manageddevicelogcollectionrequest.NewMeManagedDeviceIdLogCollectionRequestID("managedDeviceId", "deviceLogCollectionResponseId")

payload := manageddevicelogcollectionrequest.DeviceLogCollectionResponse{
	// ...
}


read, err := client.UpdateManagedDeviceLogCollectionRequest(ctx, id, payload, manageddevicelogcollectionrequest.DefaultUpdateManagedDeviceLogCollectionRequestOperationOptions())
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 CreateManagedDeviceLogCollectionRequestDownloadUrlOperationOptions

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

func (CreateManagedDeviceLogCollectionRequestDownloadUrlOperationOptions) ToHeaders

func (CreateManagedDeviceLogCollectionRequestDownloadUrlOperationOptions) ToOData

func (CreateManagedDeviceLogCollectionRequestDownloadUrlOperationOptions) ToQuery

type CreateManagedDeviceLogCollectionRequestDownloadUrlOperationResponse

type CreateManagedDeviceLogCollectionRequestDownloadUrlOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateManagedDeviceLogCollectionRequestDownloadUrlResult
}

type CreateManagedDeviceLogCollectionRequestDownloadUrlResult

type CreateManagedDeviceLogCollectionRequestDownloadUrlResult struct {
	Value nullable.Type[string] `json:"value,omitempty"`
}

type CreateManagedDeviceLogCollectionRequestOperationOptions

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

func (CreateManagedDeviceLogCollectionRequestOperationOptions) ToHeaders

func (CreateManagedDeviceLogCollectionRequestOperationOptions) ToOData

func (CreateManagedDeviceLogCollectionRequestOperationOptions) ToQuery

type CreateManagedDeviceLogCollectionRequestOperationResponse

type CreateManagedDeviceLogCollectionRequestOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.DeviceLogCollectionResponse
}

type DeleteManagedDeviceLogCollectionRequestOperationOptions

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

func (DeleteManagedDeviceLogCollectionRequestOperationOptions) ToHeaders

func (DeleteManagedDeviceLogCollectionRequestOperationOptions) ToOData

func (DeleteManagedDeviceLogCollectionRequestOperationOptions) ToQuery

type DeleteManagedDeviceLogCollectionRequestOperationResponse

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

type DeviceLogCollectionResponseOperationPredicate

type DeviceLogCollectionResponseOperationPredicate struct {
}

func (DeviceLogCollectionResponseOperationPredicate) Matches

type GetManagedDeviceLogCollectionRequestOperationOptions

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

func DefaultGetManagedDeviceLogCollectionRequestOperationOptions

func DefaultGetManagedDeviceLogCollectionRequestOperationOptions() GetManagedDeviceLogCollectionRequestOperationOptions

func (GetManagedDeviceLogCollectionRequestOperationOptions) ToHeaders

func (GetManagedDeviceLogCollectionRequestOperationOptions) ToOData

func (GetManagedDeviceLogCollectionRequestOperationOptions) ToQuery

type GetManagedDeviceLogCollectionRequestOperationResponse

type GetManagedDeviceLogCollectionRequestOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.DeviceLogCollectionResponse
}

type GetManagedDeviceLogCollectionRequestsCountOperationOptions

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

func (GetManagedDeviceLogCollectionRequestsCountOperationOptions) ToHeaders

func (GetManagedDeviceLogCollectionRequestsCountOperationOptions) ToOData

func (GetManagedDeviceLogCollectionRequestsCountOperationOptions) ToQuery

type GetManagedDeviceLogCollectionRequestsCountOperationResponse

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

type ListManagedDeviceLogCollectionRequestsCompleteResult

type ListManagedDeviceLogCollectionRequestsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.DeviceLogCollectionResponse
}

type ListManagedDeviceLogCollectionRequestsCustomPager

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

type ListManagedDeviceLogCollectionRequestsOperationOptions

type ListManagedDeviceLogCollectionRequestsOperationOptions 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 DefaultListManagedDeviceLogCollectionRequestsOperationOptions

func DefaultListManagedDeviceLogCollectionRequestsOperationOptions() ListManagedDeviceLogCollectionRequestsOperationOptions

func (ListManagedDeviceLogCollectionRequestsOperationOptions) ToHeaders

func (ListManagedDeviceLogCollectionRequestsOperationOptions) ToOData

func (ListManagedDeviceLogCollectionRequestsOperationOptions) ToQuery

type ListManagedDeviceLogCollectionRequestsOperationResponse

type ListManagedDeviceLogCollectionRequestsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.DeviceLogCollectionResponse
}

type ManagedDeviceLogCollectionRequestClient

type ManagedDeviceLogCollectionRequestClient struct {
	Client *msgraph.Client
}

func NewManagedDeviceLogCollectionRequestClientWithBaseURI

func NewManagedDeviceLogCollectionRequestClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagedDeviceLogCollectionRequestClient, error)

func (ManagedDeviceLogCollectionRequestClient) CreateManagedDeviceLogCollectionRequest

CreateManagedDeviceLogCollectionRequest - Create new navigation property to logCollectionRequests for me

func (ManagedDeviceLogCollectionRequestClient) CreateManagedDeviceLogCollectionRequestDownloadUrl

CreateManagedDeviceLogCollectionRequestDownloadUrl - Invoke action createDownloadUrl

func (ManagedDeviceLogCollectionRequestClient) DeleteManagedDeviceLogCollectionRequest

DeleteManagedDeviceLogCollectionRequest - Delete navigation property logCollectionRequests for me

func (ManagedDeviceLogCollectionRequestClient) GetManagedDeviceLogCollectionRequest

GetManagedDeviceLogCollectionRequest - Get logCollectionRequests from me. List of log collection requests

func (ManagedDeviceLogCollectionRequestClient) GetManagedDeviceLogCollectionRequestsCount

GetManagedDeviceLogCollectionRequestsCount - Get the number of the resource

func (ManagedDeviceLogCollectionRequestClient) ListManagedDeviceLogCollectionRequests

ListManagedDeviceLogCollectionRequests - Get logCollectionRequests from me. List of log collection requests

func (ManagedDeviceLogCollectionRequestClient) ListManagedDeviceLogCollectionRequestsComplete

ListManagedDeviceLogCollectionRequestsComplete retrieves all the results into a single object

func (ManagedDeviceLogCollectionRequestClient) ListManagedDeviceLogCollectionRequestsCompleteMatchingPredicate

ListManagedDeviceLogCollectionRequestsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (ManagedDeviceLogCollectionRequestClient) UpdateManagedDeviceLogCollectionRequest

UpdateManagedDeviceLogCollectionRequest - Update the navigation property logCollectionRequests in me

type UpdateManagedDeviceLogCollectionRequestOperationOptions

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

func (UpdateManagedDeviceLogCollectionRequestOperationOptions) ToHeaders

func (UpdateManagedDeviceLogCollectionRequestOperationOptions) ToOData

func (UpdateManagedDeviceLogCollectionRequestOperationOptions) ToQuery

type UpdateManagedDeviceLogCollectionRequestOperationResponse

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