disks

package
v0.20230309.1123256 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MPL-2.0 Imports: 14 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/compute/2022-03-02/disks Documentation

The disks SDK allows for interaction with the Azure Resource Manager Service compute (API Version 2022-03-02).

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/compute/2022-03-02/disks"

Client Initialization

client := disks.NewDisksClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: DisksClient.CreateOrUpdate

ctx := context.TODO()
id := disks.NewDiskID("12345678-1234-9876-4563-123456789012", "example-resource-group", "diskValue")

payload := disks.Disk{
	// ...
}


if err := client.CreateOrUpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DisksClient.Delete

ctx := context.TODO()
id := disks.NewDiskID("12345678-1234-9876-4563-123456789012", "example-resource-group", "diskValue")

if err := client.DeleteThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: DisksClient.Get

ctx := context.TODO()
id := disks.NewDiskID("12345678-1234-9876-4563-123456789012", "example-resource-group", "diskValue")

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: DisksClient.GrantAccess

ctx := context.TODO()
id := disks.NewDiskID("12345678-1234-9876-4563-123456789012", "example-resource-group", "diskValue")

payload := disks.GrantAccessData{
	// ...
}


if err := client.GrantAccessThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Example Usage: DisksClient.List

ctx := context.TODO()
id := disks.NewSubscriptionID("12345678-1234-9876-4563-123456789012")

// 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
}

Example Usage: DisksClient.ListByResourceGroup

ctx := context.TODO()
id := disks.NewResourceGroupID("12345678-1234-9876-4563-123456789012", "example-resource-group")

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

Example Usage: DisksClient.RevokeAccess

ctx := context.TODO()
id := disks.NewDiskID("12345678-1234-9876-4563-123456789012", "example-resource-group", "diskValue")

if err := client.RevokeAccessThenPoll(ctx, id); err != nil {
	// handle the error
}

Example Usage: DisksClient.Update

ctx := context.TODO()
id := disks.NewDiskID("12345678-1234-9876-4563-123456789012", "example-resource-group", "diskValue")

payload := disks.DiskUpdate{
	// ...
}


