devicecompliancepolicy

package
v0.20241126.1110949 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: 10 Imported by: 1

README

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

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

Client Initialization

client := devicecompliancepolicy.NewDeviceCompliancePolicyClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: DeviceCompliancePolicyClient.AssignDeviceCompliancePolicies

ctx := context.TODO()
id := devicecompliancepolicy.NewDeviceManagementDeviceCompliancePolicyID("deviceCompliancePolicyId")

payload := devicecompliancepolicy.AssignDeviceCompliancePoliciesRequest{
	// ...
}


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

Example Usage: DeviceCompliancePolicyClient.CreateDeviceCompliancePolicy

ctx := context.TODO()

payload := devicecompliancepolicy.DeviceCompliancePolicy{
	// ...
}


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

Example Usage: DeviceCompliancePolicyClient.CreateDeviceCompliancePolicyRefreshReportSummarization

ctx := context.TODO()


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

Example Usage: DeviceCompliancePolicyClient.CreateDeviceCompliancePolicyScheduleActionsForRule

ctx := context.TODO()
id := devicecompliancepolicy.NewDeviceManagementDeviceCompliancePolicyID("deviceCompliancePolicyId")

payload := devicecompliancepolicy.CreateDeviceCompliancePolicyScheduleActionsForRuleRequest{
	// ...
}


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

Example Usage: DeviceCompliancePolicyClient.DeleteDeviceCompliancePolicy

ctx := context.TODO()
id := devicecompliancepolicy.NewDeviceManagementDeviceCompliancePolicyID("deviceCompliancePolicyId")

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

Example Usage: DeviceCompliancePolicyClient.GetDeviceCompliancePoliciesCount

ctx := context.TODO()


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

Example Usage: DeviceCompliancePolicyClient.GetDeviceCompliancePoliciesNoncompliantDevicesToRetire

ctx := context.TODO()

payload := devicecompliancepolicy.GetDeviceCompliancePoliciesNoncompliantDevicesToRetireRequest{
	// ...
}


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

Example Usage: DeviceCompliancePolicyClient.GetDeviceCompliancePolicy

ctx := context.TODO()
id := devicecompliancepolicy.NewDeviceManagementDeviceCompliancePolicyID("deviceCompliancePolicyId")

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

Example Usage: DeviceCompliancePolicyClient.ListDeviceCompliancePolicies

ctx := context.TODO()


// alternatively `client.ListDeviceCompliancePolicies(ctx, devicecompliancepolicy.DefaultListDeviceCompliancePoliciesOperationOptions())` can be used to do batched pagination
items, err := client.ListDeviceCompliancePoliciesComplete(ctx, devicecompliancepolicy.DefaultListDeviceCompliancePoliciesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}
ctx := context.TODO()

payload := devicecompliancepolicy.ListDeviceCompliancePolicyHasPayloadLinksRequest{
	// ...
}


// alternatively `client.ListDeviceCompliancePolicyHasPayloadLinks(ctx, payload, devicecompliancepolicy.DefaultListDeviceCompliancePolicyHasPayloadLinksOperationOptions())` can be used to do batched pagination
items, err := client.ListDeviceCompliancePolicyHasPayloadLinksComplete(ctx, payload, devicecompliancepolicy.DefaultListDeviceCompliancePolicyHasPayloadLinksOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DeviceCompliancePolicyClient.SetDeviceCompliancePoliciesScheduledRetireState

ctx := context.TODO()

payload := devicecompliancepolicy.SetDeviceCompliancePoliciesScheduledRetireStateRequest{
	// ...
}


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

Example Usage: DeviceCompliancePolicyClient.UpdateDeviceCompliancePolicy

ctx := context.TODO()
id := devicecompliancepolicy.NewDeviceManagementDeviceCompliancePolicyID("deviceCompliancePolicyId")

payload := devicecompliancepolicy.DeviceCompliancePolicy{
	// ...
}


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

Example Usage: DeviceCompliancePolicyClient.ValidateDeviceCompliancePoliciesComplianceScript

ctx := context.TODO()

payload := devicecompliancepolicy.ValidateDeviceCompliancePoliciesComplianceScriptRequest{
	// ...
}


read, err := client.ValidateDeviceCompliancePoliciesComplianceScript(ctx, payload, devicecompliancepolicy.DefaultValidateDeviceCompliancePoliciesComplianceScriptOperationOptions())
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 AssignDeviceCompliancePoliciesCompleteResult

type AssignDeviceCompliancePoliciesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.DeviceCompliancePolicyAssignment
}

type AssignDeviceCompliancePoliciesCustomPager

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

type AssignDeviceCompliancePoliciesOperationOptions

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

func DefaultAssignDeviceCompliancePoliciesOperationOptions

