guestconfigurationconnectedvmwarevsphereassignmentsreports

package
v0.20240222.1164640 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MPL-2.0 Imports: 12 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/guestconfiguration/2022-01-25/guestconfigurationconnectedvmwarevsphereassignmentsreports Documentation

The guestconfigurationconnectedvmwarevsphereassignmentsreports SDK allows for interaction with the Azure Resource Manager Service guestconfiguration (API Version 2022-01-25).

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/resource-manager/guestconfiguration/2022-01-25/guestconfigurationconnectedvmwarevsphereassignmentsreports"

Client Initialization

client := guestconfigurationconnectedvmwarevsphereassignmentsreports.NewGuestConfigurationConnectedVMwarevSphereAssignmentsReportsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: GuestConfigurationConnectedVMwarevSphereAssignmentsReportsClient.Get

ctx := context.TODO()
id := guestconfigurationconnectedvmwarevsphereassignmentsreports.NewVirtualMachineProviders2GuestConfigurationAssignmentReportID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue", "guestConfigurationAssignmentValue", "reportIdValue")

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

Example Usage: GuestConfigurationConnectedVMwarevSphereAssignmentsReportsClient.List

ctx := context.TODO()
id := guestconfigurationconnectedvmwarevsphereassignmentsreports.NewProviderVirtualMachineProviders2GuestConfigurationAssignmentID("12345678-1234-9876-4563-123456789012", "example-resource-group", "virtualMachineValue", "guestConfigurationAssignmentValue")

read, err := client.List(ctx, id)
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

func PossibleValuesForComplianceStatus

func PossibleValuesForComplianceStatus() []string

func PossibleValuesForType

func PossibleValuesForType() []string

func ValidateProviderVirtualMachineProviders2GuestConfigurationAssignmentID

func ValidateProviderVirtualMachineProviders2GuestConfigurationAssignmentID(input interface{}, key string) (warnings []string, errors []error)

ValidateProviderVirtualMachineProviders2GuestConfigurationAssignmentID checks that 'input' can be parsed as a Provider Virtual Machine Providers 2 Guest Configuration Assignment ID

func ValidateVirtualMachineProviders2GuestConfigurationAssignmentReportID

func ValidateVirtualMachineProviders2GuestConfigurationAssignmentReportID(input interface{}, key string) (warnings []string, errors []error)

ValidateVirtualMachineProviders2GuestConfigurationAssignmentReportID checks that 'input' can be parsed as a Virtual Machine Providers 2 Guest Configuration Assignment Report ID

Types

type AssignmentInfo

type AssignmentInfo struct {
	Configuration *ConfigurationInfo `json:"configuration,omitempty"`
	Name          *string            `json:"name,omitempty"`
}

type AssignmentReportDetails

type AssignmentReportDetails struct {
	ComplianceStatus *ComplianceStatus           `json:"complianceStatus,omitempty"`
	EndTime          *string                     `json:"endTime,omitempty"`
	JobId            *string                     `json:"jobId,omitempty"`
	OperationType    *Type                       `json:"operationType,omitempty"`
	Resources        *[]AssignmentReportResource `json:"resources,omitempty"`
	StartTime        *string                     `json:"startTime,omitempty"`
}

func (*AssignmentReportDetails) GetEndTimeAsTime

func (o *AssignmentReportDetails) GetEndTimeAsTime() (*time.Time, error)

func (*AssignmentReportDetails) GetStartTimeAsTime

func (o *AssignmentReportDetails) GetStartTimeAsTime() (*time.Time, error)

func (*AssignmentReportDetails) SetEndTimeAsTime

func (o *AssignmentReportDetails) SetEndTimeAsTime(input time.Time)

func (*AssignmentReportDetails) SetStartTimeAsTime

func (o *AssignmentReportDetails) SetStartTimeAsTime(input time.Time)

type AssignmentReportResource

type AssignmentReportResource struct {
	ComplianceStatus *ComplianceStatus                           `json:"complianceStatus,omitempty"`
	Properties       *interface{}                                `json:"properties,omitempty"`
	Reasons          *[]AssignmentReportResourceComplianceReason `json:"reasons,omitempty"`
	ResourceId       *string                                     `json:"resourceId,omitempty"`
}

type AssignmentReportResourceComplianceReason

type AssignmentReportResourceComplianceReason struct {
	Code   *string `json:"code,omitempty"`
	Phrase *string `json:"phrase,omitempty"`
}

type ComplianceStatus

