sapvirtualinstances

package
v0.20250115.1141151 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: MPL-2.0 Imports: 17 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2024-09-01/sapvirtualinstances Documentation

The sapvirtualinstances SDK allows for interaction with Azure Resource Manager workloads (API Version 2024-09-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-helpers/resourcemanager/commonids"
import "github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2024-09-01/sapvirtualinstances"

Client Initialization

client := sapvirtualinstances.NewSAPVirtualInstancesClientWithBaseURI("https://management.azure.com")
client.Client.Authorizer = authorizer

Example Usage: SAPVirtualInstancesClient.Create

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

payload := sapvirtualinstances.SAPVirtualInstance{
	// ...
}


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

Example Usage: SAPVirtualInstancesClient.Delete

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

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

Example Usage: SAPVirtualInstancesClient.Get

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

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: SAPVirtualInstancesClient.InvokeAvailabilityZoneDetails

ctx := context.TODO()
id := sapvirtualinstances.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName")

payload := sapvirtualinstances.SAPAvailabilityZoneDetailsRequest{
	// ...
}


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

Example Usage: SAPVirtualInstancesClient.InvokeDiskConfigurations

ctx := context.TODO()
id := sapvirtualinstances.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName")

payload := sapvirtualinstances.SAPDiskConfigurationsRequest{
	// ...
}


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

Example Usage: SAPVirtualInstancesClient.InvokeSapSupportedSku

ctx := context.TODO()
id := sapvirtualinstances.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName")

payload := sapvirtualinstances.SAPSupportedSkusRequest{
	// ...
}


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

Example Usage: SAPVirtualInstancesClient.InvokeSizingRecommendations

ctx := context.TODO()
id := sapvirtualinstances.NewLocationID("12345678-1234-9876-4563-123456789012", "locationName")

payload := sapvirtualinstances.SAPSizingRecommendationRequest{
	// ...
}


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

Example Usage: SAPVirtualInstancesClient.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: SAPVirtualInstancesClient.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: SAPVirtualInstancesClient.Start

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

payload := sapvirtualinstances.StartRequest{
	// ...
}


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

Example Usage: SAPVirtualInstancesClient.Stop

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

payload := sapvirtualinstances.StopRequest{
	// ...
}


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

Example Usage: SAPVirtualInstancesClient.Update

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

payload := sapvirtualinstances.UpdateSAPVirtualInstanceRequest{
	// ...
}


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 PossibleValuesForDiskSkuName

func PossibleValuesForDiskSkuName() []string

func PossibleValuesForFileShareConfigurationType

func PossibleValuesForFileShareConfigurationType() []string

func PossibleValuesForManagedResourcesNetworkAccessType

func PossibleValuesForManagedResourcesNetworkAccessType() []string

func PossibleValuesForNamingPatternType

func PossibleValuesForNamingPatternType() []string

func PossibleValuesForOSType

func PossibleValuesForOSType() []string

func PossibleValuesForSAPConfigurationType

func PossibleValuesForSAPConfigurationType() []string

func PossibleValuesForSAPDatabaseScaleMethod

func PossibleValuesForSAPDatabaseScaleMethod() []string

func PossibleValuesForSAPDatabaseType

func PossibleValuesForSAPDatabaseType() []string

func PossibleValuesForSAPDeploymentType

func PossibleValuesForSAPDeploymentType() []string

func PossibleValuesForSAPEnvironmentType

func PossibleValuesForSAPEnvironmentType() []string

func PossibleValuesForSAPHealthState

func PossibleValuesForSAPHealthState() []string

func PossibleValuesForSAPHighAvailabilityType

func PossibleValuesForSAPHighAvailabilityType() []string

func PossibleValuesForSAPProductType

func PossibleValuesForSAPProductType() []string

func PossibleValuesForSAPSoftwareInstallationType

func PossibleValuesForSAPSoftwareInstallationType() []string

func PossibleValuesForSAPVirtualInstanceState

func PossibleValuesForSAPVirtualInstanceState() []string

func PossibleValuesForSAPVirtualInstanceStatus

func PossibleValuesForSAPVirtualInstanceStatus() []string

func PossibleValuesForSapVirtualInstanceProvisioningState

func PossibleValuesForSapVirtualInstanceProvisioningState() []string

func ValidateLocationID

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

ValidateLocationID checks that 'input' can be parsed as a Location ID

func ValidateSapVirtualInstanceID

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

ValidateSapVirtualInstanceID checks that 'input' can be parsed as a Sap Virtual Instance ID

Types

type ApplicationServerConfiguration

type ApplicationServerConfiguration struct {
	InstanceCount               int64                       `json:"instanceCount"`
	SubnetId                    string                      `json:"subnetId"`
	VirtualMachineConfiguration VirtualMachineConfiguration `json:"virtualMachineConfiguration"`
}

type ApplicationServerFullResourceNames

type ApplicationServerFullResourceNames struct {
	AvailabilitySetName *string                        `json:"availabilitySetName,omitempty"`
	VirtualMachines     *[]VirtualMachineResourceNames `json:"virtualMachines,omitempty"`
}

type BaseFileShareConfigurationImpl

type BaseFileShareConfigurationImpl struct {
	ConfigurationType FileShareConfigurationType `json:"configurationType"`
}

func (BaseFileShareConfigurationImpl) FileShareConfiguration

type BaseInfrastructureConfigurationImpl

type BaseInfrastructureConfigurationImpl struct {
	AppResourceGroup string            `json:"appResourceGroup"`
	DeploymentType   SAPDeploymentType `json:"deploymentType"`
}

func (BaseInfrastructureConfigurationImpl) InfrastructureConfiguration

type BaseOSConfigurationImpl

type BaseOSConfigurationImpl struct {
	OsType OSType `json:"osType"`
}

func (BaseOSConfigurationImpl) OSConfiguration

type BaseSAPConfigurationImpl

type BaseSAPConfigurationImpl struct {
	ConfigurationType SAPConfigurationType `json:"configurationType"`
}

func (BaseSAPConfigurationImpl) SAPConfiguration

type BaseSAPSizingRecommendationResultImpl

type BaseSAPSizingRecommendationResultImpl struct {
	DeploymentType SAPDeploymentType `json:"deploymentType"`
}

func (BaseSAPSizingRecommendationResultImpl) SAPSizingRecommendationResult

type BaseSingleServerCustomResourceNamesImpl

type BaseSingleServerCustomResourceNamesImpl struct {
	NamingPatternType NamingPatternType `json:"namingPatternType"`
}

func (BaseSingleServerCustomResourceNamesImpl) SingleServerCustomResourceNames

type BaseSoftwareConfigurationImpl

type BaseSoftwareConfigurationImpl struct {
	SoftwareInstallationType SAPSoftwareInstallationType `json:"softwareInstallationType"`
}

func (BaseSoftwareConfigurationImpl) SoftwareConfiguration

type BaseThreeTierCustomResourceNamesImpl

type BaseThreeTierCustomResourceNamesImpl struct {
	NamingPatternType NamingPatternType `json:"namingPatternType"`
}

func (BaseThreeTierCustomResourceNamesImpl) ThreeTierCustomResourceNames

type CentralServerConfiguration

type CentralServerConfiguration struct {
	InstanceCount               int64                       `json:"instanceCount"`
	SubnetId                    string                      `json:"subnetId"`
	VirtualMachineConfiguration VirtualMachineConfiguration `json:"virtualMachineConfiguration"`
}

type CentralServerFullResourceNames

type CentralServerFullResourceNames struct {
	AvailabilitySetName *string                        `json:"availabilitySetName,omitempty"`
	LoadBalancer        *LoadBalancerResourceNames     `json:"loadBalancer,omitempty"`
	VirtualMachines     *[]VirtualMachineResourceNames `json:"virtualMachines,omitempty"`
}

type CreateAndMountFileShareConfiguration

type CreateAndMountFileShareConfiguration struct {
	ResourceGroup      *string `json:"resourceGroup,omitempty"`
	StorageAccountName *string `json:"storageAccountName,omitempty"`

	ConfigurationType FileShareConfigurationType `json:"configurationType"`
}

func (CreateAndMountFileShareConfiguration) FileShareConfiguration

func (CreateAndMountFileShareConfiguration) MarshalJSON

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

type CreateOperationResponse

type CreateOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SAPVirtualInstance
}

