applepushnotificationcertificate

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: 9 Imported by: 0

README

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

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

Client Initialization

client := applepushnotificationcertificate.NewApplePushNotificationCertificateClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: ApplePushNotificationCertificateClient.CreateApplePushNotificationCertificateGenerateSigningRequest

ctx := context.TODO()


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

Example Usage: ApplePushNotificationCertificateClient.DeleteApplePushNotificationCertificate

ctx := context.TODO()


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

Example Usage: ApplePushNotificationCertificateClient.GetApplePushNotificationCertificate

ctx := context.TODO()


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

Example Usage: ApplePushNotificationCertificateClient.UpdateApplePushNotificationCertificate

ctx := context.TODO()

payload := applepushnotificationcertificate.ApplePushNotificationCertificate{
	// ...
}


read, err := client.UpdateApplePushNotificationCertificate(ctx, payload, applepushnotificationcertificate.DefaultUpdateApplePushNotificationCertificateOperationOptions())
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 ApplePushNotificationCertificateClient

type ApplePushNotificationCertificateClient struct {
	Client *msgraph.Client
}

func NewApplePushNotificationCertificateClientWithBaseURI

func NewApplePushNotificationCertificateClientWithBaseURI(sdkApi sdkEnv.Api) (*ApplePushNotificationCertificateClient, error)

func (ApplePushNotificationCertificateClient) CreateApplePushNotificationCertificateGenerateSigningRequest

CreateApplePushNotificationCertificateGenerateSigningRequest - Invoke action generateApplePushNotificationCertificateSigningRequest. Download Apple push notification certificate signing request

func (ApplePushNotificationCertificateClient) DeleteApplePushNotificationCertificate

DeleteApplePushNotificationCertificate - Delete navigation property applePushNotificationCertificate for deviceManagement

func (ApplePushNotificationCertificateClient) GetApplePushNotificationCertificate

GetApplePushNotificationCertificate - Get applePushNotificationCertificate from deviceManagement. Apple push notification certificate.

func (ApplePushNotificationCertificateClient) UpdateApplePushNotificationCertificate

UpdateApplePushNotificationCertificate - Update the navigation property applePushNotificationCertificate in deviceManagement

type CreateApplePushNotificationCertificateGenerateSigningRequestOperationOptions

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

func (CreateApplePushNotificationCertificateGenerateSigningRequestOperationOptions) ToHeaders

func (CreateApplePushNotificationCertificateGenerateSigningRequestOperationOptions) ToOData

func (CreateApplePushNotificationCertificateGenerateSigningRequestOperationOptions) ToQuery

type CreateApplePushNotificationCertificateGenerateSigningRequestOperationResponse

type CreateApplePushNotificationCertificateGenerateSigningRequestOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *CreateApplePushNotificationCertificateGenerateSigningRequestResult
}

type CreateApplePushNotificationCertificateGenerateSigningRequestResult

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

type DeleteApplePushNotificationCertificateOperationOptions

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

func DefaultDeleteApplePushNotificationCertificateOperationOptions

func DefaultDeleteApplePushNotificationCertificateOperationOptions() DeleteApplePushNotificationCertificateOperationOptions

func (DeleteApplePushNotificationCertificateOperationOptions) ToHeaders

func (DeleteApplePushNotificationCertificateOperationOptions) ToOData

func (DeleteApplePushNotificationCertificateOperationOptions) ToQuery

type DeleteApplePushNotificationCertificateOperationResponse

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

type GetApplePushNotificationCertificateOperationOptions

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

func DefaultGetApplePushNotificationCertificateOperationOptions

func DefaultGetApplePushNotificationCertificateOperationOptions() GetApplePushNotificationCertificateOperationOptions

func (GetApplePushNotificationCertificateOperationOptions) ToHeaders

func (GetApplePushNotificationCertificateOperationOptions) ToOData

func (GetApplePushNotificationCertificateOperationOptions) ToQuery

type GetApplePushNotificationCertificateOperationResponse

type GetApplePushNotificationCertificateOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.ApplePushNotificationCertificate
}

type UpdateApplePushNotificationCertificateOperationOptions

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

func DefaultUpdateApplePushNotificationCertificateOperationOptions

func DefaultUpdateApplePushNotificationCertificateOperationOptions() UpdateApplePushNotificationCertificateOperationOptions

func (UpdateApplePushNotificationCertificateOperationOptions) ToHeaders

func (UpdateApplePushNotificationCertificateOperationOptions) ToOData

func (UpdateApplePushNotificationCertificateOperationOptions) ToQuery

type UpdateApplePushNotificationCertificateOperationResponse

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