func DefaultAssignDeviceCompliancePoliciesOperationOptions() AssignDeviceCompliancePoliciesOperationOptions

func (AssignDeviceCompliancePoliciesOperationOptions) ToHeaders

func (AssignDeviceCompliancePoliciesOperationOptions) ToOData

func (AssignDeviceCompliancePoliciesOperationOptions) ToQuery

type AssignDeviceCompliancePoliciesOperationResponse

type AssignDeviceCompliancePoliciesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.DeviceCompliancePolicyAssignment
}

type AssignDeviceCompliancePoliciesRequest

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

type CreateDeviceCompliancePolicyOperationOptions

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

func DefaultCreateDeviceCompliancePolicyOperationOptions

func DefaultCreateDeviceCompliancePolicyOperationOptions() CreateDeviceCompliancePolicyOperationOptions

func (CreateDeviceCompliancePolicyOperationOptions) ToHeaders

func (CreateDeviceCompliancePolicyOperationOptions) ToOData

func (CreateDeviceCompliancePolicyOperationOptions) ToQuery

type CreateDeviceCompliancePolicyOperationResponse

type CreateDeviceCompliancePolicyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.DeviceCompliancePolicy
}

type CreateDeviceCompliancePolicyRefreshReportSummarizationOperationOptions

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

func (CreateDeviceCompliancePolicyRefreshReportSummarizationOperationOptions) ToHeaders

func (CreateDeviceCompliancePolicyRefreshReportSummarizationOperationOptions) ToOData

func (CreateDeviceCompliancePolicyRefreshReportSummarizationOperationOptions) ToQuery

type CreateDeviceCompliancePolicyRefreshReportSummarizationOperationResponse

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

type CreateDeviceCompliancePolicyScheduleActionsForRuleOperationOptions

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

func (CreateDeviceCompliancePolicyScheduleActionsForRuleOperationOptions) ToHeaders

func (CreateDeviceCompliancePolicyScheduleActionsForRuleOperationOptions) ToOData

func (CreateDeviceCompliancePolicyScheduleActionsForRuleOperationOptions) ToQuery

type CreateDeviceCompliancePolicyScheduleActionsForRuleOperationResponse

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

type CreateDeviceCompliancePolicyScheduleActionsForRuleRequest

type CreateDeviceCompliancePolicyScheduleActionsForRuleRequest struct {
	DeviceComplianceScheduledActionForRules *[]beta.DeviceComplianceScheduledActionForRule `json:"deviceComplianceScheduledActionForRules,omitempty"`
}

type DeleteDeviceCompliancePolicyOperationOptions

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

func DefaultDeleteDeviceCompliancePolicyOperationOptions

func DefaultDeleteDeviceCompliancePolicyOperationOptions() DeleteDeviceCompliancePolicyOperationOptions

func (DeleteDeviceCompliancePolicyOperationOptions) ToHeaders

func (DeleteDeviceCompliancePolicyOperationOptions) ToOData

func (DeleteDeviceCompliancePolicyOperationOptions) ToQuery

type DeleteDeviceCompliancePolicyOperationResponse

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

type DeviceCompliancePolicyAssignmentOperationPredicate

type DeviceCompliancePolicyAssignmentOperationPredicate struct {
}

func (DeviceCompliancePolicyAssignmentOperationPredicate) Matches

type DeviceCompliancePolicyClient

type DeviceCompliancePolicyClient struct {
	Client *msgraph.Client
}

func NewDeviceCompliancePolicyClientWithBaseURI

func NewDeviceCompliancePolicyClientWithBaseURI(sdkApi sdkEnv.Api) (*DeviceCompliancePolicyClient, error)

func (DeviceCompliancePolicyClient) AssignDeviceCompliancePolicies

AssignDeviceCompliancePolicies - Invoke action assign

func (DeviceCompliancePolicyClient) AssignDeviceCompliancePoliciesComplete

AssignDeviceCompliancePoliciesComplete retrieves all the results into a single object

func (DeviceCompliancePolicyClient) AssignDeviceCompliancePoliciesCompleteMatchingPredicate

AssignDeviceCompliancePoliciesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeviceCompliancePolicyClient) CreateDeviceCompliancePolicy

CreateDeviceCompliancePolicy - Create new navigation property to deviceCompliancePolicies for deviceManagement

func (DeviceCompliancePolicyClient) CreateDeviceCompliancePolicyRefreshReportSummarization

CreateDeviceCompliancePolicyRefreshReportSummarization - Invoke action refreshDeviceComplianceReportSummarization

func (DeviceCompliancePolicyClient) CreateDeviceCompliancePolicyScheduleActionsForRule

CreateDeviceCompliancePolicyScheduleActionsForRule - Invoke action scheduleActionsForRules

func (DeviceCompliancePolicyClient) DeleteDeviceCompliancePolicy