type DatabaseConfiguration

type DatabaseConfiguration struct {
	DatabaseType                *SAPDatabaseType            `json:"databaseType,omitempty"`
	DiskConfiguration           *DiskConfiguration          `json:"diskConfiguration,omitempty"`
	InstanceCount               int64                       `json:"instanceCount"`
	SubnetId                    string                      `json:"subnetId"`
	VirtualMachineConfiguration VirtualMachineConfiguration `json:"virtualMachineConfiguration"`
}

type DatabaseServerFullResourceNames

type DatabaseServerFullResourceNames struct {
	AvailabilitySetName *string                        `json:"availabilitySetName,omitempty"`
	LoadBalancer        *LoadBalancerResourceNames     `json:"loadBalancer,omitempty"`
	VirtualMachines     *[]VirtualMachineResourceNames `json:"virtualMachines,omitempty"`
}

type DeleteOperationResponse

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

type DeployerVMPackages

type DeployerVMPackages struct {
	StorageAccountId *string `json:"storageAccountId,omitempty"`
	Url              *string `json:"url,omitempty"`
}

type DeploymentConfiguration

type DeploymentConfiguration struct {
	AppLocation                 *string                     `json:"appLocation,omitempty"`
	InfrastructureConfiguration InfrastructureConfiguration `json:"infrastructureConfiguration"`
	SoftwareConfiguration       SoftwareConfiguration       `json:"softwareConfiguration"`

	ConfigurationType SAPConfigurationType `json:"configurationType"`
}

func (DeploymentConfiguration) MarshalJSON

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

func (DeploymentConfiguration) SAPConfiguration

func (*DeploymentConfiguration) UnmarshalJSON

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

type DeploymentWithOSConfiguration

type DeploymentWithOSConfiguration struct {
	AppLocation                 *string                     `json:"appLocation,omitempty"`
	InfrastructureConfiguration InfrastructureConfiguration `json:"infrastructureConfiguration"`
	OsSapConfiguration          *OsSapConfiguration         `json:"osSapConfiguration,omitempty"`
	SoftwareConfiguration       SoftwareConfiguration       `json:"softwareConfiguration"`

	ConfigurationType SAPConfigurationType `json:"configurationType"`
}

func (DeploymentWithOSConfiguration) MarshalJSON

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

func (DeploymentWithOSConfiguration) SAPConfiguration

func (*DeploymentWithOSConfiguration) UnmarshalJSON

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

type DiscoveryConfiguration

type DiscoveryConfiguration struct {
	AppLocation                 *string `json:"appLocation,omitempty"`
	CentralServerVMId           *string `json:"centralServerVmId,omitempty"`
	ManagedRgStorageAccountName *string `json:"managedRgStorageAccountName,omitempty"`

	ConfigurationType SAPConfigurationType `json:"configurationType"`
}

func (DiscoveryConfiguration) MarshalJSON

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

func (DiscoveryConfiguration) SAPConfiguration

func (s DiscoveryConfiguration) SAPConfiguration() BaseSAPConfigurationImpl

type DiskConfiguration

type DiskConfiguration struct {
	DiskVolumeConfigurations *map[string]DiskVolumeConfiguration `json:"diskVolumeConfigurations,omitempty"`
}

type DiskDetails

type DiskDetails struct {
	DiskTier                  *string  `json:"diskTier,omitempty"`
	IopsReadWrite             *int64   `json:"iopsReadWrite,omitempty"`
	MaximumSupportedDiskCount *int64   `json:"maximumSupportedDiskCount,omitempty"`
	MbpsReadWrite             *int64   `json:"mbpsReadWrite,omitempty"`
	MinimumSupportedDiskCount *int64   `json:"minimumSupportedDiskCount,omitempty"`
	SizeGB                    *int64   `json:"sizeGB,omitempty"`
	Sku                       *DiskSku `json:"sku,omitempty"`
}

type DiskSku

type DiskSku struct {
	Name *DiskSkuName `json:"name,omitempty"`
}

type DiskSkuName

type DiskSkuName string
const (
	DiskSkuNamePremiumLRS     DiskSkuName = "Premium_LRS"
	DiskSkuNamePremiumVTwoLRS DiskSkuName = "PremiumV2_LRS"
	DiskSkuNamePremiumZRS     DiskSkuName = "Premium_ZRS"
	DiskSkuNameStandardLRS    DiskSkuName = "Standard_LRS"
	DiskSkuNameStandardSSDLRS DiskSkuName = "StandardSSD_LRS"
	DiskSkuNameStandardSSDZRS DiskSkuName = "StandardSSD_ZRS"
	DiskSkuNameUltraSSDLRS    DiskSkuName = "UltraSSD_LRS"
)