if err := client.UpdateThenPoll(ctx, id, payload); err != nil {
	// handle the error
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForAccessLevel

func PossibleValuesForAccessLevel() []string

func PossibleValuesForArchitecture

func PossibleValuesForArchitecture() []string

func PossibleValuesForDataAccessAuthMode

func PossibleValuesForDataAccessAuthMode() []string

func PossibleValuesForDiskCreateOption

func PossibleValuesForDiskCreateOption() []string

func PossibleValuesForDiskSecurityTypes

func PossibleValuesForDiskSecurityTypes() []string

func PossibleValuesForDiskState

func PossibleValuesForDiskState() []string

func PossibleValuesForDiskStorageAccountTypes

func PossibleValuesForDiskStorageAccountTypes() []string

func PossibleValuesForEncryptionType

func PossibleValuesForEncryptionType() []string

func PossibleValuesForHyperVGeneration

func PossibleValuesForHyperVGeneration() []string

func PossibleValuesForNetworkAccessPolicy

func PossibleValuesForNetworkAccessPolicy() []string

func PossibleValuesForOperatingSystemTypes

func PossibleValuesForOperatingSystemTypes() []string

func PossibleValuesForPublicNetworkAccess

func PossibleValuesForPublicNetworkAccess() []string

func ValidateDiskID

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

ValidateDiskID checks that 'input' can be parsed as a Disk ID

Types

type AccessLevel

type AccessLevel string
const (
	AccessLevelNone  AccessLevel = "None"
	AccessLevelRead  AccessLevel = "Read"
	AccessLevelWrite AccessLevel = "Write"
)

type AccessUri

type AccessUri struct {
	AccessSAS             *string `json:"accessSAS,omitempty"`
	SecurityDataAccessSAS *string `json:"securityDataAccessSAS,omitempty"`
}

type Architecture

type Architecture string
const (
	ArchitectureArmSixFour Architecture = "Arm64"
	ArchitectureXSixFour   Architecture = "x64"
)

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type CreationData

type CreationData struct {
	CreateOption          DiskCreateOption    `json:"createOption"`
	GalleryImageReference *ImageDiskReference `json:"galleryImageReference,omitempty"`
	ImageReference        *ImageDiskReference `json:"imageReference,omitempty"`
	LogicalSectorSize     *int64              `json:"logicalSectorSize,omitempty"`
	SecurityDataUri       *string             `json:"securityDataUri,omitempty"`
	SourceResourceId      *string             `json:"sourceResourceId,omitempty"`
	SourceUniqueId        *string             `json:"sourceUniqueId,omitempty"`
	SourceUri             *string             `json:"sourceUri,omitempty"`
	StorageAccountId      *string             `json:"storageAccountId,omitempty"`
	UploadSizeBytes       *int64              `json:"uploadSizeBytes,omitempty"`
}

type DataAccessAuthMode

type DataAccessAuthMode string
const (
	DataAccessAuthModeAzureActiveDirectory DataAccessAuthMode = "AzureActiveDirectory"
	DataAccessAuthModeNone                 DataAccessAuthMode = "None"
)

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type Disk

type Disk struct {
	ExtendedLocation  *edgezones.Model   `json:"extendedLocation,omitempty"`
	Id                *string            `json:"id,omitempty"`
	Location          string             `json:"location"`
	ManagedBy         *string            `json:"managedBy,omitempty"`
	ManagedByExtended *[]string          `json:"managedByExtended,omitempty"`
	Name              *string            `json:"name,omitempty"`
	Properties        *DiskProperties    `json:"properties,omitempty"`
	Sku               *DiskSku           `json:"sku,omitempty"`
	Tags              *map[string]string `json:"tags,omitempty"`
	Type              *string            `json:"type,omitempty"`
	Zones             *zones.Schema      `json:"zones,omitempty"`
}

type DiskCreateOption

type DiskCreateOption string
const (
	DiskCreateOptionAttach               DiskCreateOption = "Attach"
	DiskCreateOptionCopy                 DiskCreateOption = "Copy"
	DiskCreateOptionCopyStart            DiskCreateOption = "CopyStart"
	DiskCreateOptionEmpty                DiskCreateOption = "Empty"
	DiskCreateOptionFromImage            DiskCreateOption = "FromImage"
	DiskCreateOptionImport               DiskCreateOption = "Import"
	DiskCreateOptionImportSecure         DiskCreateOption = "ImportSecure"
	DiskCreateOptionRestore              DiskCreateOption = "Restore"
	DiskCreateOptionUpload               DiskCreateOption = "Upload"
	DiskCreateOptionUploadPreparedSecure DiskCreateOption = "UploadPreparedSecure"
)

type DiskId

type DiskId struct {
	SubscriptionId    string
	ResourceGroupName string
	DiskName          string
}

DiskId is a struct representing the Resource ID for a Disk

func NewDiskID

func NewDiskID(subscriptionId string, resourceGroupName string, diskName string) DiskId

NewDiskID returns a new DiskId struct

func ParseDiskID

func ParseDiskID(input string) (*DiskId, error)

ParseDiskID parses 'input' into a DiskId

func ParseDiskIDInsensitively

func ParseDiskIDInsensitively(input string) (*DiskId, error)

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

func (DiskId) ID

func (id DiskId) ID() string

ID returns the formatted Disk ID

func (DiskId) Segments

func (id DiskId) Segments() []resourceids.Segment

Segments returns a slice of Resource ID Segments which comprise this Disk ID

func (DiskId) String

func (id DiskId) String() string

String returns a human-readable description of this Disk ID

type DiskOperationPredicate

type DiskOperationPredicate struct {
	Id        *string
	Location  *string
	ManagedBy *string
	Name      *string
	Type      *string
}

func (DiskOperationPredicate) Matches

func (p DiskOperationPredicate) Matches(input Disk) bool

type DiskProperties

type DiskProperties struct {
	BurstingEnabled              *bool                         `json:"burstingEnabled,omitempty"`
	CompletionPercent            *float64                      `json:"completionPercent,omitempty"`
	CreationData                 CreationData                  `json:"creationData"`
	DataAccessAuthMode           *DataAccessAuthMode           `json:"dataAccessAuthMode,omitempty"`
	DiskAccessId                 *string                       `json:"diskAccessId,omitempty"`
	DiskIOPSReadOnly             *int64                        `json:"diskIOPSReadOnly,omitempty"`
	DiskIOPSReadWrite            *int64                        `json:"diskIOPSReadWrite,omitempty"`
	DiskMBpsReadOnly             *int64                        `json:"diskMBpsReadOnly,omitempty"`
	DiskMBpsReadWrite            *int64                        `json:"diskMBpsReadWrite,omitempty"`
	DiskSizeBytes                *int64                        `json:"diskSizeBytes,omitempty"`
	DiskSizeGB                   *int64                        `json:"diskSizeGB,omitempty"`
	DiskState                    *DiskState                    `json:"diskState,omitempty"`
	Encryption                   *Encryption                   `json:"encryption,omitempty"`
	EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
	HyperVGeneration             *HyperVGeneration             `json:"hyperVGeneration,omitempty"`
	MaxShares                    *int64                        `json:"maxShares,omitempty"`
	NetworkAccessPolicy          *NetworkAccessPolicy          `json:"networkAccessPolicy,omitempty"`
	OsType                       *OperatingSystemTypes         `json:"osType,omitempty"`
	PropertyUpdatesInProgress    *PropertyUpdatesInProgress    `json:"propertyUpdatesInProgress,omitempty"`
	ProvisioningState            *string                       `json:"provisioningState,omitempty"`
	PublicNetworkAccess          *PublicNetworkAccess          `json:"publicNetworkAccess,omitempty"`
	PurchasePlan                 *PurchasePlan                 `json:"purchasePlan,omitempty"`
	SecurityProfile              *DiskSecurityProfile          `json:"securityProfile,omitempty"`
	ShareInfo                    *[]ShareInfoElement           `json:"shareInfo,omitempty"`
	SupportedCapabilities        *SupportedCapabilities        `json:"supportedCapabilities,omitempty"`
	SupportsHibernation          *bool                         `json:"supportsHibernation,omitempty"`
	Tier                         *string                       `json:"tier,omitempty"`
	TimeCreated                  *string                       `json:"timeCreated,omitempty"`
	UniqueId                     *string                       `json:"uniqueId,omitempty"`
}

func (*DiskProperties) GetTimeCreatedAsTime

func (o *DiskProperties) GetTimeCreatedAsTime() (*time.Time, error)

func (*DiskProperties) SetTimeCreatedAsTime

func (o *DiskProperties) SetTimeCreatedAsTime(input time.Time)

type DiskSecurityProfile

type DiskSecurityProfile struct {
	SecureVMDiskEncryptionSetId *string            `json:"secureVMDiskEncryptionSetId,omitempty"`
	SecurityType                *DiskSecurityTypes `json:"securityType,omitempty"`
}

type DiskSecurityTypes

type DiskSecurityTypes string
const (
	DiskSecurityTypesConfidentialVMDiskEncryptedWithCustomerKey             DiskSecurityTypes = "ConfidentialVM_DiskEncryptedWithCustomerKey"
	DiskSecurityTypesConfidentialVMDiskEncryptedWithPlatformKey             DiskSecurityTypes = "ConfidentialVM_DiskEncryptedWithPlatformKey"
	DiskSecurityTypesConfidentialVMVMGuestStateOnlyEncryptedWithPlatformKey DiskSecurityTypes = "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey"
	DiskSecurityTypesTrustedLaunch                                          DiskSecurityTypes = "TrustedLaunch"
)

type DiskSku

type DiskSku struct {
	Name *DiskStorageAccountTypes `json:"name,omitempty"`
	Tier *string                  `json:"tier,omitempty"`
}

type DiskState

type DiskState string
const (
	DiskStateActiveSAS       DiskState = "ActiveSAS"
	DiskStateActiveSASFrozen DiskState = "ActiveSASFrozen"
	DiskStateActiveUpload    DiskState = "ActiveUpload"
	DiskStateAttached        DiskState = "Attached"
	DiskStateFrozen          DiskState = "Frozen"
	DiskStateReadyToUpload   DiskState = "ReadyToUpload"
	DiskStateReserved        DiskState = "Reserved"
	DiskStateUnattached      DiskState = "Unattached"
)

type DiskStorageAccountTypes

type DiskStorageAccountTypes string
const (
	DiskStorageAccountTypesPremiumLRS     DiskStorageAccountTypes = "Premium_LRS"
	DiskStorageAccountTypesPremiumVTwoLRS DiskStorageAccountTypes = "PremiumV2_LRS"
	DiskStorageAccountTypesPremiumZRS     DiskStorageAccountTypes = "Premium_ZRS"
	DiskStorageAccountTypesStandardLRS    DiskStorageAccountTypes = "Standard_LRS"
	DiskStorageAccountTypesStandardSSDLRS DiskStorageAccountTypes = "StandardSSD_LRS"
	DiskStorageAccountTypesStandardSSDZRS DiskStorageAccountTypes = "StandardSSD_ZRS"
	DiskStorageAccountTypesUltraSSDLRS    DiskStorageAccountTypes = "UltraSSD_LRS"
)

type DiskUpdate

type DiskUpdate struct {
	Properties *DiskUpdateProperties `json:"properties,omitempty"`
	Sku        *DiskSku              `json:"sku,omitempty"`
	Tags       *map[string]string    `json:"tags,omitempty"`
}

type DiskUpdateProperties

type DiskUpdateProperties struct {
	BurstingEnabled              *bool                         `json:"burstingEnabled,omitempty"`
	DataAccessAuthMode           *DataAccessAuthMode           `json:"dataAccessAuthMode,omitempty"`
	DiskAccessId                 *string                       `json:"diskAccessId,omitempty"`
	DiskIOPSReadOnly             *int64                        `json:"diskIOPSReadOnly,omitempty"`
	DiskIOPSReadWrite            *int64                        `json:"diskIOPSReadWrite,omitempty"`
	DiskMBpsReadOnly             *int64                        `json:"diskMBpsReadOnly,omitempty"`
	DiskMBpsReadWrite            *int64                        `json:"diskMBpsReadWrite,omitempty"`
	DiskSizeGB                   *int64                        `json:"diskSizeGB,omitempty"`
	Encryption                   *Encryption                   `json:"encryption,omitempty"`
	EncryptionSettingsCollection *EncryptionSettingsCollection `json:"encryptionSettingsCollection,omitempty"`
	MaxShares                    *int64                        `json:"maxShares,omitempty"`
	NetworkAccessPolicy          *NetworkAccessPolicy          `json:"networkAccessPolicy,omitempty"`
	OsType                       *OperatingSystemTypes         `json:"osType,omitempty"`
	PropertyUpdatesInProgress    *PropertyUpdatesInProgress    `json:"propertyUpdatesInProgress,omitempty"`
	PublicNetworkAccess          *PublicNetworkAccess          `json:"publicNetworkAccess,omitempty"`
	PurchasePlan                 *PurchasePlan                 `json:"purchasePlan,omitempty"`
	SupportedCapabilities        *SupportedCapabilities        `json:"supportedCapabilities,omitempty"`
	SupportsHibernation          *bool                         `json:"supportsHibernation,omitempty"`
	Tier                         *string                       `json:"tier,omitempty"`
}

type DisksClient

type DisksClient struct {
	Client autorest.Client
	// contains filtered or unexported fields
}

func NewDisksClientWithBaseURI

func NewDisksClientWithBaseURI(endpoint string) DisksClient

func (DisksClient) CreateOrUpdate

func (c DisksClient) CreateOrUpdate(ctx context.Context, id DiskId, input Disk) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (DisksClient) CreateOrUpdateThenPoll

func (c DisksClient) CreateOrUpdateThenPoll(ctx context.Context, id DiskId, input Disk) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (DisksClient) Delete

func (c DisksClient) Delete(ctx context.Context, id DiskId) (result DeleteOperationResponse, err error)

Delete ...

func (DisksClient) DeleteThenPoll

func (c DisksClient) DeleteThenPoll(ctx context.Context, id DiskId) error

DeleteThenPoll performs Delete then polls until it's completed

func (DisksClient) Get

func (c DisksClient) Get(ctx context.Context, id DiskId) (result GetOperationResponse, err error)

Get ...

func (DisksClient) GrantAccess

func (c DisksClient) GrantAccess(ctx context.Context, id DiskId, input GrantAccessData) (result GrantAccessOperationResponse, err error)

GrantAccess ...

func (DisksClient) GrantAccessThenPoll

func (c DisksClient) GrantAccessThenPoll(ctx context.Context, id DiskId, input GrantAccessData) error

GrantAccessThenPoll performs GrantAccess then polls until it's completed

func (DisksClient) List

List ...

func (DisksClient) ListByResourceGroup

ListByResourceGroup ...

func (DisksClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all of the results into a single object

func (DisksClient) ListByResourceGroupCompleteMatchingPredicate

func (c DisksClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate DiskOperationPredicate) (resp ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DisksClient) ListComplete

ListComplete retrieves all of the results into a single object

func (DisksClient) ListCompleteMatchingPredicate

func (c DisksClient) ListCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate DiskOperationPredicate) (resp ListCompleteResult, err error)

ListCompleteMatchingPredicate retrieves all of the results and then applied the predicate

func (DisksClient) RevokeAccess

func (c DisksClient) RevokeAccess(ctx context.Context, id DiskId) (result RevokeAccessOperationResponse, err error)

RevokeAccess ...

func (DisksClient) RevokeAccessThenPoll

func (c DisksClient) RevokeAccessThenPoll(ctx context.Context, id DiskId) error

RevokeAccessThenPoll performs RevokeAccess then polls until it's completed

func (DisksClient) Update

func (c DisksClient) Update(ctx context.Context, id DiskId, input DiskUpdate) (result UpdateOperationResponse, err error)

Update ...

func (DisksClient) UpdateThenPoll

func (c DisksClient) UpdateThenPoll(ctx context.Context, id DiskId, input DiskUpdate) error

UpdateThenPoll performs Update then polls until it's completed

type Encryption

type Encryption struct {
	DiskEncryptionSetId *string         `json:"diskEncryptionSetId,omitempty"`
	Type                *EncryptionType `json:"type,omitempty"`
}

type EncryptionSettingsCollection

type EncryptionSettingsCollection struct {
	Enabled                   bool                         `json:"enabled"`
	EncryptionSettings        *[]EncryptionSettingsElement `json:"encryptionSettings,omitempty"`
	EncryptionSettingsVersion *string                      `json:"encryptionSettingsVersion,omitempty"`
}

type EncryptionSettingsElement

type EncryptionSettingsElement struct {
	DiskEncryptionKey *KeyVaultAndSecretReference `json:"diskEncryptionKey,omitempty"`
	KeyEncryptionKey  *KeyVaultAndKeyReference    `json:"keyEncryptionKey,omitempty"`
}

type EncryptionType

type EncryptionType string
const (
	EncryptionTypeEncryptionAtRestWithCustomerKey             EncryptionType = "EncryptionAtRestWithCustomerKey"
	EncryptionTypeEncryptionAtRestWithPlatformAndCustomerKeys EncryptionType = "EncryptionAtRestWithPlatformAndCustomerKeys"
	EncryptionTypeEncryptionAtRestWithPlatformKey             EncryptionType = "EncryptionAtRestWithPlatformKey"
)

type GetOperationResponse

type GetOperationResponse struct {
	HttpResponse *http.Response
	Model        *Disk
}

type GrantAccessData

type GrantAccessData struct {
	Access                   AccessLevel `json:"access"`
	DurationInSeconds        int64       `json:"durationInSeconds"`
	GetSecureVMGuestStateSAS *bool       `json:"getSecureVMGuestStateSAS,omitempty"`
}

type GrantAccessOperationResponse

type GrantAccessOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type HyperVGeneration

type HyperVGeneration string
const (
	HyperVGenerationVOne HyperVGeneration = "V1"
	HyperVGenerationVTwo HyperVGeneration = "V2"
)

type ImageDiskReference

type ImageDiskReference struct {
	CommunityGalleryImageId *string `json:"communityGalleryImageId,omitempty"`
	Id                      *string `json:"id,omitempty"`
	Lun                     *int64  `json:"lun,omitempty"`
	SharedGalleryImageId    *string `json:"sharedGalleryImageId,omitempty"`
}

type KeyVaultAndKeyReference

type KeyVaultAndKeyReference struct {
	KeyUrl      string      `json:"keyUrl"`
	SourceVault SourceVault `json:"sourceVault"`
}

type KeyVaultAndSecretReference

type KeyVaultAndSecretReference struct {
	SecretUrl   string      `json:"secretUrl"`
	SourceVault SourceVault `json:"sourceVault"`
}

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	Items []Disk
}

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Disk
	// contains filtered or unexported fields
}

