zebrafotaconnector

package
v0.20241128.1112539 Latest Latest
Warning

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

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

README

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

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

Client Initialization

client := zebrafotaconnector.NewZebraFotaConnectorClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ZebraFotaConnectorClient.CreateZebraFotaConnectorApproveFotaApp

ctx := context.TODO()


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

Example Usage: ZebraFotaConnectorClient.CreateZebraFotaConnectorConnect

ctx := context.TODO()


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

Example Usage: ZebraFotaConnectorClient.CreateZebraFotaConnectorDisconnect

ctx := context.TODO()


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

Example Usage: ZebraFotaConnectorClient.CreateZebraFotaConnectorHasActiveDeployment

ctx := context.TODO()


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

Example Usage: ZebraFotaConnectorClient.DeleteZebraFotaConnector

ctx := context.TODO()


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

Example Usage: ZebraFotaConnectorClient.GetZebraFotaConnector

ctx := context.TODO()


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

Example Usage: ZebraFotaConnectorClient.UpdateZebraFotaConnector

ctx := context.TODO()

payload := zebrafotaconnector.ZebraFotaConnector{
	// ...
}


read, err := client.UpdateZebraFotaConnector(ctx, payload, zebrafotaconnector.DefaultUpdateZebraFotaConnectorOperationOptions())
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 CreateZebraFotaConnectorApproveFotaAppOperationOptions

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

func DefaultCreateZebraFotaConnectorApproveFotaAppOperationOptions

func DefaultCreateZebraFotaConnectorApproveFotaAppOperationOptions() CreateZebraFotaConnectorApproveFotaAppOperationOptions

func (CreateZebraFotaConnectorApproveFotaAppOperationOptions) ToHeaders

func (CreateZebraFotaConnectorApproveFotaAppOperationOptions) ToOData

func (CreateZebraFotaConnectorApproveFotaAppOperationOptions) ToQuery

type CreateZebraFotaConnectorApproveFotaAppOperationResponse

type CreateZebraFotaConnectorApproveFotaAppOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateZebraFotaConnectorApproveFotaAppResult
}

type CreateZebraFotaConnectorApproveFotaAppResult

type CreateZebraFotaConnectorApproveFotaAppResult struct {
	Value *bool `json:"value,omitempty"`
}

type CreateZebraFotaConnectorConnectOperationOptions

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

func DefaultCreateZebraFotaConnectorConnectOperationOptions

func DefaultCreateZebraFotaConnectorConnectOperationOptions() CreateZebraFotaConnectorConnectOperationOptions

func (CreateZebraFotaConnectorConnectOperationOptions) ToHeaders

func (CreateZebraFotaConnectorConnectOperationOptions) ToOData

func (CreateZebraFotaConnectorConnectOperationOptions) ToQuery

type CreateZebraFotaConnectorConnectOperationResponse

type CreateZebraFotaConnectorConnectOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateZebraFotaConnectorConnectResult
}

type CreateZebraFotaConnectorConnectResult

type CreateZebraFotaConnectorConnectResult struct {
	Value *bool `json:"value,omitempty"`
}

type CreateZebraFotaConnectorDisconnectOperationOptions

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

func DefaultCreateZebraFotaConnectorDisconnectOperationOptions

func DefaultCreateZebraFotaConnectorDisconnectOperationOptions() CreateZebraFotaConnectorDisconnectOperationOptions

func (CreateZebraFotaConnectorDisconnectOperationOptions) ToHeaders

func (CreateZebraFotaConnectorDisconnectOperationOptions) ToOData

func (CreateZebraFotaConnectorDisconnectOperationOptions) ToQuery

type CreateZebraFotaConnectorDisconnectOperationResponse

type CreateZebraFotaConnectorDisconnectOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateZebraFotaConnectorDisconnectResult
}

type CreateZebraFotaConnectorDisconnectResult

type CreateZebraFotaConnectorDisconnectResult struct {
	Value *bool `json:"value,omitempty"`
}