func (*DiskSkuName) UnmarshalJSON

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

type DiskVolumeConfiguration

type DiskVolumeConfiguration struct {
	Count  *int64   `json:"count,omitempty"`
	SizeGB *int64   `json:"sizeGB,omitempty"`
	Sku    *DiskSku `json:"sku,omitempty"`
}

type ErrorAdditionalInfo

type ErrorAdditionalInfo struct {
	Info *interface{} `json:"info,omitempty"`
	Type *string      `json:"type,omitempty"`
}

type ErrorDefinition

type ErrorDefinition struct {
	Code    *string            `json:"code,omitempty"`
	Details *[]ErrorDefinition `json:"details,omitempty"`
	Message *string            `json:"message,omitempty"`
}

type ErrorDetail

type ErrorDetail struct {
	AdditionalInfo *[]ErrorAdditionalInfo `json:"additionalInfo,omitempty"`
	Code           *string                `json:"code,omitempty"`
	Details        *[]ErrorDetail         `json:"details,omitempty"`
	Message        *string                `json:"message,omitempty"`
	Target         *string                `json:"target,omitempty"`
}

type ExternalInstallationSoftwareConfiguration

type ExternalInstallationSoftwareConfiguration struct {
	CentralServerVMId *string `json:"centralServerVmId,omitempty"`

	SoftwareInstallationType SAPSoftwareInstallationType `json:"softwareInstallationType"`
}

func (ExternalInstallationSoftwareConfiguration) MarshalJSON

func (ExternalInstallationSoftwareConfiguration) SoftwareConfiguration

type FileShareConfiguration

type FileShareConfiguration interface {
	FileShareConfiguration() BaseFileShareConfigurationImpl
}

func UnmarshalFileShareConfigurationImplementation

func UnmarshalFileShareConfigurationImplementation(input []byte) (FileShareConfiguration, error)

type FileShareConfigurationType

type FileShareConfigurationType string
const (
	FileShareConfigurationTypeCreateAndMount FileShareConfigurationType = "CreateAndMount"
	FileShareConfigurationTypeMount          FileShareConfigurationType = "Mount"
	FileShareConfigurationTypeSkip           FileShareConfigurationType = "Skip"
)

func (*FileShareConfigurationType) UnmarshalJSON

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

type GetOperationResponse

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

type HighAvailabilityConfiguration

type HighAvailabilityConfiguration struct {
	HighAvailabilityType SAPHighAvailabilityType `json:"highAvailabilityType"`
}

type HighAvailabilitySoftwareConfiguration

type HighAvailabilitySoftwareConfiguration struct {
	FencingClientId       string `json:"fencingClientId"`
	FencingClientPassword string `json:"fencingClientPassword"`
}

type ImageReference

type ImageReference struct {
	Id        *string `json:"id,omitempty"`
	Offer     *string `json:"offer,omitempty"`
	Publisher *string `json:"publisher,omitempty"`
	Sku       *string `json:"sku,omitempty"`
	Version   *string `json:"version,omitempty"`
}

type InfrastructureConfiguration

type InfrastructureConfiguration interface {
	InfrastructureConfiguration() BaseInfrastructureConfigurationImpl
}

func UnmarshalInfrastructureConfigurationImplementation

func UnmarshalInfrastructureConfigurationImplementation(input []byte) (InfrastructureConfiguration, error)

type InvokeAvailabilityZoneDetailsOperationResponse

type InvokeAvailabilityZoneDetailsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SAPAvailabilityZoneDetailsResult
}

type InvokeDiskConfigurationsOperationResponse

type InvokeDiskConfigurationsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SAPDiskConfigurationsResult
}

type InvokeSapSupportedSkuOperationResponse

type InvokeSapSupportedSkuOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *SAPSupportedResourceSkusResult
}

type InvokeSizingRecommendationsOperationResponse

type InvokeSizingRecommendationsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        SAPSizingRecommendationResult
}

type LinuxConfiguration

type LinuxConfiguration struct {
	DisablePasswordAuthentication *bool             `json:"disablePasswordAuthentication,omitempty"`
	Ssh                           *SshConfiguration `json:"ssh,omitempty"`
	SshKeyPair                    *SshKeyPair       `json:"sshKeyPair,omitempty"`

	OsType OSType `json:"osType"`
}

func (LinuxConfiguration) MarshalJSON

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

func (LinuxConfiguration) OSConfiguration

func (s LinuxConfiguration) OSConfiguration() BaseOSConfigurationImpl

type ListByResourceGroupCompleteResult

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

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        *[]SAPVirtualInstance
}

type ListBySubscriptionCompleteResult

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

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        *[]SAPVirtualInstance
}

type LoadBalancerResourceNames

type LoadBalancerResourceNames struct {
	BackendPoolNames             *[]string `json:"backendPoolNames,omitempty"`
	FrontendIPConfigurationNames *[]string `json:"frontendIpConfigurationNames,omitempty"`
	HealthProbeNames             *[]string `json:"healthProbeNames,omitempty"`
	LoadBalancerName             *string   `json:"loadBalancerName,omitempty"`
}

type LocationId

type LocationId struct {
	SubscriptionId string
	LocationName   string
}

LocationId is a struct representing the Resource ID for a Location

func NewLocationID

func NewLocationID(subscriptionId string, locationName string) LocationId

NewLocationID returns a new LocationId struct

func ParseLocationID

func ParseLocationID(input string) (*LocationId, error)

ParseLocationID parses 'input' into a LocationId

func ParseLocationIDInsensitively

func ParseLocationIDInsensitively(input string) (*LocationId, error)

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

func (*LocationId) FromParseResult

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

func (LocationId) ID

func (id LocationId) ID() string

ID returns the formatted Location ID

func (LocationId) Segments

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

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

func (LocationId) String

func (id LocationId) String() string

String returns a human-readable description of this Location ID

type ManagedRGConfiguration

type ManagedRGConfiguration struct {
	Name *string `json:"name,omitempty"`
}

type ManagedResourcesNetworkAccessType

