vminstancehybrididentitymetadata

package
v0.20231129.1170309 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/resource-manager/systemcentervirtualmachinemanager/2023-10-07/vminstancehybrididentitymetadata Documentation

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

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/systemcentervirtualmachinemanager/2023-10-07/vminstancehybrididentitymetadata"

Client Initialization

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

Example Usage: VMInstanceHybridIdentityMetadataClient.VirtualMachineInstanceHybridIdentityMetadataGet

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

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

Example Usage: VMInstanceHybridIdentityMetadataClient.VirtualMachineInstanceHybridIdentityMetadataList

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

// alternatively `client.VirtualMachineInstanceHybridIdentityMetadataList(ctx, id)` can be used to do batched pagination
items, err := client.VirtualMachineInstanceHybridIdentityMetadataListComplete(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 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) VirtualMachineInstanceHybridIdentityMetadataGet

VirtualMachineInstanceHybridIdentityMetadataGet ...

func (VMInstanceHybridIdentityMetadataClient) VirtualMachineInstanceHybridIdentityMetadataList

VirtualMachineInstanceHybridIdentityMetadataList ...

func (VMInstanceHybridIdentityMetadataClient) VirtualMachineInstanceHybridIdentityMetadataListComplete

VirtualMachineInstanceHybridIdentityMetadataListComplete retrieves all the results into a single object

func (VMInstanceHybridIdentityMetadataClient) VirtualMachineInstanceHybridIdentityMetadataListCompleteMatchingPredicate

func (c VMInstanceHybridIdentityMetadataClient) VirtualMachineInstanceHybridIdentityMetadataListCompleteMatchingPredicate(ctx context.Context, id commonids.ScopeId, predicate VMInstanceHybridIdentityMetadataOperationPredicate) (result VirtualMachineInstanceHybridIdentityMetadataListCompleteResult, err error)

VirtualMachineInstanceHybridIdentityMetadataListCompleteMatchingPredicate 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"`
}

type VirtualMachineInstanceHybridIdentityMetadataGetOperationResponse

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

type VirtualMachineInstanceHybridIdentityMetadataListCompleteResult

type VirtualMachineInstanceHybridIdentityMetadataListCompleteResult struct {
	Items []VMInstanceHybridIdentityMetadata
}

type VirtualMachineInstanceHybridIdentityMetadataListOperationResponse

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

Jump to

Keyboard shortcuts

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