type ComplianceStatus string
const (
	ComplianceStatusCompliant    ComplianceStatus = "Compliant"
	ComplianceStatusNonCompliant ComplianceStatus = "NonCompliant"
	ComplianceStatusPending      ComplianceStatus = "Pending"
)

func (*ComplianceStatus) UnmarshalJSON

func (s *ComplianceStatus) UnmarshalJSON(bytes []byte) error

type ConfigurationInfo

type ConfigurationInfo struct {
	Name    *string `json:"name,omitempty"`
	Version *string `json:"version,omitempty"`
}

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *GuestConfigurationAssignmentReport
}

type GuestConfigurationAssignmentReport

type GuestConfigurationAssignmentReport struct {
	Id         *string                                       `json:"id,omitempty"`
	Name       *string                                       `json:"name,omitempty"`
	Properties *GuestConfigurationAssignmentReportProperties `json:"properties,omitempty"`
}

type GuestConfigurationAssignmentReportList

type GuestConfigurationAssignmentReportList struct {
	Value *[]GuestConfigurationAssignmentReport `json:"value,omitempty"`
}

type GuestConfigurationAssignmentReportProperties

type GuestConfigurationAssignmentReportProperties struct {
	Assignment       *AssignmentInfo          `json:"assignment,omitempty"`
	ComplianceStatus *ComplianceStatus        `json:"complianceStatus,omitempty"`
	Details          *AssignmentReportDetails `json:"details,omitempty"`
	EndTime          *string                  `json:"endTime,omitempty"`
	ReportId         *string                  `json:"reportId,omitempty"`
	StartTime        *string                  `json:"startTime,omitempty"`
	VM               *VMInfo                  `json:"vm,omitempty"`
	VMSSResourceId   *string                  `json:"vmssResourceId,omitempty"`
}

func (*GuestConfigurationAssignmentReportProperties) GetEndTimeAsTime

func (o *GuestConfigurationAssignmentReportProperties) GetEndTimeAsTime() (*time.Time, error)

func (*GuestConfigurationAssignmentReportProperties) GetStartTimeAsTime

func (o *GuestConfigurationAssignmentReportProperties) GetStartTimeAsTime() (*time.Time, error)

func (*GuestConfigurationAssignmentReportProperties) SetEndTimeAsTime

func (o *GuestConfigurationAssignmentReportProperties) SetEndTimeAsTime(input time.Time)

func (*GuestConfigurationAssignmentReportProperties) SetStartTimeAsTime

func (o *GuestConfigurationAssignmentReportProperties) SetStartTimeAsTime(input time.Time)

type GuestConfigurationConnectedVMwarevSphereAssignmentsReportsClient

type GuestConfigurationConnectedVMwarevSphereAssignmentsReportsClient struct {
	Client *resourcemanager.Client
}

func NewGuestConfigurationConnectedVMwarevSphereAssignmentsReportsClientWithBaseURI

func NewGuestConfigurationConnectedVMwarevSphereAssignmentsReportsClientWithBaseURI(sdkApi sdkEnv.Api) (*GuestConfigurationConnectedVMwarevSphereAssignmentsReportsClient, error)

func (GuestConfigurationConnectedVMwarevSphereAssignmentsReportsClient) Get

Get ...

func (GuestConfigurationConnectedVMwarevSphereAssignmentsReportsClient) List

List ...

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *GuestConfigurationAssignmentReportList
}

type ProviderVirtualMachineProviders2GuestConfigurationAssignmentId

type ProviderVirtualMachineProviders2GuestConfigurationAssignmentId struct {
	SubscriptionId                   string
	ResourceGroupName                string
	VirtualMachineName               string
	GuestConfigurationAssignmentName string
}

ProviderVirtualMachineProviders2GuestConfigurationAssignmentId is a struct representing the Resource ID for a Provider Virtual Machine Providers 2 Guest Configuration Assignment

func NewProviderVirtualMachineProviders2GuestConfigurationAssignmentID

func NewProviderVirtualMachineProviders2GuestConfigurationAssignmentID(subscriptionId string, resourceGroupName string, virtualMachineName string, guestConfigurationAssignmentName string) ProviderVirtualMachineProviders2GuestConfigurationAssignmentId

NewProviderVirtualMachineProviders2GuestConfigurationAssignmentID returns a new ProviderVirtualMachineProviders2GuestConfigurationAssignmentId struct

func ParseProviderVirtualMachineProviders2GuestConfigurationAssignmentID

func ParseProviderVirtualMachineProviders2GuestConfigurationAssignmentID(input string) (*ProviderVirtualMachineProviders2GuestConfigurationAssignmentId, error)