type ManagedResourcesNetworkAccessType string
const (
	ManagedResourcesNetworkAccessTypePrivate ManagedResourcesNetworkAccessType = "Private"
	ManagedResourcesNetworkAccessTypePublic  ManagedResourcesNetworkAccessType = "Public"
)

func (*ManagedResourcesNetworkAccessType) UnmarshalJSON

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

type MountFileShareConfiguration

type MountFileShareConfiguration struct {
	Id                string `json:"id"`
	PrivateEndpointId string `json:"privateEndpointId"`

	ConfigurationType FileShareConfigurationType `json:"configurationType"`
}

func (MountFileShareConfiguration) FileShareConfiguration

func (MountFileShareConfiguration) MarshalJSON

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

type NamingPatternType

type NamingPatternType string
const (
	NamingPatternTypeFullResourceName NamingPatternType = "FullResourceName"
)

func (*NamingPatternType) UnmarshalJSON

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

type NetworkConfiguration

type NetworkConfiguration struct {
	IsSecondaryIPEnabled *bool `json:"isSecondaryIpEnabled,omitempty"`
}

type NetworkInterfaceResourceNames

type NetworkInterfaceResourceNames struct {
	NetworkInterfaceName *string `json:"networkInterfaceName,omitempty"`
}

type OSConfiguration

type OSConfiguration interface {
	OSConfiguration() BaseOSConfigurationImpl
}

func UnmarshalOSConfigurationImplementation

func UnmarshalOSConfigurationImplementation(input []byte) (OSConfiguration, error)

type OSProfile

type OSProfile struct {
	AdminPassword   *string         `json:"adminPassword,omitempty"`
	AdminUsername   *string         `json:"adminUsername,omitempty"`
	OsConfiguration OSConfiguration `json:"osConfiguration"`
}

func (*OSProfile) UnmarshalJSON

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

type OSType

type OSType string
const (
	OSTypeLinux   OSType = "Linux"
	OSTypeWindows OSType = "Windows"
)

func (*OSType) UnmarshalJSON

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

type OperationStatusResult

type OperationStatusResult struct {
	EndTime         *string                  `json:"endTime,omitempty"`
	Error           *ErrorDetail             `json:"error,omitempty"`
	Id              *string                  `json:"id,omitempty"`
	Name            *string                  `json:"name,omitempty"`
	Operations      *[]OperationStatusResult `json:"operations,omitempty"`
	PercentComplete *float64                 `json:"percentComplete,omitempty"`
	ResourceId      *string                  `json:"resourceId,omitempty"`
	StartTime       *string                  `json:"startTime,omitempty"`
	Status          string                   `json:"status"`
}

func (*OperationStatusResult) GetEndTimeAsTime

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

func (*OperationStatusResult) GetStartTimeAsTime

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

func (*OperationStatusResult) SetEndTimeAsTime

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

func (*OperationStatusResult) SetStartTimeAsTime

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

type OsSapConfiguration

type OsSapConfiguration struct {
	DeployerVMPackages *DeployerVMPackages `json:"deployerVmPackages,omitempty"`
	SapFqdn            *string             `json:"sapFqdn,omitempty"`
}

type RawFileShareConfigurationImpl

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

RawFileShareConfigurationImpl 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 (RawFileShareConfigurationImpl) FileShareConfiguration

type RawInfrastructureConfigurationImpl

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

RawInfrastructureConfigurationImpl 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 (RawInfrastructureConfigurationImpl) InfrastructureConfiguration

type RawOSConfigurationImpl

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

RawOSConfigurationImpl 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 (RawOSConfigurationImpl) OSConfiguration

func (s RawOSConfigurationImpl) OSConfiguration() BaseOSConfigurationImpl

type RawSAPConfigurationImpl

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

RawSAPConfigurationImpl 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 (RawSAPConfigurationImpl) SAPConfiguration

type RawSAPSizingRecommendationResultImpl

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

RawSAPSizingRecommendationResultImpl 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 (RawSAPSizingRecommendationResultImpl) SAPSizingRecommendationResult

type RawSingleServerCustomResourceNamesImpl

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

RawSingleServerCustomResourceNamesImpl 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 (RawSingleServerCustomResourceNamesImpl) SingleServerCustomResourceNames

type RawSoftwareConfigurationImpl

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

RawSoftwareConfigurationImpl 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 (RawSoftwareConfigurationImpl) SoftwareConfiguration

type RawThreeTierCustomResourceNamesImpl

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

RawThreeTierCustomResourceNamesImpl 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 (RawThreeTierCustomResourceNamesImpl) ThreeTierCustomResourceNames

type SAPAvailabilityZoneDetailsRequest

type SAPAvailabilityZoneDetailsRequest struct {
	AppLocation  string          `json:"appLocation"`
	DatabaseType SAPDatabaseType `json:"databaseType"`
	SapProduct   SAPProductType  `json:"sapProduct"`
}

type SAPAvailabilityZoneDetailsResult

type SAPAvailabilityZoneDetailsResult struct {
	AvailabilityZonePairs *[]SAPAvailabilityZonePair `json:"availabilityZonePairs,omitempty"`
}

type SAPAvailabilityZonePair

type SAPAvailabilityZonePair struct {
	ZoneA *int64 `json:"zoneA,omitempty"`
	ZoneB *int64 `json:"zoneB,omitempty"`
}

type SAPConfiguration

type SAPConfiguration interface {
	SAPConfiguration() BaseSAPConfigurationImpl
}

func UnmarshalSAPConfigurationImplementation

func UnmarshalSAPConfigurationImplementation(input []byte) (SAPConfiguration, error)

type SAPConfigurationType

type SAPConfigurationType string
const (
	SAPConfigurationTypeDeployment             SAPConfigurationType = "Deployment"
	SAPConfigurationTypeDeploymentWithOSConfig SAPConfigurationType = "DeploymentWithOSConfig"
	SAPConfigurationTypeDiscovery              SAPConfigurationType = "Discovery"
)

func (*SAPConfigurationType) UnmarshalJSON

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

type SAPDatabaseScaleMethod

type SAPDatabaseScaleMethod string
const (
	SAPDatabaseScaleMethodScaleUp SAPDatabaseScaleMethod = "ScaleUp"
)

func (*SAPDatabaseScaleMethod) UnmarshalJSON

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

type SAPDatabaseType

type SAPDatabaseType string
const (
	SAPDatabaseTypeDBTwo SAPDatabaseType = "DB2"
	SAPDatabaseTypeHANA  SAPDatabaseType = "HANA"
)

