pools

package
v0.20241029.1112340 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MPL-2.0 Imports: 15 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/devopsinfrastructure/2024-04-04-preview/pools Documentation

The pools SDK allows for interaction with Azure Resource Manager devopsinfrastructure (API Version 2024-04-04-preview).

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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/devopsinfrastructure/2024-04-04-preview/pools"

Client Initialization

client := pools.NewPoolsClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: PoolsClient.CreateOrUpdate

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

payload := pools.Pool{
	// ...
}


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

Example Usage: PoolsClient.Delete

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

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

Example Usage: PoolsClient.Get

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

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: PoolsClient.ListByResourceGroup

ctx := context.TODO()
id := commonids.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: PoolsClient.ListBySubscription

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

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

Example Usage: PoolsClient.Update

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

payload := pools.PoolUpdate{
	// ...
}


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 PossibleValuesForAzureDevOpsPermissionType

func PossibleValuesForAzureDevOpsPermissionType() []string

func PossibleValuesForCachingType

func PossibleValuesForCachingType() []string

func PossibleValuesForLogonType

func PossibleValuesForLogonType() []string

func PossibleValuesForOsDiskStorageAccountType

func PossibleValuesForOsDiskStorageAccountType() []string

func PossibleValuesForPredictionPreference

func PossibleValuesForPredictionPreference() []string

func PossibleValuesForProvisioningState

func PossibleValuesForProvisioningState() []string

func PossibleValuesForResourcePredictionsProfileType

func PossibleValuesForResourcePredictionsProfileType() []string

func PossibleValuesForStorageAccountType

func PossibleValuesForStorageAccountType() []string

func ValidatePoolID

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

ValidatePoolID checks that 'input' can be parsed as a Pool ID

Types

type AgentProfile

type AgentProfile interface {
	AgentProfile() BaseAgentProfileImpl
}

func UnmarshalAgentProfileImplementation

func UnmarshalAgentProfileImplementation(input []byte) (AgentProfile, error)

type AutomaticResourcePredictionsProfile

type AutomaticResourcePredictionsProfile struct {
	PredictionPreference *PredictionPreference `json:"predictionPreference,omitempty"`

	Kind ResourcePredictionsProfileType `json:"kind"`
}

func (AutomaticResourcePredictionsProfile) MarshalJSON

func (s AutomaticResourcePredictionsProfile) MarshalJSON() ([]byte, error)

func (AutomaticResourcePredictionsProfile) ResourcePredictionsProfile

type AzureDevOpsOrganizationProfile

type AzureDevOpsOrganizationProfile struct {
	Organizations     []Organization                `json:"organizations"`
	PermissionProfile *AzureDevOpsPermissionProfile `json:"permissionProfile,omitempty"`

	Kind string `json:"kind"`
}

func (AzureDevOpsOrganizationProfile) MarshalJSON

func (s AzureDevOpsOrganizationProfile) MarshalJSON() ([]byte, error)

func (AzureDevOpsOrganizationProfile) OrganizationProfile

type AzureDevOpsPermissionProfile

type AzureDevOpsPermissionProfile struct {
	Groups *[]string                 `json:"groups,omitempty"`
	Kind   AzureDevOpsPermissionType `json:"kind"`
	Users  *[]string                 `json:"users,omitempty"`
}

type AzureDevOpsPermissionType

type AzureDevOpsPermissionType string
const (
	AzureDevOpsPermissionTypeCreatorOnly      AzureDevOpsPermissionType = "CreatorOnly"
	AzureDevOpsPermissionTypeInherit          AzureDevOpsPermissionType = "Inherit"
	AzureDevOpsPermissionTypeSpecificAccounts AzureDevOpsPermissionType = "SpecificAccounts"
)

func (*AzureDevOpsPermissionType) UnmarshalJSON

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

type BaseAgentProfileImpl

type BaseAgentProfileImpl struct {
	Kind                       string                     `json:"kind"`
	ResourcePredictions        *interface{}               `json:"resourcePredictions,omitempty"`
	ResourcePredictionsProfile ResourcePredictionsProfile `json:"resourcePredictionsProfile"`
}