func (ListByResourceGroupOperationResponse) HasMore

func (ListByResourceGroupOperationResponse) LoadMore

type ListCompleteResult

type ListCompleteResult struct {
	Items []Disk
}

type ListOperationResponse

type ListOperationResponse struct {
	HttpResponse *http.Response
	Model        *[]Disk
	// contains filtered or unexported fields
}

func (ListOperationResponse) HasMore

func (r ListOperationResponse) HasMore() bool

func (ListOperationResponse) LoadMore

func (r ListOperationResponse) LoadMore(ctx context.Context) (resp ListOperationResponse, err error)

type NetworkAccessPolicy

type NetworkAccessPolicy string
const (
	NetworkAccessPolicyAllowAll     NetworkAccessPolicy = "AllowAll"
	NetworkAccessPolicyAllowPrivate NetworkAccessPolicy = "AllowPrivate"
	NetworkAccessPolicyDenyAll      NetworkAccessPolicy = "DenyAll"
)

type OperatingSystemTypes

type OperatingSystemTypes string
const (
	OperatingSystemTypesLinux   OperatingSystemTypes = "Linux"
	OperatingSystemTypesWindows OperatingSystemTypes = "Windows"
)

type PropertyUpdatesInProgress

type PropertyUpdatesInProgress struct {
	TargetTier *string `json:"targetTier,omitempty"`
}

type PublicNetworkAccess

type PublicNetworkAccess string
const (
	PublicNetworkAccessDisabled PublicNetworkAccess = "Disabled"
	PublicNetworkAccessEnabled  PublicNetworkAccess = "Enabled"
)

type PurchasePlan

type PurchasePlan struct {
	Name          string  `json:"name"`
	Product       string  `json:"product"`
	PromotionCode *string `json:"promotionCode,omitempty"`
	Publisher     string  `json:"publisher"`
}

type RevokeAccessOperationResponse

type RevokeAccessOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

type ShareInfoElement

type ShareInfoElement struct {
	VMUri *string `json:"vmUri,omitempty"`
}

type SourceVault

type SourceVault struct {
	Id *string `json:"id,omitempty"`
}

type SupportedCapabilities

type SupportedCapabilities struct {
	AcceleratedNetwork *bool         `json:"acceleratedNetwork,omitempty"`
	Architecture       *Architecture `json:"architecture,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       polling.LongRunningPoller
	HttpResponse *http.Response
}

Jump to

Keyboard shortcuts

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