func (*SAPDatabaseType) UnmarshalJSON

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

type SAPDeploymentType

type SAPDeploymentType string
const (
	SAPDeploymentTypeSingleServer SAPDeploymentType = "SingleServer"
	SAPDeploymentTypeThreeTier    SAPDeploymentType = "ThreeTier"
)

func (*SAPDeploymentType) UnmarshalJSON

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

type SAPDiskConfiguration

type SAPDiskConfiguration struct {
	RecommendedConfiguration *DiskVolumeConfiguration `json:"recommendedConfiguration,omitempty"`
	SupportedConfigurations  *[]DiskDetails           `json:"supportedConfigurations,omitempty"`
}

type SAPDiskConfigurationsRequest

type SAPDiskConfigurationsRequest struct {
	AppLocation    string             `json:"appLocation"`
	DatabaseType   SAPDatabaseType    `json:"databaseType"`
	DbVMSku        string             `json:"dbVmSku"`
	DeploymentType SAPDeploymentType  `json:"deploymentType"`
	Environment    SAPEnvironmentType `json:"environment"`
	SapProduct     SAPProductType     `json:"sapProduct"`
}

type SAPDiskConfigurationsResult

type SAPDiskConfigurationsResult struct {
	VolumeConfigurations *map[string]SAPDiskConfiguration `json:"volumeConfigurations,omitempty"`
}

type SAPEnvironmentType

type SAPEnvironmentType string
const (
	SAPEnvironmentTypeNonProd SAPEnvironmentType = "NonProd"
	SAPEnvironmentTypeProd    SAPEnvironmentType = "Prod"
)

func (*SAPEnvironmentType) UnmarshalJSON

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

type SAPHealthState

type SAPHealthState string
const (
	SAPHealthStateDegraded  SAPHealthState = "Degraded"
	SAPHealthStateHealthy   SAPHealthState = "Healthy"
	SAPHealthStateUnhealthy SAPHealthState = "Unhealthy"
	SAPHealthStateUnknown   SAPHealthState = "Unknown"
)

func (*SAPHealthState) UnmarshalJSON

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

type SAPHighAvailabilityType

type SAPHighAvailabilityType string
const (
	SAPHighAvailabilityTypeAvailabilitySet  SAPHighAvailabilityType = "AvailabilitySet"
	SAPHighAvailabilityTypeAvailabilityZone SAPHighAvailabilityType = "AvailabilityZone"
)

func (*SAPHighAvailabilityType) UnmarshalJSON

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

type SAPInstallWithoutOSConfigSoftwareConfiguration

type SAPInstallWithoutOSConfigSoftwareConfiguration struct {
	BomURL                                string                                 `json:"bomUrl"`
	HighAvailabilitySoftwareConfiguration *HighAvailabilitySoftwareConfiguration `json:"highAvailabilitySoftwareConfiguration,omitempty"`
	SapBitsStorageAccountId               string                                 `json:"sapBitsStorageAccountId"`
	SoftwareVersion                       string                                 `json:"softwareVersion"`

	SoftwareInstallationType SAPSoftwareInstallationType `json:"softwareInstallationType"`
}

func (SAPInstallWithoutOSConfigSoftwareConfiguration) MarshalJSON

func (SAPInstallWithoutOSConfigSoftwareConfiguration) SoftwareConfiguration

type SAPProductType

type SAPProductType string
const (
	SAPProductTypeECC       SAPProductType = "ECC"
	SAPProductTypeOther     SAPProductType = "Other"
	SAPProductTypeSFourHANA SAPProductType = "S4HANA"
)

func (*SAPProductType) UnmarshalJSON

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

type SAPSizingRecommendationRequest

type SAPSizingRecommendationRequest struct {
	AppLocation          string                   `json:"appLocation"`
	DatabaseType         SAPDatabaseType          `json:"databaseType"`
	DbMemory             int64                    `json:"dbMemory"`
	DbScaleMethod        *SAPDatabaseScaleMethod  `json:"dbScaleMethod,omitempty"`
	DeploymentType       SAPDeploymentType        `json:"deploymentType"`
	Environment          SAPEnvironmentType       `json:"environment"`
	HighAvailabilityType *SAPHighAvailabilityType `json:"highAvailabilityType,omitempty"`
	SapProduct           SAPProductType           `json:"sapProduct"`
	Saps                 int64                    `json:"saps"`
}

type SAPSizingRecommendationResult

type SAPSizingRecommendationResult interface {
	SAPSizingRecommendationResult() BaseSAPSizingRecommendationResultImpl
}

func UnmarshalSAPSizingRecommendationResultImplementation

func UnmarshalSAPSizingRecommendationResultImplementation(input []byte) (SAPSizingRecommendationResult, error)

type SAPSoftwareInstallationType

type SAPSoftwareInstallationType string
const (
	SAPSoftwareInstallationTypeExternal                  SAPSoftwareInstallationType = "External"
	SAPSoftwareInstallationTypeSAPInstallWithoutOSConfig SAPSoftwareInstallationType = "SAPInstallWithoutOSConfig"
	SAPSoftwareInstallationTypeServiceInitiated          SAPSoftwareInstallationType = "ServiceInitiated"
)

func (*SAPSoftwareInstallationType) UnmarshalJSON

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

type SAPSupportedResourceSkusResult

type SAPSupportedResourceSkusResult struct {
	SupportedSkus *[]SAPSupportedSku `json:"supportedSkus,omitempty"`
}

type SAPSupportedSku

type SAPSupportedSku struct {
	IsAppServerCertified *bool   `json:"isAppServerCertified,omitempty"`
	IsDatabaseCertified  *bool   `json:"isDatabaseCertified,omitempty"`
	VMSku                *string `json:"vmSku,omitempty"`
}

type SAPSupportedSkusRequest

type SAPSupportedSkusRequest struct {
	AppLocation          string                   `json:"appLocation"`
	DatabaseType         SAPDatabaseType          `json:"databaseType"`
	DeploymentType       SAPDeploymentType        `json:"deploymentType"`
	Environment          SAPEnvironmentType       `json:"environment"`
	HighAvailabilityType *SAPHighAvailabilityType `json:"highAvailabilityType,omitempty"`
	SapProduct           SAPProductType           `json:"sapProduct"`
}

type SAPVirtualInstance

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

type SAPVirtualInstanceError