func (BaseAgentProfileImpl) AgentProfile

func (s BaseAgentProfileImpl) AgentProfile() BaseAgentProfileImpl

func (*BaseAgentProfileImpl) UnmarshalJSON

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

type BaseFabricProfileImpl

type BaseFabricProfileImpl struct {
	Kind string `json:"kind"`
}

func (BaseFabricProfileImpl) FabricProfile

func (s BaseFabricProfileImpl) FabricProfile() BaseFabricProfileImpl

type BaseOrganizationProfileImpl

type BaseOrganizationProfileImpl struct {
	Kind string `json:"kind"`
}

func (BaseOrganizationProfileImpl) OrganizationProfile

type BaseResourcePredictionsProfileImpl

type BaseResourcePredictionsProfileImpl struct {
	Kind ResourcePredictionsProfileType `json:"kind"`
}

func (BaseResourcePredictionsProfileImpl) ResourcePredictionsProfile

type CachingType

type CachingType string
const (
	CachingTypeNone      CachingType = "None"
	CachingTypeReadOnly  CachingType = "ReadOnly"
	CachingTypeReadWrite CachingType = "ReadWrite"
)

func (*CachingType) UnmarshalJSON

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

type CreateOrUpdateOperationResponse

type CreateOrUpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Pool
}

type DataDisk

type DataDisk struct {
	Caching            *CachingType        `json:"caching,omitempty"`
	DiskSizeGiB        *int64              `json:"diskSizeGiB,omitempty"`
	DriveLetter        *string             `json:"driveLetter,omitempty"`
	StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"`
}

type DeleteOperationResponse

type DeleteOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
}

type DevOpsAzureSku

type DevOpsAzureSku struct {
	Name string `json:"name"`
}

type FabricProfile

type FabricProfile interface {
	FabricProfile() BaseFabricProfileImpl
}

func UnmarshalFabricProfileImplementation

func UnmarshalFabricProfileImplementation(input []byte) (FabricProfile, error)

type GetOperationResponse

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

type GitHubOrganization

type GitHubOrganization struct {
	Repositories *[]string `json:"repositories,omitempty"`
	Url          string    `json:"url"`
}

type GitHubOrganizationProfile

type GitHubOrganizationProfile struct {
	Organizations []GitHubOrganization `json:"organizations"`

	Kind string `json:"kind"`
}

func (GitHubOrganizationProfile) MarshalJSON

func (s GitHubOrganizationProfile) MarshalJSON() ([]byte, error)

func (GitHubOrganizationProfile) OrganizationProfile

type ListByResourceGroupCompleteResult

type ListByResourceGroupCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Pool
}

type ListByResourceGroupCustomPager

type ListByResourceGroupCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListByResourceGroupCustomPager) NextPageLink() *odata.Link

type ListByResourceGroupOperationResponse

type ListByResourceGroupOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Pool
}

type ListBySubscriptionCompleteResult

type ListBySubscriptionCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []Pool
}

type ListBySubscriptionCustomPager

type ListBySubscriptionCustomPager struct {
	NextLink *odata.Link `json:"nextLink"`
}
func (p *ListBySubscriptionCustomPager) NextPageLink() *odata.Link

type ListBySubscriptionOperationResponse

type ListBySubscriptionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]Pool
}

type LogonType

type LogonType string
const (
	LogonTypeInteractive LogonType = "Interactive"
	LogonTypeService     LogonType = "Service"
)

func (*LogonType) UnmarshalJSON

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

type ManualResourcePredictionsProfile

type ManualResourcePredictionsProfile struct {
	Kind ResourcePredictionsProfileType `json:"kind"`
}

func (ManualResourcePredictionsProfile) MarshalJSON

func (s ManualResourcePredictionsProfile) MarshalJSON() ([]byte, error)

func (ManualResourcePredictionsProfile) ResourcePredictionsProfile

type NetworkProfile

type NetworkProfile struct {
	SubnetId string `json:"subnetId"`
}

type Organization

type Organization struct {
	Parallelism *int64    `json:"parallelism,omitempty"`
	Projects    *[]string `json:"projects,omitempty"`
	Url         string    `json:"url"`
}

