certificateconnectordetail

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: 8 Imported by: 1

README

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

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

Client Initialization

client := certificateconnectordetail.NewCertificateConnectorDetailClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: CertificateConnectorDetailClient.CreateCertificateConnectorDetail

ctx := context.TODO()

payload := certificateconnectordetail.CertificateConnectorDetails{
	// ...
}


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

Example Usage: CertificateConnectorDetailClient.DeleteCertificateConnectorDetail

ctx := context.TODO()
id := certificateconnectordetail.NewDeviceManagementCertificateConnectorDetailID("certificateConnectorDetailsId")

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

Example Usage: CertificateConnectorDetailClient.GetCertificateConnectorDetail

ctx := context.TODO()
id := certificateconnectordetail.NewDeviceManagementCertificateConnectorDetailID("certificateConnectorDetailsId")

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

Example Usage: CertificateConnectorDetailClient.GetCertificateConnectorDetailHealthMetricTimeSeries

ctx := context.TODO()
id := certificateconnectordetail.NewDeviceManagementCertificateConnectorDetailID("certificateConnectorDetailsId")

payload := certificateconnectordetail.GetCertificateConnectorDetailHealthMetricTimeSeriesRequest{
	// ...
}


// alternatively `client.GetCertificateConnectorDetailHealthMetricTimeSeries(ctx, id, payload, certificateconnectordetail.DefaultGetCertificateConnectorDetailHealthMetricTimeSeriesOperationOptions())` can be used to do batched pagination
items, err := client.GetCertificateConnectorDetailHealthMetricTimeSeriesComplete(ctx, id, payload, certificateconnectordetail.DefaultGetCertificateConnectorDetailHealthMetricTimeSeriesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: CertificateConnectorDetailClient.GetCertificateConnectorDetailHealthMetrics

ctx := context.TODO()
id := certificateconnectordetail.NewDeviceManagementCertificateConnectorDetailID("certificateConnectorDetailsId")

payload := certificateconnectordetail.GetCertificateConnectorDetailHealthMetricsRequest{
	// ...
}


// alternatively `client.GetCertificateConnectorDetailHealthMetrics(ctx, id, payload, certificateconnectordetail.DefaultGetCertificateConnectorDetailHealthMetricsOperationOptions())` can be used to do batched pagination
items, err := client.GetCertificateConnectorDetailHealthMetricsComplete(ctx, id, payload, certificateconnectordetail.DefaultGetCertificateConnectorDetailHealthMetricsOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: CertificateConnectorDetailClient.GetCertificateConnectorDetailsCount

ctx := context.TODO()


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

Example Usage: CertificateConnectorDetailClient.ListCertificateConnectorDetails

ctx := context.TODO()


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

Example Usage: CertificateConnectorDetailClient.UpdateCertificateConnectorDetail

ctx := context.TODO()
id := certificateconnectordetail.NewDeviceManagementCertificateConnectorDetailID("certificateConnectorDetailsId")

payload := certificateconnectordetail.CertificateConnectorDetails{
	// ...
}


read, err := client.UpdateCertificateConnectorDetail(ctx, id, payload, certificateconnectordetail.DefaultUpdateCertificateConnectorDetailOperationOptions())
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 CertificateConnectorDetailClient

type CertificateConnectorDetailClient struct {
	Client *msgraph.Client
}

func NewCertificateConnectorDetailClientWithBaseURI

func NewCertificateConnectorDetailClientWithBaseURI(sdkApi sdkEnv.Api) (*CertificateConnectorDetailClient, error)

func (CertificateConnectorDetailClient) CreateCertificateConnectorDetail

CreateCertificateConnectorDetail - Create new navigation property to certificateConnectorDetails for deviceManagement

func (CertificateConnectorDetailClient) DeleteCertificateConnectorDetail

DeleteCertificateConnectorDetail - Delete navigation property certificateConnectorDetails for deviceManagement

func (CertificateConnectorDetailClient) GetCertificateConnectorDetail

GetCertificateConnectorDetail - Get certificateConnectorDetails from deviceManagement. Collection of certificate connector details, each associated with a corresponding Intune Certificate Connector.

func (CertificateConnectorDetailClient) GetCertificateConnectorDetailHealthMetricTimeSeries

GetCertificateConnectorDetailHealthMetricTimeSeries - Invoke action getHealthMetricTimeSeries

func (CertificateConnectorDetailClient) GetCertificateConnectorDetailHealthMetricTimeSeriesComplete

GetCertificateConnectorDetailHealthMetricTimeSeriesComplete retrieves all the results into a single object

func (CertificateConnectorDetailClient) GetCertificateConnectorDetailHealthMetricTimeSeriesCompleteMatchingPredicate

GetCertificateConnectorDetailHealthMetricTimeSeriesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CertificateConnectorDetailClient) GetCertificateConnectorDetailHealthMetrics

GetCertificateConnectorDetailHealthMetrics - Invoke action getHealthMetrics

func (CertificateConnectorDetailClient) GetCertificateConnectorDetailHealthMetricsComplete

GetCertificateConnectorDetailHealthMetricsComplete retrieves all the results into a single object

func (CertificateConnectorDetailClient) GetCertificateConnectorDetailHealthMetricsCompleteMatchingPredicate

GetCertificateConnectorDetailHealthMetricsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CertificateConnectorDetailClient) GetCertificateConnectorDetailsCount

