vminstancehybrididentitymetadata

package
v0.20231208.1131741 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2023 License: MPL-2.0 Imports: 11 Imported by: 0

README

github.com/hashicorp/go-azure-sdk/resource-manager/connectedvmware/2023-10-01/vminstancehybrididentitymetadata Documentation

The vminstancehybrididentitymetadata SDK allows for interaction with the Azure Resource Manager Service connectedvmware (API Version 2023-10-01).

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/connectedvmware/2023-10-01/vminstancehybrididentitymetadata"

Client Initialization

client := vminstancehybrididentitymetadata.NewVMInstanceHybridIdentityMetadataClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: VMInstanceHybridIdentityMetadataClient.Get

ctx := context.TODO()
id := vminstancehybrididentitymetadata.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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: VMInstanceHybridIdentityMetadataClient.List

ctx := context.TODO()
id := vminstancehybrididentitymetadata.NewScopeID("/subscriptions/12345678-1234-9876-4563-123456789012/resourceGroups/some-resource-group")

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

Types

type GetOperationResponse

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

type ListCompleteResult

type ListCompleteResult struct {
	Items []VMInstanceHybridIdentityMetadata
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]VMInstanceHybridIdentityMetadata
}

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	ProvisioningStateCreated      ProvisioningState = "Created"
	ProvisioningStateDeleting     ProvisioningState = "Deleting"
	ProvisioningStateFailed       ProvisioningState = "Failed"
	ProvisioningStateProvisioning ProvisioningState = "Provisioning"
	ProvisioningStateSucceeded    ProvisioningState = "Succeeded"
	ProvisioningStateUpdating     ProvisioningState = "Updating"
)

func (*ProvisioningState) UnmarshalJSON

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

type VMInstanceHybridIdentityMetadata

type VMInstanceHybridIdentityMetadata struct {
	Id         *string                                    `json:"id,omitempty"`
	Name       *string                                    `json:"name,omitempty"`
	Properties VMInstanceHybridIdentityMetadataProperties `json:"properties"`
	SystemData *systemdata.SystemData                     `json:"systemData,omitempty"`
	Type       *string                                    `json:"type,omitempty"`
}

type VMInstanceHybridIdentityMetadataClient

type VMInstanceHybridIdentityMetadataClient struct {
	Client *resourcemanager.Client
}

func NewVMInstanceHybridIdentityMetadataClientWithBaseURI

func NewVMInstanceHybridIdentityMetadataClientWithBaseURI(sdkApi sdkEnv.Api) (*VMInstanceHybridIdentityMetadataClient, error)

func (VMInstanceHybridIdentityMetadataClient) Get

Get ...

func (VMInstanceHybridIdentityMetadataClient) List

List ...

func (VMInstanceHybridIdentityMetadataClient) ListComplete

ListComplete retrieves all the results into a single object

func (VMInstanceHybridIdentityMetadataClient) ListCompleteMatchingPredicate

ListCompleteMatchingPredicate retrieves all the results and then applies the predicate

type VMInstanceHybridIdentityMetadataOperationPredicate

type VMInstanceHybridIdentityMetadataOperationPredicate struct {
	Id   *string
	Name *string
	Type *string
}

func (VMInstanceHybridIdentityMetadataOperationPredicate) Matches

type VMInstanceHybridIdentityMetadataProperties

type VMInstanceHybridIdentityMetadataProperties struct {
	ProvisioningState *ProvisioningState `json:"provisioningState,omitempty"`
	PublicKey         *string            `json:"publicKey,omitempty"`
	ResourceUid       *string            `json:"resourceUid,omitempty"`
}

Jump to

Keyboard shortcuts

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