microsofttunnelserverlogcollectionresponse

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/microsofttunnelserverlogcollectionresponse Documentation

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

Client Initialization

client := microsofttunnelserverlogcollectionresponse.NewMicrosoftTunnelServerLogCollectionResponseClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: MicrosoftTunnelServerLogCollectionResponseClient.CreateMicrosoftTunnelServerLogCollectionResponse

ctx := context.TODO()

payload := microsofttunnelserverlogcollectionresponse.MicrosoftTunnelServerLogCollectionResponse{
	// ...
}


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

Example Usage: MicrosoftTunnelServerLogCollectionResponseClient.CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrl

ctx := context.TODO()
id := microsofttunnelserverlogcollectionresponse.NewDeviceManagementMicrosoftTunnelServerLogCollectionResponseID("microsoftTunnelServerLogCollectionResponseId")

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

Example Usage: MicrosoftTunnelServerLogCollectionResponseClient.CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrl

ctx := context.TODO()
id := microsofttunnelserverlogcollectionresponse.NewDeviceManagementMicrosoftTunnelServerLogCollectionResponseID("microsoftTunnelServerLogCollectionResponseId")

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

Example Usage: MicrosoftTunnelServerLogCollectionResponseClient.DeleteMicrosoftTunnelServerLogCollectionResponse

ctx := context.TODO()
id := microsofttunnelserverlogcollectionresponse.NewDeviceManagementMicrosoftTunnelServerLogCollectionResponseID("microsoftTunnelServerLogCollectionResponseId")

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

Example Usage: MicrosoftTunnelServerLogCollectionResponseClient.GetMicrosoftTunnelServerLogCollectionResponse

ctx := context.TODO()
id := microsofttunnelserverlogcollectionresponse.NewDeviceManagementMicrosoftTunnelServerLogCollectionResponseID("microsoftTunnelServerLogCollectionResponseId")

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

Example Usage: MicrosoftTunnelServerLogCollectionResponseClient.GetMicrosoftTunnelServerLogCollectionResponsesCount

ctx := context.TODO()


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

Example Usage: MicrosoftTunnelServerLogCollectionResponseClient.ListMicrosoftTunnelServerLogCollectionResponses

ctx := context.TODO()


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

Example Usage: MicrosoftTunnelServerLogCollectionResponseClient.UpdateMicrosoftTunnelServerLogCollectionResponse

ctx := context.TODO()
id := microsofttunnelserverlogcollectionresponse.NewDeviceManagementMicrosoftTunnelServerLogCollectionResponseID("microsoftTunnelServerLogCollectionResponseId")

payload := microsofttunnelserverlogcollectionresponse.MicrosoftTunnelServerLogCollectionResponse{
	// ...
}


read, err := client.UpdateMicrosoftTunnelServerLogCollectionResponse(ctx, id, payload, microsofttunnelserverlogcollectionresponse.DefaultUpdateMicrosoftTunnelServerLogCollectionResponseOperationOptions())
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 CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrlOperationOptions

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

func (CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrlOperationOptions) ToHeaders

func (CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrlOperationOptions) ToOData

func (CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrlOperationOptions) ToQuery

type CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrlOperationResponse

type CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrlOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrlResult
}

type CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrlResult

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

type CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrlOperationOptions

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

func (CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrlOperationOptions) ToHeaders

func (CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrlOperationOptions) ToOData

func (CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrlOperationOptions) ToQuery

type CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrlOperationResponse

type CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrlOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrlResult
}

type CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrlResult

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

type CreateMicrosoftTunnelServerLogCollectionResponseOperationOptions

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

