virtualendpointusersetting

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

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

Client Initialization

client := virtualendpointusersetting.NewVirtualEndpointUserSettingClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: VirtualEndpointUserSettingClient.AssignVirtualEndpointUserSetting

ctx := context.TODO()
id := virtualendpointusersetting.NewDeviceManagementVirtualEndpointUserSettingID("cloudPCUserSettingId")

payload := virtualendpointusersetting.AssignVirtualEndpointUserSettingRequest{
	// ...
}


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

Example Usage: VirtualEndpointUserSettingClient.CreateVirtualEndpointUserSetting

ctx := context.TODO()

payload := virtualendpointusersetting.CloudPCUserSetting{
	// ...
}


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

Example Usage: VirtualEndpointUserSettingClient.DeleteVirtualEndpointUserSetting

ctx := context.TODO()
id := virtualendpointusersetting.NewDeviceManagementVirtualEndpointUserSettingID("cloudPCUserSettingId")

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

Example Usage: VirtualEndpointUserSettingClient.GetVirtualEndpointUserSetting

ctx := context.TODO()
id := virtualendpointusersetting.NewDeviceManagementVirtualEndpointUserSettingID("cloudPCUserSettingId")

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

Example Usage: VirtualEndpointUserSettingClient.GetVirtualEndpointUserSettingsCount

ctx := context.TODO()


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

Example Usage: VirtualEndpointUserSettingClient.ListVirtualEndpointUserSettings

ctx := context.TODO()


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

Example Usage: VirtualEndpointUserSettingClient.UpdateVirtualEndpointUserSetting

ctx := context.TODO()
id := virtualendpointusersetting.NewDeviceManagementVirtualEndpointUserSettingID("cloudPCUserSettingId")

payload := virtualendpointusersetting.CloudPCUserSetting{
	// ...
}


read, err := client.UpdateVirtualEndpointUserSetting(ctx, id, payload, virtualendpointusersetting.DefaultUpdateVirtualEndpointUserSettingOperationOptions())
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 AssignVirtualEndpointUserSettingOperationOptions

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

func DefaultAssignVirtualEndpointUserSettingOperationOptions

func DefaultAssignVirtualEndpointUserSettingOperationOptions() AssignVirtualEndpointUserSettingOperationOptions

func (AssignVirtualEndpointUserSettingOperationOptions) ToHeaders

func (AssignVirtualEndpointUserSettingOperationOptions) ToOData

func (AssignVirtualEndpointUserSettingOperationOptions) ToQuery

type AssignVirtualEndpointUserSettingOperationResponse

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

type AssignVirtualEndpointUserSettingRequest

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

type CloudPCUserSettingOperationPredicate

type CloudPCUserSettingOperationPredicate struct {
}

func (CloudPCUserSettingOperationPredicate) Matches

type CreateVirtualEndpointUserSettingOperationOptions

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

func DefaultCreateVirtualEndpointUserSettingOperationOptions

func DefaultCreateVirtualEndpointUserSettingOperationOptions() CreateVirtualEndpointUserSettingOperationOptions

func (CreateVirtualEndpointUserSettingOperationOptions) ToHeaders

func (CreateVirtualEndpointUserSettingOperationOptions) ToOData

func (CreateVirtualEndpointUserSettingOperationOptions) ToQuery

type CreateVirtualEndpointUserSettingOperationResponse

type CreateVirtualEndpointUserSettingOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CloudPCUserSetting
}

type DeleteVirtualEndpointUserSettingOperationOptions

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

func DefaultDeleteVirtualEndpointUserSettingOperationOptions

func DefaultDeleteVirtualEndpointUserSettingOperationOptions() DeleteVirtualEndpointUserSettingOperationOptions

func (DeleteVirtualEndpointUserSettingOperationOptions) ToHeaders

func (DeleteVirtualEndpointUserSettingOperationOptions) ToOData

func (DeleteVirtualEndpointUserSettingOperationOptions) ToQuery

type DeleteVirtualEndpointUserSettingOperationResponse

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

type GetVirtualEndpointUserSettingOperationOptions

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

func DefaultGetVirtualEndpointUserSettingOperationOptions

func DefaultGetVirtualEndpointUserSettingOperationOptions() GetVirtualEndpointUserSettingOperationOptions

func (GetVirtualEndpointUserSettingOperationOptions) ToHeaders

func (GetVirtualEndpointUserSettingOperationOptions) ToOData