GetCertificateConnectorDetailsCount - Get the number of the resource

func (CertificateConnectorDetailClient) ListCertificateConnectorDetails

ListCertificateConnectorDetails - Get certificateConnectorDetails from deviceManagement. Collection of certificate connector details, each associated with a corresponding Intune Certificate Connector.

func (CertificateConnectorDetailClient) ListCertificateConnectorDetailsComplete

ListCertificateConnectorDetailsComplete retrieves all the results into a single object

func (CertificateConnectorDetailClient) ListCertificateConnectorDetailsCompleteMatchingPredicate

ListCertificateConnectorDetailsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (CertificateConnectorDetailClient) UpdateCertificateConnectorDetail

UpdateCertificateConnectorDetail - Update the navigation property certificateConnectorDetails in deviceManagement

type CertificateConnectorDetailsOperationPredicate

type CertificateConnectorDetailsOperationPredicate struct {
}

func (CertificateConnectorDetailsOperationPredicate) Matches

type CertificateConnectorHealthMetricValueOperationPredicate

type CertificateConnectorHealthMetricValueOperationPredicate struct {
}

func (CertificateConnectorHealthMetricValueOperationPredicate) Matches

type CreateCertificateConnectorDetailOperationOptions

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

func DefaultCreateCertificateConnectorDetailOperationOptions

func DefaultCreateCertificateConnectorDetailOperationOptions() CreateCertificateConnectorDetailOperationOptions

func (CreateCertificateConnectorDetailOperationOptions) ToHeaders

func (CreateCertificateConnectorDetailOperationOptions) ToOData

func (CreateCertificateConnectorDetailOperationOptions) ToQuery

type CreateCertificateConnectorDetailOperationResponse

type CreateCertificateConnectorDetailOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CertificateConnectorDetails
}

type DeleteCertificateConnectorDetailOperationOptions

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

func DefaultDeleteCertificateConnectorDetailOperationOptions

func DefaultDeleteCertificateConnectorDetailOperationOptions() DeleteCertificateConnectorDetailOperationOptions

func (DeleteCertificateConnectorDetailOperationOptions) ToHeaders

func (DeleteCertificateConnectorDetailOperationOptions) ToOData

func (DeleteCertificateConnectorDetailOperationOptions) ToQuery

type DeleteCertificateConnectorDetailOperationResponse

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

type GetCertificateConnectorDetailHealthMetricTimeSeriesCompleteResult

type GetCertificateConnectorDetailHealthMetricTimeSeriesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.CertificateConnectorHealthMetricValue
}

type GetCertificateConnectorDetailHealthMetricTimeSeriesCustomPager

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

type GetCertificateConnectorDetailHealthMetricTimeSeriesOperationOptions

type GetCertificateConnectorDetailHealthMetricTimeSeriesOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func (GetCertificateConnectorDetailHealthMetricTimeSeriesOperationOptions) ToHeaders

func (GetCertificateConnectorDetailHealthMetricTimeSeriesOperationOptions) ToOData