type OrganizationProfile

type OrganizationProfile interface {
	OrganizationProfile() BaseOrganizationProfileImpl
}

func UnmarshalOrganizationProfileImplementation

func UnmarshalOrganizationProfileImplementation(input []byte) (OrganizationProfile, error)

type OsDiskStorageAccountType

type OsDiskStorageAccountType string
const (
	OsDiskStorageAccountTypePremium     OsDiskStorageAccountType = "Premium"
	OsDiskStorageAccountTypeStandard    OsDiskStorageAccountType = "Standard"
	OsDiskStorageAccountTypeStandardSSD OsDiskStorageAccountType = "StandardSSD"
)

func (*OsDiskStorageAccountType) UnmarshalJSON

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

type OsProfile

type OsProfile struct {
	LogonType                 *LogonType                 `json:"logonType,omitempty"`
	SecretsManagementSettings *SecretsManagementSettings `json:"secretsManagementSettings,omitempty"`
}

type Pool

type Pool struct {
	Id         *string                                  `json:"id,omitempty"`
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Location   string                                   `json:"location"`
	Name       *string                                  `json:"name,omitempty"`
	Properties *PoolProperties                          `json:"properties,omitempty"`
	SystemData *systemdata.SystemData                   `json:"systemData,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
	Type       *string                                  `json:"type,omitempty"`
}

type PoolId

type PoolId struct {
	SubscriptionId    string
	ResourceGroupName string
	PoolName          string
}

PoolId is a struct representing the Resource ID for a Pool

func NewPoolID

func NewPoolID(subscriptionId string, resourceGroupName string, poolName string) PoolId

NewPoolID returns a new PoolId struct

func ParsePoolID

func ParsePoolID(input string) (*PoolId, error)

ParsePoolID parses 'input' into a PoolId

func ParsePoolIDInsensitively

func ParsePoolIDInsensitively(input string) (*PoolId, error)

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

func (*PoolId) FromParseResult

func (id *PoolId) FromParseResult(input resourceids.ParseResult) error

func (PoolId) ID

func (id PoolId) ID() string

ID returns the formatted Pool ID

func (PoolId) Segments

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

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

func (PoolId) String

func (id PoolId) String() string

String returns a human-readable description of this Pool ID

type PoolImage

type PoolImage struct {
	Aliases            *[]string `json:"aliases,omitempty"`
	Buffer             *string   `json:"buffer,omitempty"`
	ResourceId         *string   `json:"resourceId,omitempty"`
	WellKnownImageName *string   `json:"wellKnownImageName,omitempty"`
}

type PoolOperationPredicate

type PoolOperationPredicate struct {
	Id       *string
	Location *string
	Name     *string
	Type     *string
}

func (PoolOperationPredicate) Matches

func (p PoolOperationPredicate) Matches(input Pool) bool

type PoolProperties

type PoolProperties struct {
	AgentProfile               AgentProfile        `json:"agentProfile"`
	DevCenterProjectResourceId string              `json:"devCenterProjectResourceId"`
	FabricProfile              FabricProfile       `json:"fabricProfile"`
	MaximumConcurrency         int64               `json:"maximumConcurrency"`
	OrganizationProfile        OrganizationProfile `json:"organizationProfile"`
	ProvisioningState          *ProvisioningState  `json:"provisioningState,omitempty"`
}

func (*PoolProperties) UnmarshalJSON

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

type PoolUpdate

type PoolUpdate struct {
	Identity   *identity.LegacySystemAndUserAssignedMap `json:"identity,omitempty"`
	Properties *PoolUpdateProperties                    `json:"properties,omitempty"`
	Tags       *map[string]string                       `json:"tags,omitempty"`
}

type PoolUpdateProperties

type PoolUpdateProperties struct {
	AgentProfile               AgentProfile        `json:"agentProfile"`
	DevCenterProjectResourceId *string             `json:"devCenterProjectResourceId,omitempty"`
	FabricProfile              FabricProfile       `json:"fabricProfile"`
	MaximumConcurrency         *int64              `json:"maximumConcurrency,omitempty"`
	OrganizationProfile        OrganizationProfile `json:"organizationProfile"`
	ProvisioningState          *ProvisioningState  `json:"provisioningState,omitempty"`
}

func (*PoolUpdateProperties) UnmarshalJSON

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

type PoolsClient

type PoolsClient struct {
	Client *resourcemanager.Client
}

func NewPoolsClientWithBaseURI

func NewPoolsClientWithBaseURI(sdkApi sdkEnv.Api) (*PoolsClient, error)

func (PoolsClient) CreateOrUpdate

func (c PoolsClient) CreateOrUpdate(ctx context.Context, id PoolId, input Pool) (result CreateOrUpdateOperationResponse, err error)

CreateOrUpdate ...

func (PoolsClient) CreateOrUpdateThenPoll

func (c PoolsClient) CreateOrUpdateThenPoll(ctx context.Context, id PoolId, input Pool) error

CreateOrUpdateThenPoll performs CreateOrUpdate then polls until it's completed

func (PoolsClient) Delete

func (c PoolsClient) Delete(ctx context.Context, id PoolId) (result DeleteOperationResponse, err error)

Delete ...

func (PoolsClient) DeleteThenPoll

func (c PoolsClient) DeleteThenPoll(ctx context.Context, id PoolId) error

DeleteThenPoll performs Delete then polls until it's completed

func (PoolsClient) Get

func (c PoolsClient) Get(ctx context.Context, id PoolId) (result GetOperationResponse, err error)

Get ...

func (PoolsClient) ListByResourceGroup

func (c PoolsClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)

ListByResourceGroup ...

func (PoolsClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (PoolsClient) ListByResourceGroupCompleteMatchingPredicate

func (c PoolsClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, predicate PoolOperationPredicate) (result ListByResourceGroupCompleteResult, err error)

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (PoolsClient) ListBySubscription

func (c PoolsClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)

ListBySubscription ...

func (PoolsClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (PoolsClient) ListBySubscriptionCompleteMatchingPredicate

func (c PoolsClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, predicate PoolOperationPredicate) (result ListBySubscriptionCompleteResult, err error)

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (PoolsClient) Update

func (c PoolsClient) Update(ctx context.Context, id PoolId, input PoolUpdate) (result UpdateOperationResponse, err error)

Update ...

func (PoolsClient) UpdateThenPoll

func (c PoolsClient) UpdateThenPoll(ctx context.Context, id PoolId, input PoolUpdate) error

UpdateThenPoll performs Update then polls until it's completed

type PredictionPreference

type PredictionPreference string
const (
	PredictionPreferenceBalanced          PredictionPreference = "Balanced"
	PredictionPreferenceBestPerformance   PredictionPreference = "BestPerformance"
	PredictionPreferenceMoreCostEffective PredictionPreference = "MoreCostEffective"
	PredictionPreferenceMorePerformance   PredictionPreference = "MorePerformance"
	PredictionPreferenceMostCostEffective PredictionPreference = "MostCostEffective"
)

func (*PredictionPreference) UnmarshalJSON

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

type ProvisioningState

type ProvisioningState string
const (
	ProvisioningStateAccepted     ProvisioningState = "Accepted"
	ProvisioningStateCanceled     ProvisioningState = "Canceled"
	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 RawAgentProfileImpl

type RawAgentProfileImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawAgentProfileImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawAgentProfileImpl) AgentProfile

func (s RawAgentProfileImpl) AgentProfile() BaseAgentProfileImpl

type RawFabricProfileImpl

type RawFabricProfileImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawFabricProfileImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawFabricProfileImpl) FabricProfile

func (s RawFabricProfileImpl) FabricProfile() BaseFabricProfileImpl

type RawOrganizationProfileImpl

type RawOrganizationProfileImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawOrganizationProfileImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawOrganizationProfileImpl) OrganizationProfile

type RawResourcePredictionsProfileImpl

type RawResourcePredictionsProfileImpl struct {
	Type   string
	Values map[string]interface{}
	// contains filtered or unexported fields
}

RawResourcePredictionsProfileImpl is returned when the Discriminated Value doesn't match any of the defined types NOTE: this should only be used when a type isn't defined for this type of Object (as a workaround) and is used only for Deserialization (e.g. this cannot be used as a Request Payload).

func (RawResourcePredictionsProfileImpl) ResourcePredictionsProfile

type ResourcePredictionsProfile

type ResourcePredictionsProfile interface {
	ResourcePredictionsProfile() BaseResourcePredictionsProfileImpl
}

func UnmarshalResourcePredictionsProfileImplementation

func UnmarshalResourcePredictionsProfileImplementation(input []byte) (ResourcePredictionsProfile, error)

type ResourcePredictionsProfileType

type ResourcePredictionsProfileType string
const (
	ResourcePredictionsProfileTypeAutomatic ResourcePredictionsProfileType = "Automatic"
	ResourcePredictionsProfileTypeManual    ResourcePredictionsProfileType = "Manual"
)

func (*ResourcePredictionsProfileType) UnmarshalJSON

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

type SecretsManagementSettings

type SecretsManagementSettings struct {
	CertificateStoreLocation *string  `json:"certificateStoreLocation,omitempty"`
	KeyExportable            bool     `json:"keyExportable"`
	ObservedCertificates     []string `json:"observedCertificates"`
}

type Stateful

type Stateful struct {
	GracePeriodTimeSpan *string `json:"gracePeriodTimeSpan,omitempty"`
	MaxAgentLifetime    *string `json:"maxAgentLifetime,omitempty"`

	Kind                       string                     `json:"kind"`
	ResourcePredictions        *interface{}               `json:"resourcePredictions,omitempty"`
	ResourcePredictionsProfile ResourcePredictionsProfile `json:"resourcePredictionsProfile"`
}

func (Stateful) AgentProfile

func (s Stateful) AgentProfile() BaseAgentProfileImpl

func (Stateful) MarshalJSON

func (s Stateful) MarshalJSON() ([]byte, error)

func (*Stateful) UnmarshalJSON

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

type StatelessAgentProfile

type StatelessAgentProfile struct {
	Kind                       string                     `json:"kind"`
	ResourcePredictions        *interface{}               `json:"resourcePredictions,omitempty"`
	ResourcePredictionsProfile ResourcePredictionsProfile `json:"resourcePredictionsProfile"`
}

func (StatelessAgentProfile) AgentProfile

func (StatelessAgentProfile) MarshalJSON

func (s StatelessAgentProfile) MarshalJSON() ([]byte, error)

func (*StatelessAgentProfile) UnmarshalJSON

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

type StorageAccountType

type StorageAccountType string
const (
	StorageAccountTypePremiumLRS     StorageAccountType = "Premium_LRS"
	StorageAccountTypePremiumZRS     StorageAccountType = "Premium_ZRS"
	StorageAccountTypeStandardLRS    StorageAccountType = "Standard_LRS"
	StorageAccountTypeStandardSSDLRS StorageAccountType = "StandardSSD_LRS"
	StorageAccountTypeStandardSSDZRS StorageAccountType = "StandardSSD_ZRS"
)

func (*StorageAccountType) UnmarshalJSON

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

type StorageProfile

type StorageProfile struct {
	DataDisks                *[]DataDisk               `json:"dataDisks,omitempty"`
	OsDiskStorageAccountType *OsDiskStorageAccountType `json:"osDiskStorageAccountType,omitempty"`
}

type UpdateOperationResponse

type UpdateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *Pool
}

type VMSSFabricProfile

type VMSSFabricProfile struct {
	Images         []PoolImage     `json:"images"`
	NetworkProfile *NetworkProfile `json:"networkProfile,omitempty"`
	OsProfile      *OsProfile      `json:"osProfile,omitempty"`
	Sku            DevOpsAzureSku  `json:"sku"`
	StorageProfile *StorageProfile `json:"storageProfile,omitempty"`

	Kind string `json:"kind"`
}

func (VMSSFabricProfile) FabricProfile

func (s VMSSFabricProfile) FabricProfile() BaseFabricProfileImpl

func (VMSSFabricProfile) MarshalJSON

func (s VMSSFabricProfile) MarshalJSON() ([]byte, error)

Jump to

Keyboard shortcuts

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