DeleteDeviceCompliancePolicy - Delete navigation property deviceCompliancePolicies for deviceManagement

func (DeviceCompliancePolicyClient) GetDeviceCompliancePoliciesCount

GetDeviceCompliancePoliciesCount - Get the number of the resource

func (DeviceCompliancePolicyClient) GetDeviceCompliancePoliciesNoncompliantDevicesToRetire

GetDeviceCompliancePoliciesNoncompliantDevicesToRetire - Invoke action getNoncompliantDevicesToRetire

func (DeviceCompliancePolicyClient) GetDeviceCompliancePolicy

GetDeviceCompliancePolicy - Get deviceCompliancePolicies from deviceManagement. The device compliance policies.

func (DeviceCompliancePolicyClient) ListDeviceCompliancePolicies

ListDeviceCompliancePolicies - Get deviceCompliancePolicies from deviceManagement. The device compliance policies.

func (DeviceCompliancePolicyClient) ListDeviceCompliancePoliciesComplete

ListDeviceCompliancePoliciesComplete retrieves all the results into a single object

func (DeviceCompliancePolicyClient) ListDeviceCompliancePoliciesCompleteMatchingPredicate

ListDeviceCompliancePoliciesCompleteMatchingPredicate retrieves all the results and then applies the predicate

ListDeviceCompliancePolicyHasPayloadLinks - Invoke action hasPayloadLinks

func (DeviceCompliancePolicyClient) ListDeviceCompliancePolicyHasPayloadLinksComplete

ListDeviceCompliancePolicyHasPayloadLinksComplete retrieves all the results into a single object

func (DeviceCompliancePolicyClient) ListDeviceCompliancePolicyHasPayloadLinksCompleteMatchingPredicate

ListDeviceCompliancePolicyHasPayloadLinksCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DeviceCompliancePolicyClient) SetDeviceCompliancePoliciesScheduledRetireState

SetDeviceCompliancePoliciesScheduledRetireState - Invoke action setScheduledRetireState

func (DeviceCompliancePolicyClient) UpdateDeviceCompliancePolicy

UpdateDeviceCompliancePolicy - Update the navigation property deviceCompliancePolicies in deviceManagement

func (DeviceCompliancePolicyClient) ValidateDeviceCompliancePoliciesComplianceScript

ValidateDeviceCompliancePoliciesComplianceScript - Invoke action validateComplianceScript

type DeviceCompliancePolicyOperationPredicate

type DeviceCompliancePolicyOperationPredicate struct {
}

func (DeviceCompliancePolicyOperationPredicate) Matches

type GetDeviceCompliancePoliciesCountOperationOptions

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

func DefaultGetDeviceCompliancePoliciesCountOperationOptions

func DefaultGetDeviceCompliancePoliciesCountOperationOptions() GetDeviceCompliancePoliciesCountOperationOptions

func (GetDeviceCompliancePoliciesCountOperationOptions) ToHeaders

func (GetDeviceCompliancePoliciesCountOperationOptions) ToOData

func (GetDeviceCompliancePoliciesCountOperationOptions) ToQuery

type GetDeviceCompliancePoliciesCountOperationResponse

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

type GetDeviceCompliancePoliciesNoncompliantDevicesToRetireOperationOptions

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

func (GetDeviceCompliancePoliciesNoncompliantDevicesToRetireOperationOptions) ToHeaders

func (GetDeviceCompliancePoliciesNoncompliantDevicesToRetireOperationOptions) ToOData

func (GetDeviceCompliancePoliciesNoncompliantDevicesToRetireOperationOptions) ToQuery

type GetDeviceCompliancePoliciesNoncompliantDevicesToRetireOperationResponse

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

type GetDeviceCompliancePoliciesNoncompliantDevicesToRetireRequest

type GetDeviceCompliancePoliciesNoncompliantDevicesToRetireRequest struct {
	Filter    nullable.Type[string] `json:"filter,omitempty"`
	GroupBy   *[]string             `json:"groupBy,omitempty"`
	Name      nullable.Type[string] `json:"name,omitempty"`
	OrderBy   *[]string             `json:"orderBy,omitempty"`
	Search    nullable.Type[string] `json:"search,omitempty"`
	Select    *[]string             `json:"select,omitempty"`
	SessionId nullable.Type[string] `json:"sessionId,omitempty"`
	Skip      nullable.Type[int64]  `json:"skip,omitempty"`
	Top       nullable.Type[int64]  `json:"top,omitempty"`
}

type GetDeviceCompliancePolicyOperationOptions

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

func DefaultGetDeviceCompliancePolicyOperationOptions

func DefaultGetDeviceCompliancePolicyOperationOptions() GetDeviceCompliancePolicyOperationOptions

func (GetDeviceCompliancePolicyOperationOptions) ToHeaders