func (GetVirtualEndpointUserSettingOperationOptions) ToQuery

type GetVirtualEndpointUserSettingOperationResponse

type GetVirtualEndpointUserSettingOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CloudPCUserSetting
}

type GetVirtualEndpointUserSettingsCountOperationOptions

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

func DefaultGetVirtualEndpointUserSettingsCountOperationOptions

func DefaultGetVirtualEndpointUserSettingsCountOperationOptions() GetVirtualEndpointUserSettingsCountOperationOptions

func (GetVirtualEndpointUserSettingsCountOperationOptions) ToHeaders

func (GetVirtualEndpointUserSettingsCountOperationOptions) ToOData

func (GetVirtualEndpointUserSettingsCountOperationOptions) ToQuery

type GetVirtualEndpointUserSettingsCountOperationResponse

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

type ListVirtualEndpointUserSettingsCompleteResult

type ListVirtualEndpointUserSettingsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.CloudPCUserSetting
}

type ListVirtualEndpointUserSettingsCustomPager

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

type ListVirtualEndpointUserSettingsOperationOptions

type ListVirtualEndpointUserSettingsOperationOptions 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 DefaultListVirtualEndpointUserSettingsOperationOptions

func DefaultListVirtualEndpointUserSettingsOperationOptions() ListVirtualEndpointUserSettingsOperationOptions

func (ListVirtualEndpointUserSettingsOperationOptions) ToHeaders

func (ListVirtualEndpointUserSettingsOperationOptions) ToOData

func (ListVirtualEndpointUserSettingsOperationOptions) ToQuery

type ListVirtualEndpointUserSettingsOperationResponse

type ListVirtualEndpointUserSettingsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.CloudPCUserSetting
}

type UpdateVirtualEndpointUserSettingOperationOptions

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

func DefaultUpdateVirtualEndpointUserSettingOperationOptions

func DefaultUpdateVirtualEndpointUserSettingOperationOptions() UpdateVirtualEndpointUserSettingOperationOptions

func (UpdateVirtualEndpointUserSettingOperationOptions) ToHeaders

func (UpdateVirtualEndpointUserSettingOperationOptions) ToOData

func (UpdateVirtualEndpointUserSettingOperationOptions) ToQuery

type UpdateVirtualEndpointUserSettingOperationResponse

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

type VirtualEndpointUserSettingClient

type VirtualEndpointUserSettingClient struct {
	Client *msgraph.Client
}

func NewVirtualEndpointUserSettingClientWithBaseURI

func NewVirtualEndpointUserSettingClientWithBaseURI(sdkApi sdkEnv.Api) (*VirtualEndpointUserSettingClient, error)

func (VirtualEndpointUserSettingClient) AssignVirtualEndpointUserSetting

AssignVirtualEndpointUserSetting - Invoke action assign. Assign a cloudPcUserSetting to user groups.

func (VirtualEndpointUserSettingClient) CreateVirtualEndpointUserSetting

CreateVirtualEndpointUserSetting - Create cloudPcUserSetting. Create a new cloudPcUserSetting object.

func (VirtualEndpointUserSettingClient) DeleteVirtualEndpointUserSetting

DeleteVirtualEndpointUserSetting - Delete cloudPcUserSetting. Delete a cloudPcUserSetting object.

func (VirtualEndpointUserSettingClient) GetVirtualEndpointUserSetting

GetVirtualEndpointUserSetting - Get cloudPcUserSetting. Read the properties and relationships of a cloudPcUserSetting object.

func (VirtualEndpointUserSettingClient) GetVirtualEndpointUserSettingsCount

GetVirtualEndpointUserSettingsCount - Get the number of the resource

func (VirtualEndpointUserSettingClient) ListVirtualEndpointUserSettings

ListVirtualEndpointUserSettings - List userSettings. Retrieve a list of cloudPcUserSetting objects.

func (VirtualEndpointUserSettingClient) ListVirtualEndpointUserSettingsComplete

ListVirtualEndpointUserSettingsComplete retrieves all the results into a single object

func (VirtualEndpointUserSettingClient) ListVirtualEndpointUserSettingsCompleteMatchingPredicate

ListVirtualEndpointUserSettingsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (VirtualEndpointUserSettingClient) UpdateVirtualEndpointUserSetting

UpdateVirtualEndpointUserSetting - Update cloudPcUserSetting. Update the properties of a cloudPcUserSetting object.

Jump to

Keyboard shortcuts

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