Documentation ¶
Index ¶
- func PossibleValuesForConfigurationType() []string
- func PossibleValuesForDiskSkuName() []string
- func PossibleValuesForNamingPatternType() []string
- func PossibleValuesForOSType() []string
- func PossibleValuesForSAPConfigurationType() []string
- func PossibleValuesForSAPDatabaseType() []string
- func PossibleValuesForSAPDeploymentType() []string
- func PossibleValuesForSAPEnvironmentType() []string
- func PossibleValuesForSAPHealthState() []string
- func PossibleValuesForSAPHighAvailabilityType() []string
- func PossibleValuesForSAPProductType() []string
- func PossibleValuesForSAPSoftwareInstallationType() []string
- func PossibleValuesForSAPVirtualInstanceState() []string
- func PossibleValuesForSAPVirtualInstanceStatus() []string
- func PossibleValuesForSapVirtualInstanceProvisioningState() []string
- func ValidateSapVirtualInstanceID(input interface{}, key string) (warnings []string, errors []error)
- type ApplicationServerConfiguration
- type ApplicationServerFullResourceNames
- type CentralServerConfiguration
- type CentralServerFullResourceNames
- type ConfigurationType
- type CreateAndMountFileShareConfiguration
- type CreateOperationResponse
- type DatabaseConfiguration
- type DatabaseServerFullResourceNames
- type DeleteOperationResponse
- type DeployerVMPackages
- type DeploymentConfiguration
- type DeploymentWithOSConfiguration
- type DiscoveryConfiguration
- type DiskConfiguration
- type DiskSku
- type DiskSkuName
- type DiskVolumeConfiguration
- type ErrorAdditionalInfo
- type ErrorDefinition
- type ErrorDetail
- type ExternalInstallationSoftwareConfiguration
- type FileShareConfiguration
- type GetOperationResponse
- type HighAvailabilityConfiguration
- type HighAvailabilitySoftwareConfiguration
- type ImageReference
- type InfrastructureConfiguration
- type LinuxConfiguration
- type ListByResourceGroupCompleteResult
- type ListByResourceGroupOperationResponse
- type ListBySubscriptionCompleteResult
- type ListBySubscriptionOperationResponse
- type LoadBalancerResourceNames
- type ManagedRGConfiguration
- type MountFileShareConfiguration
- type NamingPatternType
- type NetworkConfiguration
- type NetworkInterfaceResourceNames
- type OSConfiguration
- type OSProfile
- type OSType
- type OperationStatusResult
- type OsSapConfiguration
- type SAPConfiguration
- type SAPConfigurationType
- type SAPDatabaseType
- type SAPDeploymentType
- type SAPEnvironmentType
- type SAPHealthState
- type SAPHighAvailabilityType
- type SAPInstallWithoutOSConfigSoftwareConfiguration
- type SAPProductType
- type SAPSoftwareInstallationType
- type SAPVirtualInstance
- type SAPVirtualInstanceError
- type SAPVirtualInstanceOperationPredicate
- type SAPVirtualInstanceProperties
- type SAPVirtualInstanceState
- type SAPVirtualInstanceStatus
- type SAPVirtualInstancesClient
- func (c SAPVirtualInstancesClient) Create(ctx context.Context, id SapVirtualInstanceId, input SAPVirtualInstance) (result CreateOperationResponse, err error)
- func (c SAPVirtualInstancesClient) CreateThenPoll(ctx context.Context, id SapVirtualInstanceId, input SAPVirtualInstance) error
- func (c SAPVirtualInstancesClient) Delete(ctx context.Context, id SapVirtualInstanceId) (result DeleteOperationResponse, err error)
- func (c SAPVirtualInstancesClient) DeleteThenPoll(ctx context.Context, id SapVirtualInstanceId) error
- func (c SAPVirtualInstancesClient) Get(ctx context.Context, id SapVirtualInstanceId) (result GetOperationResponse, err error)
- func (c SAPVirtualInstancesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
- func (c SAPVirtualInstancesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
- func (c SAPVirtualInstancesClient) ListByResourceGroupCompleteMatchingPredicate(ctx context.Context, id commonids.ResourceGroupId, ...) (result ListByResourceGroupCompleteResult, err error)
- func (c SAPVirtualInstancesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
- func (c SAPVirtualInstancesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
- func (c SAPVirtualInstancesClient) ListBySubscriptionCompleteMatchingPredicate(ctx context.Context, id commonids.SubscriptionId, ...) (result ListBySubscriptionCompleteResult, err error)
- func (c SAPVirtualInstancesClient) Start(ctx context.Context, id SapVirtualInstanceId) (result StartOperationResponse, err error)
- func (c SAPVirtualInstancesClient) StartThenPoll(ctx context.Context, id SapVirtualInstanceId) error
- func (c SAPVirtualInstancesClient) Stop(ctx context.Context, id SapVirtualInstanceId, input StopRequest) (result StopOperationResponse, err error)
- func (c SAPVirtualInstancesClient) StopThenPoll(ctx context.Context, id SapVirtualInstanceId, input StopRequest) error
- func (c SAPVirtualInstancesClient) Update(ctx context.Context, id SapVirtualInstanceId, ...) (result UpdateOperationResponse, err error)
- type SapVirtualInstanceId
- type SapVirtualInstanceProvisioningState
- type ServiceInitiatedSoftwareConfiguration
- type SharedStorageResourceNames
- type SingleServerConfiguration
- type SingleServerCustomResourceNames
- type SingleServerFullResourceNames
- type SkipFileShareConfiguration
- type SoftwareConfiguration
- type SshConfiguration
- type SshKeyPair
- type SshPublicKey
- type StartOperationResponse
- type StopOperationResponse
- type StopRequest
- type StorageConfiguration
- type ThreeTierConfiguration
- type ThreeTierCustomResourceNames
- type ThreeTierFullResourceNames
- type UpdateOperationResponse
- type UpdateSAPVirtualInstanceRequest
- type VirtualMachineConfiguration
- type VirtualMachineResourceNames
- type WindowsConfiguration
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 {}
func (CreateAndMountFileShareConfiguration) MarshalJSON ¶
func (s CreateAndMountFileShareConfiguration) MarshalJSON() ([]byte, error)
type CreateOperationResponse ¶
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 DeployerVMPackages ¶
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 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 ¶
func (s ExternalInstallationSoftwareConfiguration) MarshalJSON() ([]byte, error)
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 ImageReference ¶
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 {
Items []SAPVirtualInstance
}
type ListByResourceGroupOperationResponse ¶
type ListByResourceGroupOperationResponse struct { HttpResponse *http.Response OData *odata.OData Model *[]SAPVirtualInstance }
type ListBySubscriptionCompleteResult ¶
type ListBySubscriptionCompleteResult struct {
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 {}
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 ¶
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 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 ¶
func (s SAPInstallWithoutOSConfigSoftwareConfiguration) MarshalJSON() ([]byte, error)
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 ¶
func (p SAPVirtualInstanceOperationPredicate) Matches(input SAPVirtualInstance) bool
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" )
func (*SAPVirtualInstanceStatus) UnmarshalJSON ¶
func (s *SAPVirtualInstanceStatus) UnmarshalJSON(bytes []byte) error
type SAPVirtualInstancesClient ¶
type SAPVirtualInstancesClient struct {
Client *resourcemanager.Client
}
func NewSAPVirtualInstancesClientWithBaseURI ¶
func NewSAPVirtualInstancesClientWithBaseURI(api environments.Api) (*SAPVirtualInstancesClient, error)
func (SAPVirtualInstancesClient) Create ¶
func (c SAPVirtualInstancesClient) Create(ctx context.Context, id SapVirtualInstanceId, input SAPVirtualInstance) (result CreateOperationResponse, err error)
Create ...
func (SAPVirtualInstancesClient) CreateThenPoll ¶
func (c SAPVirtualInstancesClient) CreateThenPoll(ctx context.Context, id SapVirtualInstanceId, input SAPVirtualInstance) error
CreateThenPoll performs Create then polls until it's completed
func (SAPVirtualInstancesClient) Delete ¶
func (c SAPVirtualInstancesClient) Delete(ctx context.Context, id SapVirtualInstanceId) (result DeleteOperationResponse, err error)
Delete ...
func (SAPVirtualInstancesClient) DeleteThenPoll ¶
func (c SAPVirtualInstancesClient) DeleteThenPoll(ctx context.Context, id SapVirtualInstanceId) error
DeleteThenPoll performs Delete then polls until it's completed
func (SAPVirtualInstancesClient) Get ¶
func (c SAPVirtualInstancesClient) Get(ctx context.Context, id SapVirtualInstanceId) (result GetOperationResponse, err error)
Get ...
func (SAPVirtualInstancesClient) ListByResourceGroup ¶
func (c SAPVirtualInstancesClient) ListByResourceGroup(ctx context.Context, id commonids.ResourceGroupId) (result ListByResourceGroupOperationResponse, err error)
ListByResourceGroup ...
func (SAPVirtualInstancesClient) ListByResourceGroupComplete ¶
func (c SAPVirtualInstancesClient) ListByResourceGroupComplete(ctx context.Context, id commonids.ResourceGroupId) (ListByResourceGroupCompleteResult, error)
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 ¶
func (c SAPVirtualInstancesClient) ListBySubscription(ctx context.Context, id commonids.SubscriptionId) (result ListBySubscriptionOperationResponse, err error)
ListBySubscription ...
func (SAPVirtualInstancesClient) ListBySubscriptionComplete ¶
func (c SAPVirtualInstancesClient) ListBySubscriptionComplete(ctx context.Context, id commonids.SubscriptionId) (ListBySubscriptionCompleteResult, error)
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 ¶
func (c SAPVirtualInstancesClient) Start(ctx context.Context, id SapVirtualInstanceId) (result StartOperationResponse, err error)
Start ...
func (SAPVirtualInstancesClient) StartThenPoll ¶
func (c SAPVirtualInstancesClient) StartThenPoll(ctx context.Context, id SapVirtualInstanceId) error
StartThenPoll performs Start then polls until it's completed
func (SAPVirtualInstancesClient) Stop ¶
func (c SAPVirtualInstancesClient) Stop(ctx context.Context, id SapVirtualInstanceId, input StopRequest) (result StopOperationResponse, err error)
Stop ...
func (SAPVirtualInstancesClient) StopThenPoll ¶
func (c SAPVirtualInstancesClient) StopThenPoll(ctx context.Context, id SapVirtualInstanceId, input StopRequest) error
StopThenPoll performs Stop then polls until it's completed
func (SAPVirtualInstancesClient) Update ¶
func (c SAPVirtualInstancesClient) Update(ctx context.Context, id SapVirtualInstanceId, input UpdateSAPVirtualInstanceRequest) (result UpdateOperationResponse, err error)
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) 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 {}
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 SshPublicKey ¶
type SshPublicKey struct {
KeyData *string `json:"keyData,omitempty"`
}
type StartOperationResponse ¶
type StopOperationResponse ¶
type StopRequest ¶
type StopRequest struct {
SoftStopTimeoutSeconds *int64 `json:"softStopTimeoutSeconds,omitempty"`
}
type StorageConfiguration ¶
type StorageConfiguration struct {
}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"` }
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 ¶
- client.go
- constants.go
- id_sapvirtualinstance.go
- method_create.go
- method_delete.go
- method_get.go
- method_listbyresourcegroup.go
- method_listbysubscription.go
- method_start.go
- method_stop.go
- method_update.go
- model_applicationserverconfiguration.go
- model_applicationserverfullresourcenames.go
- model_centralserverconfiguration.go
- model_centralserverfullresourcenames.go
- model_createandmountfileshareconfiguration.go
- model_databaseconfiguration.go
- model_databaseserverfullresourcenames.go
- model_deployervmpackages.go
- model_deploymentconfiguration.go
- model_deploymentwithosconfiguration.go
- model_discoveryconfiguration.go
- model_diskconfiguration.go
- model_disksku.go
- model_diskvolumeconfiguration.go
- model_erroradditionalinfo.go
- model_errordefinition.go
- model_errordetail.go
- model_externalinstallationsoftwareconfiguration.go
- model_fileshareconfiguration.go
- model_highavailabilityconfiguration.go
- model_highavailabilitysoftwareconfiguration.go
- model_imagereference.go
- model_infrastructureconfiguration.go
- model_linuxconfiguration.go
- model_loadbalancerresourcenames.go
- model_managedrgconfiguration.go
- model_mountfileshareconfiguration.go
- model_networkconfiguration.go
- model_networkinterfaceresourcenames.go
- model_operationstatusresult.go
- model_osconfiguration.go
- model_osprofile.go
- model_ossapconfiguration.go
- model_sapconfiguration.go
- model_sapinstallwithoutosconfigsoftwareconfiguration.go
- model_sapvirtualinstance.go
- model_sapvirtualinstanceerror.go
- model_sapvirtualinstanceproperties.go
- model_serviceinitiatedsoftwareconfiguration.go
- model_sharedstorageresourcenames.go
- model_singleserverconfiguration.go
- model_singleservercustomresourcenames.go
- model_singleserverfullresourcenames.go
- model_skipfileshareconfiguration.go
- model_softwareconfiguration.go
- model_sshconfiguration.go
- model_sshkeypair.go
- model_sshpublickey.go
- model_stoprequest.go
- model_storageconfiguration.go
- model_threetierconfiguration.go
- model_threetiercustomresourcenames.go
- model_threetierfullresourcenames.go
- model_updatesapvirtualinstancerequest.go
- model_virtualmachineconfiguration.go
- model_virtualmachineresourcenames.go
- model_windowsconfiguration.go
- predicates.go
- version.go