func (GetDeviceCompliancePolicyOperationOptions) ToOData

func (GetDeviceCompliancePolicyOperationOptions) ToQuery

type GetDeviceCompliancePolicyOperationResponse

type GetDeviceCompliancePolicyOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        beta.DeviceCompliancePolicy
}

type HasPayloadLinkResultItemOperationPredicate

type HasPayloadLinkResultItemOperationPredicate struct {
}

func (HasPayloadLinkResultItemOperationPredicate) Matches

type ListDeviceCompliancePoliciesCompleteResult

type ListDeviceCompliancePoliciesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.DeviceCompliancePolicy
}

type ListDeviceCompliancePoliciesCustomPager

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

type ListDeviceCompliancePoliciesOperationOptions

type ListDeviceCompliancePoliciesOperationOptions 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 DefaultListDeviceCompliancePoliciesOperationOptions

func DefaultListDeviceCompliancePoliciesOperationOptions() ListDeviceCompliancePoliciesOperationOptions

func (ListDeviceCompliancePoliciesOperationOptions) ToHeaders

func (ListDeviceCompliancePoliciesOperationOptions) ToOData

func (ListDeviceCompliancePoliciesOperationOptions) ToQuery

type ListDeviceCompliancePoliciesOperationResponse

type ListDeviceCompliancePoliciesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.DeviceCompliancePolicy
}

type ListDeviceCompliancePolicyHasPayloadLinksCompleteResult

type ListDeviceCompliancePolicyHasPayloadLinksCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.HasPayloadLinkResultItem
}

type ListDeviceCompliancePolicyHasPayloadLinksCustomPager

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

type ListDeviceCompliancePolicyHasPayloadLinksOperationOptions

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

func (ListDeviceCompliancePolicyHasPayloadLinksOperationOptions) ToHeaders

func (ListDeviceCompliancePolicyHasPayloadLinksOperationOptions) ToOData

func (ListDeviceCompliancePolicyHasPayloadLinksOperationOptions) ToQuery

type ListDeviceCompliancePolicyHasPayloadLinksOperationResponse

type ListDeviceCompliancePolicyHasPayloadLinksOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.HasPayloadLinkResultItem
}

type ListDeviceCompliancePolicyHasPayloadLinksRequest

type ListDeviceCompliancePolicyHasPayloadLinksRequest struct {
	PayloadIds *[]string `json:"payloadIds,omitempty"`
}

type SetDeviceCompliancePoliciesScheduledRetireStateOperationOptions

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

func (SetDeviceCompliancePoliciesScheduledRetireStateOperationOptions) ToHeaders

func (SetDeviceCompliancePoliciesScheduledRetireStateOperationOptions) ToOData

func (SetDeviceCompliancePoliciesScheduledRetireStateOperationOptions) ToQuery

type SetDeviceCompliancePoliciesScheduledRetireStateOperationResponse

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

type SetDeviceCompliancePoliciesScheduledRetireStateRequest

type SetDeviceCompliancePoliciesScheduledRetireStateRequest struct {
	ManagedDeviceIds   *[]string           `json:"managedDeviceIds,omitempty"`
	ScopedToAllDevices nullable.Type[bool] `json:"scopedToAllDevices,omitempty"`

	// Cancel or confirm scheduled retire
	State *beta.ScheduledRetireState `json:"state,omitempty"`
}

type UpdateDeviceCompliancePolicyOperationOptions

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

func DefaultUpdateDeviceCompliancePolicyOperationOptions

func DefaultUpdateDeviceCompliancePolicyOperationOptions() UpdateDeviceCompliancePolicyOperationOptions

func (UpdateDeviceCompliancePolicyOperationOptions) ToHeaders

func (UpdateDeviceCompliancePolicyOperationOptions) ToOData

func (UpdateDeviceCompliancePolicyOperationOptions) ToQuery

type UpdateDeviceCompliancePolicyOperationResponse

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

type ValidateDeviceCompliancePoliciesComplianceScriptOperationOptions

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

func (ValidateDeviceCompliancePoliciesComplianceScriptOperationOptions) ToHeaders

func (ValidateDeviceCompliancePoliciesComplianceScriptOperationOptions) ToOData

func (ValidateDeviceCompliancePoliciesComplianceScriptOperationOptions) ToQuery

type ValidateDeviceCompliancePoliciesComplianceScriptOperationResponse

type ValidateDeviceCompliancePoliciesComplianceScriptOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.DeviceComplianceScriptValidationResult
}

type ValidateDeviceCompliancePoliciesComplianceScriptRequest

type ValidateDeviceCompliancePoliciesComplianceScriptRequest struct {
	DeviceCompliancePolicyScript *beta.DeviceCompliancePolicyScript `json:"deviceCompliancePolicyScript,omitempty"`
}

Jump to

Keyboard shortcuts

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