func (CreateMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToHeaders

func (CreateMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToOData

func (CreateMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToQuery

type CreateMicrosoftTunnelServerLogCollectionResponseOperationResponse

type CreateMicrosoftTunnelServerLogCollectionResponseOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.MicrosoftTunnelServerLogCollectionResponse
}

type DeleteMicrosoftTunnelServerLogCollectionResponseOperationOptions

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

func (DeleteMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToHeaders

func (DeleteMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToOData

func (DeleteMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToQuery

type DeleteMicrosoftTunnelServerLogCollectionResponseOperationResponse

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

type GetMicrosoftTunnelServerLogCollectionResponseOperationOptions

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

func (GetMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToHeaders

func (GetMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToOData

func (GetMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToQuery

type GetMicrosoftTunnelServerLogCollectionResponseOperationResponse

type GetMicrosoftTunnelServerLogCollectionResponseOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.MicrosoftTunnelServerLogCollectionResponse
}

type GetMicrosoftTunnelServerLogCollectionResponsesCountOperationOptions

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

func (GetMicrosoftTunnelServerLogCollectionResponsesCountOperationOptions) ToHeaders

func (GetMicrosoftTunnelServerLogCollectionResponsesCountOperationOptions) ToOData

func (GetMicrosoftTunnelServerLogCollectionResponsesCountOperationOptions) ToQuery

type GetMicrosoftTunnelServerLogCollectionResponsesCountOperationResponse

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

type ListMicrosoftTunnelServerLogCollectionResponsesCompleteResult

type ListMicrosoftTunnelServerLogCollectionResponsesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.MicrosoftTunnelServerLogCollectionResponse
}

type ListMicrosoftTunnelServerLogCollectionResponsesCustomPager

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

type ListMicrosoftTunnelServerLogCollectionResponsesOperationOptions

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

func (ListMicrosoftTunnelServerLogCollectionResponsesOperationOptions) ToOData

func (ListMicrosoftTunnelServerLogCollectionResponsesOperationOptions) ToQuery

type ListMicrosoftTunnelServerLogCollectionResponsesOperationResponse

type ListMicrosoftTunnelServerLogCollectionResponsesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.MicrosoftTunnelServerLogCollectionResponse
}

type MicrosoftTunnelServerLogCollectionResponseClient

type MicrosoftTunnelServerLogCollectionResponseClient struct {
	Client *msgraph.Client
}

func NewMicrosoftTunnelServerLogCollectionResponseClientWithBaseURI

func NewMicrosoftTunnelServerLogCollectionResponseClientWithBaseURI(sdkApi sdkEnv.Api) (*MicrosoftTunnelServerLogCollectionResponseClient, error)

func (MicrosoftTunnelServerLogCollectionResponseClient) CreateMicrosoftTunnelServerLogCollectionResponse

CreateMicrosoftTunnelServerLogCollectionResponse - Create new navigation property to microsoftTunnelServerLogCollectionResponses for deviceManagement

func (MicrosoftTunnelServerLogCollectionResponseClient) CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrl

CreateMicrosoftTunnelServerLogCollectionResponseDownloadUrl - Invoke action createDownloadUrl

func (MicrosoftTunnelServerLogCollectionResponseClient) CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrl

CreateMicrosoftTunnelServerLogCollectionResponseGenerateDownloadUrl - Invoke action generateDownloadUrl

func (MicrosoftTunnelServerLogCollectionResponseClient) DeleteMicrosoftTunnelServerLogCollectionResponse

DeleteMicrosoftTunnelServerLogCollectionResponse - Delete navigation property microsoftTunnelServerLogCollectionResponses for deviceManagement

func (MicrosoftTunnelServerLogCollectionResponseClient) GetMicrosoftTunnelServerLogCollectionResponse

GetMicrosoftTunnelServerLogCollectionResponse - Get microsoftTunnelServerLogCollectionResponses from deviceManagement. Collection of MicrosoftTunnelServerLogCollectionResponse settings associated with account.

func (MicrosoftTunnelServerLogCollectionResponseClient) GetMicrosoftTunnelServerLogCollectionResponsesCount

GetMicrosoftTunnelServerLogCollectionResponsesCount - Get the number of the resource

func (MicrosoftTunnelServerLogCollectionResponseClient) ListMicrosoftTunnelServerLogCollectionResponses

ListMicrosoftTunnelServerLogCollectionResponses - Get microsoftTunnelServerLogCollectionResponses from deviceManagement. Collection of MicrosoftTunnelServerLogCollectionResponse settings associated with account.

func (MicrosoftTunnelServerLogCollectionResponseClient) ListMicrosoftTunnelServerLogCollectionResponsesComplete

ListMicrosoftTunnelServerLogCollectionResponsesComplete retrieves all the results into a single object

func (MicrosoftTunnelServerLogCollectionResponseClient) ListMicrosoftTunnelServerLogCollectionResponsesCompleteMatchingPredicate

ListMicrosoftTunnelServerLogCollectionResponsesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (MicrosoftTunnelServerLogCollectionResponseClient) UpdateMicrosoftTunnelServerLogCollectionResponse

UpdateMicrosoftTunnelServerLogCollectionResponse - Update the navigation property microsoftTunnelServerLogCollectionResponses in deviceManagement

type MicrosoftTunnelServerLogCollectionResponseOperationPredicate

type MicrosoftTunnelServerLogCollectionResponseOperationPredicate struct {
}

func (MicrosoftTunnelServerLogCollectionResponseOperationPredicate) Matches

type UpdateMicrosoftTunnelServerLogCollectionResponseOperationOptions

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

func (UpdateMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToHeaders

func (UpdateMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToOData

func (UpdateMicrosoftTunnelServerLogCollectionResponseOperationOptions) ToQuery

type UpdateMicrosoftTunnelServerLogCollectionResponseOperationResponse

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