ParseProviderVirtualMachineProviders2GuestConfigurationAssignmentID parses 'input' into a ProviderVirtualMachineProviders2GuestConfigurationAssignmentId

func ParseProviderVirtualMachineProviders2GuestConfigurationAssignmentIDInsensitively

func ParseProviderVirtualMachineProviders2GuestConfigurationAssignmentIDInsensitively(input string) (*ProviderVirtualMachineProviders2GuestConfigurationAssignmentId, error)

ParseProviderVirtualMachineProviders2GuestConfigurationAssignmentIDInsensitively parses 'input' case-insensitively into a ProviderVirtualMachineProviders2GuestConfigurationAssignmentId note: this method should only be used for API response data and not user input

func (*ProviderVirtualMachineProviders2GuestConfigurationAssignmentId) FromParseResult

func (ProviderVirtualMachineProviders2GuestConfigurationAssignmentId) ID

ID returns the formatted Provider Virtual Machine Providers 2 Guest Configuration Assignment ID

func (ProviderVirtualMachineProviders2GuestConfigurationAssignmentId) Segments

Segments returns a slice of Resource ID Segments which comprise this Provider Virtual Machine Providers 2 Guest Configuration Assignment ID

func (ProviderVirtualMachineProviders2GuestConfigurationAssignmentId) String

String returns a human-readable description of this Provider Virtual Machine Providers 2 Guest Configuration Assignment ID

type Type

type Type string
const (
	TypeConsistency Type = "Consistency"
	TypeInitial     Type = "Initial"
)

func (*Type) UnmarshalJSON

func (s *Type) UnmarshalJSON(bytes []byte) error

type VMInfo

type VMInfo struct {
	Id   *string `json:"id,omitempty"`
	Uuid *string `json:"uuid,omitempty"`
}

type VirtualMachineProviders2GuestConfigurationAssignmentReportId

type VirtualMachineProviders2GuestConfigurationAssignmentReportId struct {
	SubscriptionId                   string
	ResourceGroupName                string
	VirtualMachineName               string
	GuestConfigurationAssignmentName string
	ReportId                         string
}

VirtualMachineProviders2GuestConfigurationAssignmentReportId is a struct representing the Resource ID for a Virtual Machine Providers 2 Guest Configuration Assignment Report

func NewVirtualMachineProviders2GuestConfigurationAssignmentReportID

func NewVirtualMachineProviders2GuestConfigurationAssignmentReportID(subscriptionId string, resourceGroupName string, virtualMachineName string, guestConfigurationAssignmentName string, reportId string) VirtualMachineProviders2GuestConfigurationAssignmentReportId

NewVirtualMachineProviders2GuestConfigurationAssignmentReportID returns a new VirtualMachineProviders2GuestConfigurationAssignmentReportId struct

func ParseVirtualMachineProviders2GuestConfigurationAssignmentReportID

func ParseVirtualMachineProviders2GuestConfigurationAssignmentReportID(input string) (*VirtualMachineProviders2GuestConfigurationAssignmentReportId, error)

ParseVirtualMachineProviders2GuestConfigurationAssignmentReportID parses 'input' into a VirtualMachineProviders2GuestConfigurationAssignmentReportId

func ParseVirtualMachineProviders2GuestConfigurationAssignmentReportIDInsensitively

func ParseVirtualMachineProviders2GuestConfigurationAssignmentReportIDInsensitively(input string) (*VirtualMachineProviders2GuestConfigurationAssignmentReportId, error)

ParseVirtualMachineProviders2GuestConfigurationAssignmentReportIDInsensitively parses 'input' case-insensitively into a VirtualMachineProviders2GuestConfigurationAssignmentReportId note: this method should only be used for API response data and not user input

func (*VirtualMachineProviders2GuestConfigurationAssignmentReportId) FromParseResult

func (VirtualMachineProviders2GuestConfigurationAssignmentReportId) ID

ID returns the formatted Virtual Machine Providers 2 Guest Configuration Assignment Report ID

func (VirtualMachineProviders2GuestConfigurationAssignmentReportId) Segments

Segments returns a slice of Resource ID Segments which comprise this Virtual Machine Providers 2 Guest Configuration Assignment Report ID

func (VirtualMachineProviders2GuestConfigurationAssignmentReportId) String

String returns a human-readable description of this Virtual Machine Providers 2 Guest Configuration Assignment Report ID

Jump to

Keyboard shortcuts

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