type CreateZebraFotaConnectorHasActiveDeploymentOperationOptions

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

func (CreateZebraFotaConnectorHasActiveDeploymentOperationOptions) ToHeaders

func (CreateZebraFotaConnectorHasActiveDeploymentOperationOptions) ToOData

func (CreateZebraFotaConnectorHasActiveDeploymentOperationOptions) ToQuery

type CreateZebraFotaConnectorHasActiveDeploymentOperationResponse

type CreateZebraFotaConnectorHasActiveDeploymentOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateZebraFotaConnectorHasActiveDeploymentResult
}

type CreateZebraFotaConnectorHasActiveDeploymentResult

type CreateZebraFotaConnectorHasActiveDeploymentResult struct {
	Value *bool `json:"value,omitempty"`
}

type DeleteZebraFotaConnectorOperationOptions

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

func DefaultDeleteZebraFotaConnectorOperationOptions

func DefaultDeleteZebraFotaConnectorOperationOptions() DeleteZebraFotaConnectorOperationOptions

func (DeleteZebraFotaConnectorOperationOptions) ToHeaders

func (DeleteZebraFotaConnectorOperationOptions) ToOData

func (DeleteZebraFotaConnectorOperationOptions) ToQuery

type DeleteZebraFotaConnectorOperationResponse

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

type GetZebraFotaConnectorOperationOptions

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

func DefaultGetZebraFotaConnectorOperationOptions

func DefaultGetZebraFotaConnectorOperationOptions() GetZebraFotaConnectorOperationOptions

func (GetZebraFotaConnectorOperationOptions) ToHeaders

func (GetZebraFotaConnectorOperationOptions) ToOData

func (GetZebraFotaConnectorOperationOptions) ToQuery

type GetZebraFotaConnectorOperationResponse

type GetZebraFotaConnectorOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.ZebraFotaConnector
}

type UpdateZebraFotaConnectorOperationOptions

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

func DefaultUpdateZebraFotaConnectorOperationOptions

func DefaultUpdateZebraFotaConnectorOperationOptions() UpdateZebraFotaConnectorOperationOptions

func (UpdateZebraFotaConnectorOperationOptions) ToHeaders

func (UpdateZebraFotaConnectorOperationOptions) ToOData

func (UpdateZebraFotaConnectorOperationOptions) ToQuery

type UpdateZebraFotaConnectorOperationResponse

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

type ZebraFotaConnectorClient

type ZebraFotaConnectorClient struct {
	Client *msgraph.Client
}

func NewZebraFotaConnectorClientWithBaseURI

func NewZebraFotaConnectorClientWithBaseURI(sdkApi sdkEnv.Api) (*ZebraFotaConnectorClient, error)

func (ZebraFotaConnectorClient) CreateZebraFotaConnectorApproveFotaApp

CreateZebraFotaConnectorApproveFotaApp - Invoke action approveFotaApps

func (ZebraFotaConnectorClient) CreateZebraFotaConnectorConnect

CreateZebraFotaConnectorConnect - Invoke action connect

func (ZebraFotaConnectorClient) CreateZebraFotaConnectorDisconnect

CreateZebraFotaConnectorDisconnect - Invoke action disconnect

func (ZebraFotaConnectorClient) CreateZebraFotaConnectorHasActiveDeployment

CreateZebraFotaConnectorHasActiveDeployment - Invoke action hasActiveDeployments

func (ZebraFotaConnectorClient) DeleteZebraFotaConnector

DeleteZebraFotaConnector - Delete navigation property zebraFotaConnector for deviceManagement

func (ZebraFotaConnectorClient) GetZebraFotaConnector

GetZebraFotaConnector - Get zebraFotaConnector from deviceManagement. The singleton ZebraFotaConnector associated with account.

func (ZebraFotaConnectorClient) UpdateZebraFotaConnector

UpdateZebraFotaConnector - Update the navigation property zebraFotaConnector in deviceManagement

Jump to

Keyboard shortcuts

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