type SAPVirtualInstanceError struct {
	Properties *ErrorDefinition `json:"properties,omitempty"`
}

type SAPVirtualInstanceOperationPredicate

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

func (SAPVirtualInstanceOperationPredicate) Matches

type SAPVirtualInstanceProperties

type SAPVirtualInstanceProperties struct {
	Configuration                     SAPConfiguration                     `json:"configuration"`
	Environment                       SAPEnvironmentType                   `json:"environment"`
	Errors                            *SAPVirtualInstanceError             `json:"errors,omitempty"`
	Health                            *SAPHealthState                      `json:"health,omitempty"`
	ManagedResourceGroupConfiguration *ManagedRGConfiguration              `json:"managedResourceGroupConfiguration,omitempty"`
	ManagedResourcesNetworkAccessType *ManagedResourcesNetworkAccessType   `json:"managedResourcesNetworkAccessType,omitempty"`
	ProvisioningState                 *SapVirtualInstanceProvisioningState `json:"provisioningState,omitempty"`
	SapProduct                        SAPProductType                       `json:"sapProduct"`
	State                             *SAPVirtualInstanceState             `json:"state,omitempty"`
	Status                            *SAPVirtualInstanceStatus            `json:"status,omitempty"`
}

func (*SAPVirtualInstanceProperties) UnmarshalJSON

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

type SAPVirtualInstanceState

type SAPVirtualInstanceState string
const (
	SAPVirtualInstanceStateACSSInstallationBlocked            SAPVirtualInstanceState = "ACSSInstallationBlocked"
	SAPVirtualInstanceStateDiscoveryFailed                    SAPVirtualInstanceState = "DiscoveryFailed"
	SAPVirtualInstanceStateDiscoveryInProgress                SAPVirtualInstanceState = "DiscoveryInProgress"
	SAPVirtualInstanceStateDiscoveryPending                   SAPVirtualInstanceState = "DiscoveryPending"
	SAPVirtualInstanceStateInfrastructureDeploymentFailed     SAPVirtualInstanceState = "InfrastructureDeploymentFailed"
	SAPVirtualInstanceStateInfrastructureDeploymentInProgress SAPVirtualInstanceState = "InfrastructureDeploymentInProgress"
	SAPVirtualInstanceStateInfrastructureDeploymentPending    SAPVirtualInstanceState = "InfrastructureDeploymentPending"
	SAPVirtualInstanceStateRegistrationComplete               SAPVirtualInstanceState = "RegistrationComplete"
	SAPVirtualInstanceStateSoftwareDetectionFailed            SAPVirtualInstanceState = "SoftwareDetectionFailed"
	SAPVirtualInstanceStateSoftwareDetectionInProgress        SAPVirtualInstanceState = "SoftwareDetectionInProgress"
	SAPVirtualInstanceStateSoftwareInstallationFailed         SAPVirtualInstanceState = "SoftwareInstallationFailed"
	SAPVirtualInstanceStateSoftwareInstallationInProgress     SAPVirtualInstanceState = "SoftwareInstallationInProgress"
	SAPVirtualInstanceStateSoftwareInstallationPending        SAPVirtualInstanceState = "SoftwareInstallationPending"
)

func (*SAPVirtualInstanceState) UnmarshalJSON

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

type SAPVirtualInstanceStatus

type SAPVirtualInstanceStatus string
const (
	SAPVirtualInstanceStatusOffline          SAPVirtualInstanceStatus = "Offline"
	SAPVirtualInstanceStatusPartiallyRunning SAPVirtualInstanceStatus = "PartiallyRunning"
	SAPVirtualInstanceStatusRunning          SAPVirtualInstanceStatus = "Running"
	SAPVirtualInstanceStatusSoftShutdown     SAPVirtualInstanceStatus = "SoftShutdown"
	SAPVirtualInstanceStatusStarting         SAPVirtualInstanceStatus = "Starting"
	SAPVirtualInstanceStatusStopping         SAPVirtualInstanceStatus = "Stopping"
	SAPVirtualInstanceStatusUnavailable      SAPVirtualInstanceStatus = "Unavailable"
)

func (*SAPVirtualInstanceStatus) UnmarshalJSON

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

type SAPVirtualInstancesClient

type SAPVirtualInstancesClient struct {
	Client *resourcemanager.Client
}

func NewSAPVirtualInstancesClientWithBaseURI

func NewSAPVirtualInstancesClientWithBaseURI(sdkApi sdkEnv.Api) (*SAPVirtualInstancesClient, error)

func (SAPVirtualInstancesClient) Create

Create ...

func (SAPVirtualInstancesClient) CreateThenPoll

CreateThenPoll performs Create then polls until it's completed

func (SAPVirtualInstancesClient) Delete

Delete ...

func (SAPVirtualInstancesClient) DeleteThenPoll

DeleteThenPoll performs Delete then polls until it's completed

func (SAPVirtualInstancesClient) Get

Get ...

func (SAPVirtualInstancesClient) InvokeAvailabilityZoneDetails

InvokeAvailabilityZoneDetails ...

func (SAPVirtualInstancesClient) InvokeDiskConfigurations

InvokeDiskConfigurations ...

func (SAPVirtualInstancesClient) InvokeSapSupportedSku

InvokeSapSupportedSku ...

func (SAPVirtualInstancesClient) InvokeSizingRecommendations

InvokeSizingRecommendations ...

func (SAPVirtualInstancesClient) ListByResourceGroup

ListByResourceGroup ...

func (SAPVirtualInstancesClient) ListByResourceGroupComplete

ListByResourceGroupComplete retrieves all the results into a single object

func (SAPVirtualInstancesClient) ListByResourceGroupCompleteMatchingPredicate

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

ListByResourceGroupCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SAPVirtualInstancesClient) ListBySubscription

ListBySubscription ...

func (SAPVirtualInstancesClient) ListBySubscriptionComplete

ListBySubscriptionComplete retrieves all the results into a single object

func (SAPVirtualInstancesClient) ListBySubscriptionCompleteMatchingPredicate

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

ListBySubscriptionCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (SAPVirtualInstancesClient) Start

Start ...

func (SAPVirtualInstancesClient) StartThenPoll

StartThenPoll performs Start then polls until it's completed

func (SAPVirtualInstancesClient) Stop

Stop ...

func (SAPVirtualInstancesClient) StopThenPoll

StopThenPoll performs Stop then polls until it's completed