func (GetCertificateConnectorDetailHealthMetricTimeSeriesOperationOptions) ToQuery

type GetCertificateConnectorDetailHealthMetricTimeSeriesOperationResponse

type GetCertificateConnectorDetailHealthMetricTimeSeriesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.CertificateConnectorHealthMetricValue
}

type GetCertificateConnectorDetailHealthMetricTimeSeriesRequest

type GetCertificateConnectorDetailHealthMetricTimeSeriesRequest struct {
	TimeSeries *beta.TimeSeriesParameter `json:"timeSeries,omitempty"`
}

type GetCertificateConnectorDetailHealthMetricsCompleteResult

type GetCertificateConnectorDetailHealthMetricsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.KeyLongValuePair
}

type GetCertificateConnectorDetailHealthMetricsCustomPager

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

type GetCertificateConnectorDetailHealthMetricsOperationOptions

type GetCertificateConnectorDetailHealthMetricsOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func (GetCertificateConnectorDetailHealthMetricsOperationOptions) ToHeaders

func (GetCertificateConnectorDetailHealthMetricsOperationOptions) ToOData

func (GetCertificateConnectorDetailHealthMetricsOperationOptions) ToQuery

type GetCertificateConnectorDetailHealthMetricsOperationResponse

type GetCertificateConnectorDetailHealthMetricsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.KeyLongValuePair
}

type GetCertificateConnectorDetailHealthMetricsRequest

type GetCertificateConnectorDetailHealthMetricsRequest struct {
	MetricNames *[]string `json:"metricNames,omitempty"`
}

type GetCertificateConnectorDetailOperationOptions

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

func DefaultGetCertificateConnectorDetailOperationOptions

func DefaultGetCertificateConnectorDetailOperationOptions() GetCertificateConnectorDetailOperationOptions

func (GetCertificateConnectorDetailOperationOptions) ToHeaders

func (GetCertificateConnectorDetailOperationOptions) ToOData

func (GetCertificateConnectorDetailOperationOptions) ToQuery

type GetCertificateConnectorDetailOperationResponse

type GetCertificateConnectorDetailOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.CertificateConnectorDetails
}

type GetCertificateConnectorDetailsCountOperationOptions

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

func DefaultGetCertificateConnectorDetailsCountOperationOptions

func DefaultGetCertificateConnectorDetailsCountOperationOptions() GetCertificateConnectorDetailsCountOperationOptions

func (GetCertificateConnectorDetailsCountOperationOptions) ToHeaders

func (GetCertificateConnectorDetailsCountOperationOptions) ToOData

func (GetCertificateConnectorDetailsCountOperationOptions) ToQuery

type GetCertificateConnectorDetailsCountOperationResponse

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

type KeyLongValuePairOperationPredicate

type KeyLongValuePairOperationPredicate struct {
}

func (KeyLongValuePairOperationPredicate) Matches

type ListCertificateConnectorDetailsCompleteResult

type ListCertificateConnectorDetailsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.CertificateConnectorDetails
}

type ListCertificateConnectorDetailsCustomPager

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

type ListCertificateConnectorDetailsOperationOptions

type ListCertificateConnectorDetailsOperationOptions 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 DefaultListCertificateConnectorDetailsOperationOptions

func DefaultListCertificateConnectorDetailsOperationOptions() ListCertificateConnectorDetailsOperationOptions

func (ListCertificateConnectorDetailsOperationOptions) ToHeaders

func (ListCertificateConnectorDetailsOperationOptions) ToOData

func (ListCertificateConnectorDetailsOperationOptions) ToQuery

type ListCertificateConnectorDetailsOperationResponse

type ListCertificateConnectorDetailsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.CertificateConnectorDetails
}

type UpdateCertificateConnectorDetailOperationOptions

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

func DefaultUpdateCertificateConnectorDetailOperationOptions

func DefaultUpdateCertificateConnectorDetailOperationOptions() UpdateCertificateConnectorDetailOperationOptions

func (UpdateCertificateConnectorDetailOperationOptions) ToHeaders

func (UpdateCertificateConnectorDetailOperationOptions) ToOData

func (UpdateCertificateConnectorDetailOperationOptions) ToQuery

type UpdateCertificateConnectorDetailOperationResponse

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