sapvirtualinstances

package
v0.20240301.1111622 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MPL-2.0 Imports: 16 Imported by: 1

README

github.com/hashicorp/go-azure-sdk/resource-manager/workloads/2023-04-01/sapvirtualinstances Documentation

The sapvirtualinstances SDK allows for interaction with the Azure Resource Manager Service workloads (API Version 2023-04-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/2023-04-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", "sapVirtualInstanceValue")

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", "sapVirtualInstanceValue")

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", "sapVirtualInstanceValue")

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.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", "sapVirtualInstanceValue")

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

Example Usage: SAPVirtualInstancesClient.Stop

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

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", "sapVirtualInstanceValue")

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


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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PossibleValuesForConfigurationType

func PossibleValuesForConfigurationType() []string

func PossibleValuesForDiskSkuName

func PossibleValuesForDiskSkuName() []string

func PossibleValuesForNamingPatternType

func PossibleValuesForNamingPatternType() []string

func PossibleValuesForOSType

func PossibleValuesForOSType() []string

func PossibleValuesForSAPConfigurationType

func PossibleValuesForSAPConfigurationType() []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 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 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 ConfigurationType

type ConfigurationType string
const (
	ConfigurationTypeCreateAndMount ConfigurationType = "CreateAndMount"
	ConfigurationTypeMount          ConfigurationType = "Mount"
	ConfigurationTypeSkip           ConfigurationType = "Skip"
)

func (*ConfigurationType) UnmarshalJSON

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

type CreateAndMountFileShareConfiguration

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

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
	Model        *OperationStatusResult
}

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

func (DeploymentConfiguration) MarshalJSON

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

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

func (DeploymentWithOSConfiguration) MarshalJSON

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

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

func (DiscoveryConfiguration) MarshalJSON

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

type DiskConfiguration

type DiskConfiguration struct {
	DiskVolumeConfigurations *map[string]DiskVolumeConfiguration `json:"diskVolumeConfigurations,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"`
}

func (ExternalInstallationSoftwareConfiguration) MarshalJSON

type FileShareConfiguration

type FileShareConfiguration interface {
}

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

type LinuxConfiguration

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

func (LinuxConfiguration) MarshalJSON

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

type ListByResourceGroupCompleteResult

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

type ListByResourceGroupOperationResponse

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

type ListBySubscriptionCompleteResult

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

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 ManagedRGConfiguration

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

type MountFileShareConfiguration

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

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

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

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).

type RawInfrastructureConfigurationImpl

type RawInfrastructureConfigurationImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawOSConfigurationImpl

type RawOSConfigurationImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawSAPConfigurationImpl

type RawSAPConfigurationImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawSingleServerCustomResourceNamesImpl

type RawSingleServerCustomResourceNamesImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawSoftwareConfigurationImpl

type RawSoftwareConfigurationImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type RawThreeTierCustomResourceNamesImpl

type RawThreeTierCustomResourceNamesImpl struct {
	Type   string
	Values map[string]interface{}
}

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).

type SAPConfiguration

type SAPConfiguration interface {
}

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

func (SAPInstallWithoutOSConfigSoftwareConfiguration) MarshalJSON

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 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 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"`
	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"`
	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 (
	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) 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 ...

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

func (ServiceInitiatedSoftwareConfiguration) MarshalJSON

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

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

	// Fields inherited from InfrastructureConfiguration
	AppResourceGroup string `json:"appResourceGroup"`
}

func (SingleServerConfiguration) MarshalJSON

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

func (*SingleServerConfiguration) UnmarshalJSON

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

type SingleServerCustomResourceNames

type SingleServerCustomResourceNames interface {
}

type SingleServerFullResourceNames

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

func (SingleServerFullResourceNames) MarshalJSON

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

type SkipFileShareConfiguration

type SkipFileShareConfiguration struct {
}

func (SkipFileShareConfiguration) MarshalJSON

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

type SoftwareConfiguration

type SoftwareConfiguration interface {
}

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 StopOperationResponse

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

type StopRequest

type StopRequest struct {
	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"`

	// Fields inherited from InfrastructureConfiguration
	AppResourceGroup string `json:"appResourceGroup"`
}

func (ThreeTierConfiguration) MarshalJSON

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

func (*ThreeTierConfiguration) UnmarshalJSON

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

type ThreeTierCustomResourceNames

type ThreeTierCustomResourceNames interface {
}

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

func (ThreeTierFullResourceNames) MarshalJSON

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

type UpdateOperationResponse

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

type UpdateSAPVirtualInstanceRequest

type UpdateSAPVirtualInstanceRequest struct {
	Identity *identity.UserAssignedMap `json:"identity,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 {
}

func (WindowsConfiguration) MarshalJSON

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

Source Files

Jump to

Keyboard shortcuts

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