func (SAPVirtualInstancesClient) Update

Update ...

func (SAPVirtualInstancesClient) UpdateThenPoll

UpdateThenPoll performs Update then polls until it's completed

type SapVirtualInstanceId

type SapVirtualInstanceId struct {
	SubscriptionId         string
	ResourceGroupName      string
	SapVirtualInstanceName string
}

SapVirtualInstanceId is a struct representing the Resource ID for a Sap Virtual Instance

func NewSapVirtualInstanceID

func NewSapVirtualInstanceID(subscriptionId string, resourceGroupName string, sapVirtualInstanceName string) SapVirtualInstanceId

NewSapVirtualInstanceID returns a new SapVirtualInstanceId struct

func ParseSapVirtualInstanceID

func ParseSapVirtualInstanceID(input string) (*SapVirtualInstanceId, error)

ParseSapVirtualInstanceID parses 'input' into a SapVirtualInstanceId

func ParseSapVirtualInstanceIDInsensitively

func ParseSapVirtualInstanceIDInsensitively(input string) (*SapVirtualInstanceId, error)

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

func (*SapVirtualInstanceId) FromParseResult

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

func (SapVirtualInstanceId) ID

func (id SapVirtualInstanceId) ID() string

ID returns the formatted Sap Virtual Instance ID

func (SapVirtualInstanceId) Segments

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

Segments returns a slice of Resource ID Segments which comprise this Sap Virtual Instance ID

func (SapVirtualInstanceId) String

func (id SapVirtualInstanceId) String() string

String returns a human-readable description of this Sap Virtual Instance ID

type SapVirtualInstanceProvisioningState

type SapVirtualInstanceProvisioningState string
const (
	SapVirtualInstanceProvisioningStateCanceled  SapVirtualInstanceProvisioningState = "Canceled"
	SapVirtualInstanceProvisioningStateCreating  SapVirtualInstanceProvisioningState = "Creating"
	SapVirtualInstanceProvisioningStateDeleting  SapVirtualInstanceProvisioningState = "Deleting"
	SapVirtualInstanceProvisioningStateFailed    SapVirtualInstanceProvisioningState = "Failed"
	SapVirtualInstanceProvisioningStateSucceeded SapVirtualInstanceProvisioningState = "Succeeded"
	SapVirtualInstanceProvisioningStateUpdating  SapVirtualInstanceProvisioningState = "Updating"
)

func (*SapVirtualInstanceProvisioningState) UnmarshalJSON

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

type ServiceInitiatedSoftwareConfiguration

type ServiceInitiatedSoftwareConfiguration struct {
	BomURL                                string                                 `json:"bomUrl"`
	HighAvailabilitySoftwareConfiguration *HighAvailabilitySoftwareConfiguration `json:"highAvailabilitySoftwareConfiguration,omitempty"`
	SapBitsStorageAccountId               string                                 `json:"sapBitsStorageAccountId"`
	SapFqdn                               string                                 `json:"sapFqdn"`
	SoftwareVersion                       string                                 `json:"softwareVersion"`
	SshPrivateKey                         string                                 `json:"sshPrivateKey"`

	SoftwareInstallationType SAPSoftwareInstallationType `json:"softwareInstallationType"`
}

func (ServiceInitiatedSoftwareConfiguration) MarshalJSON

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

func (ServiceInitiatedSoftwareConfiguration) SoftwareConfiguration

type SharedStorageResourceNames

type SharedStorageResourceNames struct {
	SharedStorageAccountName                *string `json:"sharedStorageAccountName,omitempty"`
	SharedStorageAccountPrivateEndPointName *string `json:"sharedStorageAccountPrivateEndPointName,omitempty"`
}

type SingleServerConfiguration

type SingleServerConfiguration struct {
	CustomResourceNames         SingleServerCustomResourceNames `json:"customResourceNames"`
	DatabaseType                *SAPDatabaseType                `json:"databaseType,omitempty"`
	DbDiskConfiguration         *DiskConfiguration              `json:"dbDiskConfiguration,omitempty"`
	NetworkConfiguration        *NetworkConfiguration           `json:"networkConfiguration,omitempty"`
	SubnetId                    string                          `json:"subnetId"`
	VirtualMachineConfiguration VirtualMachineConfiguration     `json:"virtualMachineConfiguration"`

	AppResourceGroup string            `json:"appResourceGroup"`
	DeploymentType   SAPDeploymentType `json:"deploymentType"`
}

func (SingleServerConfiguration) InfrastructureConfiguration

func (s SingleServerConfiguration) InfrastructureConfiguration() BaseInfrastructureConfigurationImpl

func (SingleServerConfiguration) MarshalJSON

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

func (*SingleServerConfiguration) UnmarshalJSON

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

type SingleServerCustomResourceNames

type SingleServerCustomResourceNames interface {
	SingleServerCustomResourceNames() BaseSingleServerCustomResourceNamesImpl
}

func UnmarshalSingleServerCustomResourceNamesImplementation

func UnmarshalSingleServerCustomResourceNamesImplementation(input []byte) (SingleServerCustomResourceNames, error)

type SingleServerFullResourceNames

type SingleServerFullResourceNames struct {
	VirtualMachine *VirtualMachineResourceNames `json:"virtualMachine,omitempty"`

	NamingPatternType NamingPatternType `json:"namingPatternType"`
}

func (SingleServerFullResourceNames) MarshalJSON

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

func (SingleServerFullResourceNames) SingleServerCustomResourceNames

func (s SingleServerFullResourceNames) SingleServerCustomResourceNames() BaseSingleServerCustomResourceNamesImpl

type SingleServerRecommendationResult

type SingleServerRecommendationResult struct {
	VMSku *string `json:"vmSku,omitempty"`

	DeploymentType SAPDeploymentType `json:"deploymentType"`
}

func (SingleServerRecommendationResult) MarshalJSON

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

func (SingleServerRecommendationResult) SAPSizingRecommendationResult

type SkipFileShareConfiguration

type SkipFileShareConfiguration struct {
	ConfigurationType FileShareConfigurationType `json:"configurationType"`
}

func (SkipFileShareConfiguration) FileShareConfiguration

func (SkipFileShareConfiguration) MarshalJSON

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

type SoftwareConfiguration

type SoftwareConfiguration interface {
	SoftwareConfiguration() BaseSoftwareConfigurationImpl
}

func UnmarshalSoftwareConfigurationImplementation

func UnmarshalSoftwareConfigurationImplementation(input []byte) (SoftwareConfiguration, error)

type SshConfiguration

type SshConfiguration struct {
	PublicKeys *[]SshPublicKey `json:"publicKeys,omitempty"`
}

type SshKeyPair

type SshKeyPair struct {
	PrivateKey *string `json:"privateKey,omitempty"`
	PublicKey  *string `json:"publicKey,omitempty"`
}

type SshPublicKey

type SshPublicKey struct {
	KeyData *string `json:"keyData,omitempty"`
}

type StartOperationResponse

type StartOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *OperationStatusResult
}

type StartRequest

type StartRequest struct {
	StartVM *bool `json:"startVm,omitempty"`
}

type StopOperationResponse

type StopOperationResponse struct {
	Poller       pollers.Poller
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *OperationStatusResult
}

type StopRequest

type StopRequest struct {
	DeallocateVM           *bool  `json:"deallocateVm,omitempty"`
	SoftStopTimeoutSeconds *int64 `json:"softStopTimeoutSeconds,omitempty"`
}

type StorageConfiguration

type StorageConfiguration struct {
	TransportFileShareConfiguration FileShareConfiguration `json:"transportFileShareConfiguration"`
}

func (*StorageConfiguration) UnmarshalJSON

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

type ThreeTierConfiguration

type ThreeTierConfiguration struct {
	ApplicationServer      ApplicationServerConfiguration `json:"applicationServer"`
	CentralServer          CentralServerConfiguration     `json:"centralServer"`
	CustomResourceNames    ThreeTierCustomResourceNames   `json:"customResourceNames"`
	DatabaseServer         DatabaseConfiguration          `json:"databaseServer"`
	HighAvailabilityConfig *HighAvailabilityConfiguration `json:"highAvailabilityConfig,omitempty"`
	NetworkConfiguration   *NetworkConfiguration          `json:"networkConfiguration,omitempty"`
	StorageConfiguration   *StorageConfiguration          `json:"storageConfiguration,omitempty"`

	AppResourceGroup string            `json:"appResourceGroup"`
	DeploymentType   SAPDeploymentType `json:"deploymentType"`
}

func (ThreeTierConfiguration) InfrastructureConfiguration

func (s ThreeTierConfiguration) InfrastructureConfiguration() BaseInfrastructureConfigurationImpl

func (ThreeTierConfiguration) MarshalJSON

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

func (*ThreeTierConfiguration) UnmarshalJSON

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

type ThreeTierCustomResourceNames

type ThreeTierCustomResourceNames interface {
	ThreeTierCustomResourceNames() BaseThreeTierCustomResourceNamesImpl
}

func UnmarshalThreeTierCustomResourceNamesImplementation

func UnmarshalThreeTierCustomResourceNamesImplementation(input []byte) (ThreeTierCustomResourceNames, error)

type ThreeTierFullResourceNames

type ThreeTierFullResourceNames struct {
	ApplicationServer *ApplicationServerFullResourceNames `json:"applicationServer,omitempty"`
	CentralServer     *CentralServerFullResourceNames     `json:"centralServer,omitempty"`
	DatabaseServer    *DatabaseServerFullResourceNames    `json:"databaseServer,omitempty"`
	SharedStorage     *SharedStorageResourceNames         `json:"sharedStorage,omitempty"`

	NamingPatternType NamingPatternType `json:"namingPatternType"`
}

func (ThreeTierFullResourceNames) MarshalJSON

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

func (ThreeTierFullResourceNames) ThreeTierCustomResourceNames

func (s ThreeTierFullResourceNames) ThreeTierCustomResourceNames() BaseThreeTierCustomResourceNamesImpl

type ThreeTierRecommendationResult

type ThreeTierRecommendationResult struct {
	ApplicationServerInstanceCount *int64  `json:"applicationServerInstanceCount,omitempty"`
	ApplicationServerVMSku         *string `json:"applicationServerVmSku,omitempty"`
	CentralServerInstanceCount     *int64  `json:"centralServerInstanceCount,omitempty"`
	CentralServerVMSku             *string `json:"centralServerVmSku,omitempty"`
	DatabaseInstanceCount          *int64  `json:"databaseInstanceCount,omitempty"`
	DbVMSku                        *string `json:"dbVmSku,omitempty"`

	DeploymentType SAPDeploymentType `json:"deploymentType"`
}

func (ThreeTierRecommendationResult) MarshalJSON

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

func (ThreeTierRecommendationResult) SAPSizingRecommendationResult

func (s ThreeTierRecommendationResult) SAPSizingRecommendationResult() BaseSAPSizingRecommendationResultImpl

type UpdateOperationResponse

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

type UpdateSAPVirtualInstanceProperties

type UpdateSAPVirtualInstanceProperties struct {
	ManagedResourcesNetworkAccessType *ManagedResourcesNetworkAccessType `json:"managedResourcesNetworkAccessType,omitempty"`
}

type UpdateSAPVirtualInstanceRequest

type UpdateSAPVirtualInstanceRequest struct {
	Identity   *identity.UserAssignedMap           `json:"identity,omitempty"`
	Properties *UpdateSAPVirtualInstanceProperties `json:"properties,omitempty"`
	Tags       *map[string]string                  `json:"tags,omitempty"`
}

type VirtualMachineConfiguration

type VirtualMachineConfiguration struct {
	ImageReference ImageReference `json:"imageReference"`
	OsProfile      OSProfile      `json:"osProfile"`
	VMSize         string         `json:"vmSize"`
}

type VirtualMachineResourceNames

type VirtualMachineResourceNames struct {
	DataDiskNames      *map[string][]string             `json:"dataDiskNames,omitempty"`
	HostName           *string                          `json:"hostName,omitempty"`
	NetworkInterfaces  *[]NetworkInterfaceResourceNames `json:"networkInterfaces,omitempty"`
	OsDiskName         *string                          `json:"osDiskName,omitempty"`
	VirtualMachineName *string                          `json:"vmName,omitempty"`
}

type WindowsConfiguration

type WindowsConfiguration struct {
	OsType OSType `json:"osType"`
}

func (WindowsConfiguration) MarshalJSON

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

func (WindowsConfiguration) OSConfiguration

func (s WindowsConfiguration) OSConfiguration() BaseOSConfigurationImpl

Source Files

Jump to

Keyboard shortcuts

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