azure-native.workloads.SAPApplicationServerInstance
Explore with Pulumi AI
Define the SAP Application Server Instance resource. API Version: 2021-12-01-preview.
Example Usage
Create SAP Application Server Instances for HA System with Availability Set
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sapApplicationServerInstance = new AzureNative.Workloads.SAPApplicationServerInstance("sapApplicationServerInstance", new()
{
ApplicationInstanceName = "app01",
Location = "westcentralus",
ResourceGroupName = "test-rg",
SapVirtualInstanceName = "X00",
Tags = null,
});
});
package main
import (
workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := workloads.NewSAPApplicationServerInstance(ctx, "sapApplicationServerInstance", &workloads.SAPApplicationServerInstanceArgs{
ApplicationInstanceName: pulumi.String("app01"),
Location: pulumi.String("westcentralus"),
ResourceGroupName: pulumi.String("test-rg"),
SapVirtualInstanceName: pulumi.String("X00"),
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.workloads.SAPApplicationServerInstance;
import com.pulumi.azurenative.workloads.SAPApplicationServerInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var sapApplicationServerInstance = new SAPApplicationServerInstance("sapApplicationServerInstance", SAPApplicationServerInstanceArgs.builder()
.applicationInstanceName("app01")
.location("westcentralus")
.resourceGroupName("test-rg")
.sapVirtualInstanceName("X00")
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
sap_application_server_instance = azure_native.workloads.SAPApplicationServerInstance("sapApplicationServerInstance",
application_instance_name="app01",
location="westcentralus",
resource_group_name="test-rg",
sap_virtual_instance_name="X00",
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const sapApplicationServerInstance = new azure_native.workloads.SAPApplicationServerInstance("sapApplicationServerInstance", {
applicationInstanceName: "app01",
location: "westcentralus",
resourceGroupName: "test-rg",
sapVirtualInstanceName: "X00",
tags: {},
});
resources:
sapApplicationServerInstance:
type: azure-native:workloads:SAPApplicationServerInstance
properties:
applicationInstanceName: app01
location: westcentralus
resourceGroupName: test-rg
sapVirtualInstanceName: X00
tags: {}
SAPApplicationServerInstances_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var sapApplicationServerInstance = new AzureNative.Workloads.SAPApplicationServerInstance("sapApplicationServerInstance", new()
{
ApplicationInstanceName = "app01",
Location = "westcentralus",
ResourceGroupName = "test-rg",
SapVirtualInstanceName = "X00",
Tags = null,
});
});
package main
import (
workloads "github.com/pulumi/pulumi-azure-native-sdk/workloads"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := workloads.NewSAPApplicationServerInstance(ctx, "sapApplicationServerInstance", &workloads.SAPApplicationServerInstanceArgs{
ApplicationInstanceName: pulumi.String("app01"),
Location: pulumi.String("westcentralus"),
ResourceGroupName: pulumi.String("test-rg"),
SapVirtualInstanceName: pulumi.String("X00"),
Tags: nil,
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.workloads.SAPApplicationServerInstance;
import com.pulumi.azurenative.workloads.SAPApplicationServerInstanceArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var sapApplicationServerInstance = new SAPApplicationServerInstance("sapApplicationServerInstance", SAPApplicationServerInstanceArgs.builder()
.applicationInstanceName("app01")
.location("westcentralus")
.resourceGroupName("test-rg")
.sapVirtualInstanceName("X00")
.tags()
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
sap_application_server_instance = azure_native.workloads.SAPApplicationServerInstance("sapApplicationServerInstance",
application_instance_name="app01",
location="westcentralus",
resource_group_name="test-rg",
sap_virtual_instance_name="X00",
tags={})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const sapApplicationServerInstance = new azure_native.workloads.SAPApplicationServerInstance("sapApplicationServerInstance", {
applicationInstanceName: "app01",
location: "westcentralus",
resourceGroupName: "test-rg",
sapVirtualInstanceName: "X00",
tags: {},
});
resources:
sapApplicationServerInstance:
type: azure-native:workloads:SAPApplicationServerInstance
properties:
applicationInstanceName: app01
location: westcentralus
resourceGroupName: test-rg
sapVirtualInstanceName: X00
tags: {}
Create SAPApplicationServerInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SAPApplicationServerInstance(name: string, args: SAPApplicationServerInstanceArgs, opts?: CustomResourceOptions);
@overload
def SAPApplicationServerInstance(resource_name: str,
args: SAPApplicationServerInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SAPApplicationServerInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
sap_virtual_instance_name: Optional[str] = None,
application_instance_name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSAPApplicationServerInstance(ctx *Context, name string, args SAPApplicationServerInstanceArgs, opts ...ResourceOption) (*SAPApplicationServerInstance, error)
public SAPApplicationServerInstance(string name, SAPApplicationServerInstanceArgs args, CustomResourceOptions? opts = null)
public SAPApplicationServerInstance(String name, SAPApplicationServerInstanceArgs args)
public SAPApplicationServerInstance(String name, SAPApplicationServerInstanceArgs args, CustomResourceOptions options)
type: azure-native:workloads:SAPApplicationServerInstance
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SAPApplicationServerInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SAPApplicationServerInstanceArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SAPApplicationServerInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SAPApplicationServerInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SAPApplicationServerInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var sapapplicationServerInstanceResource = new AzureNative.Workloads.SAPApplicationServerInstance("sapapplicationServerInstanceResource", new()
{
ResourceGroupName = "string",
SapVirtualInstanceName = "string",
ApplicationInstanceName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := workloads.NewSAPApplicationServerInstance(ctx, "sapapplicationServerInstanceResource", &workloads.SAPApplicationServerInstanceArgs{
ResourceGroupName: "string",
SapVirtualInstanceName: "string",
ApplicationInstanceName: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var sapapplicationServerInstanceResource = new SAPApplicationServerInstance("sapapplicationServerInstanceResource", SAPApplicationServerInstanceArgs.builder()
.resourceGroupName("string")
.sapVirtualInstanceName("string")
.applicationInstanceName("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
sapapplication_server_instance_resource = azure_native.workloads.SAPApplicationServerInstance("sapapplicationServerInstanceResource",
resource_group_name=string,
sap_virtual_instance_name=string,
application_instance_name=string,
location=string,
tags={
string: string,
})
const sapapplicationServerInstanceResource = new azure_native.workloads.SAPApplicationServerInstance("sapapplicationServerInstanceResource", {
resourceGroupName: "string",
sapVirtualInstanceName: "string",
applicationInstanceName: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:workloads:SAPApplicationServerInstance
properties:
applicationInstanceName: string
location: string
resourceGroupName: string
sapVirtualInstanceName: string
tags:
string: string
SAPApplicationServerInstance Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SAPApplicationServerInstance resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sap
Virtual stringInstance Name - The name of the Virtual Instances for SAP solutions resource
- Application
Instance stringName - The name of SAP Application Server instance resource.
- Location string
- The geo-location where the resource lives
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Sap
Virtual stringInstance Name - The name of the Virtual Instances for SAP solutions resource
- Application
Instance stringName - The name of SAP Application Server instance resource.
- Location string
- The geo-location where the resource lives
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sap
Virtual StringInstance Name - The name of the Virtual Instances for SAP solutions resource
- application
Instance StringName - The name of SAP Application Server instance resource.
- location String
- The geo-location where the resource lives
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- sap
Virtual stringInstance Name - The name of the Virtual Instances for SAP solutions resource
- application
Instance stringName - The name of SAP Application Server instance resource.
- location string
- The geo-location where the resource lives
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- sap_
virtual_ strinstance_ name - The name of the Virtual Instances for SAP solutions resource
- application_
instance_ strname - The name of SAP Application Server instance resource.
- location str
- The geo-location where the resource lives
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- sap
Virtual StringInstance Name - The name of the Virtual Instances for SAP solutions resource
- application
Instance StringName - The name of SAP Application Server instance resource.
- location String
- The geo-location where the resource lives
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SAPApplicationServerInstance resource produces the following output properties:
- Errors
Pulumi.
Azure Native. Workloads. Outputs. SAPVirtual Instance Error Response - Defines the Application Instance errors.
- Gateway
Port double - Application server instance gateway Port.
- Health string
- Defines the health of SAP Instances.
- Hostname string
- Application server instance SAP hostname.
- Icm
Http doublePort - Application server instance ICM HTTP Port.
- Icm
Https doublePort - Application server instance ICM HTTPS Port.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
No string - Application server Instance Number.
- Ip
Address string - Application server instance SAP IP Address.
- Kernel
Patch string - Application server instance SAP Kernel Patch level.
- Kernel
Version string - Application server instance SAP Kernel Version.
- Name string
- The name of the resource
- Provisioning
State string - Defines the provisioning states.
- Status string
- Defines the SAP Instance status.
- Storage
Details List<Pulumi.Azure Native. Workloads. Outputs. Storage Information Response> - Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.
- Subnet string
- Application server Subnet.
- System
Data Pulumi.Azure Native. Workloads. Outputs. System Data Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Virtual
Machine stringId - The virtual machine.
- Errors
SAPVirtual
Instance Error Response - Defines the Application Instance errors.
- Gateway
Port float64 - Application server instance gateway Port.
- Health string
- Defines the health of SAP Instances.
- Hostname string
- Application server instance SAP hostname.
- Icm
Http float64Port - Application server instance ICM HTTP Port.
- Icm
Https float64Port - Application server instance ICM HTTPS Port.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
No string - Application server Instance Number.
- Ip
Address string - Application server instance SAP IP Address.
- Kernel
Patch string - Application server instance SAP Kernel Patch level.
- Kernel
Version string - Application server instance SAP Kernel Version.
- Name string
- The name of the resource
- Provisioning
State string - Defines the provisioning states.
- Status string
- Defines the SAP Instance status.
- Storage
Details []StorageInformation Response - Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.
- Subnet string
- Application server Subnet.
- System
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Virtual
Machine stringId - The virtual machine.
- errors
SAPVirtual
Instance Error Response - Defines the Application Instance errors.
- gateway
Port Double - Application server instance gateway Port.
- health String
- Defines the health of SAP Instances.
- hostname String
- Application server instance SAP hostname.
- icm
Http DoublePort - Application server instance ICM HTTP Port.
- icm
Https DoublePort - Application server instance ICM HTTPS Port.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
No String - Application server Instance Number.
- ip
Address String - Application server instance SAP IP Address.
- kernel
Patch String - Application server instance SAP Kernel Patch level.
- kernel
Version String - Application server instance SAP Kernel Version.
- name String
- The name of the resource
- provisioning
State String - Defines the provisioning states.
- status String
- Defines the SAP Instance status.
- storage
Details List<StorageInformation Response> - Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.
- subnet String
- Application server Subnet.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- virtual
Machine StringId - The virtual machine.
- errors
SAPVirtual
Instance Error Response - Defines the Application Instance errors.
- gateway
Port number - Application server instance gateway Port.
- health string
- Defines the health of SAP Instances.
- hostname string
- Application server instance SAP hostname.
- icm
Http numberPort - Application server instance ICM HTTP Port.
- icm
Https numberPort - Application server instance ICM HTTPS Port.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
No string - Application server Instance Number.
- ip
Address string - Application server instance SAP IP Address.
- kernel
Patch string - Application server instance SAP Kernel Patch level.
- kernel
Version string - Application server instance SAP Kernel Version.
- name string
- The name of the resource
- provisioning
State string - Defines the provisioning states.
- status string
- Defines the SAP Instance status.
- storage
Details StorageInformation Response[] - Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.
- subnet string
- Application server Subnet.
- system
Data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- virtual
Machine stringId - The virtual machine.
- errors
SAPVirtual
Instance Error Response - Defines the Application Instance errors.
- gateway_
port float - Application server instance gateway Port.
- health str
- Defines the health of SAP Instances.
- hostname str
- Application server instance SAP hostname.
- icm_
http_ floatport - Application server instance ICM HTTP Port.
- icm_
https_ floatport - Application server instance ICM HTTPS Port.
- id str
- The provider-assigned unique ID for this managed resource.
- instance_
no str - Application server Instance Number.
- ip_
address str - Application server instance SAP IP Address.
- kernel_
patch str - Application server instance SAP Kernel Patch level.
- kernel_
version str - Application server instance SAP Kernel Version.
- name str
- The name of the resource
- provisioning_
state str - Defines the provisioning states.
- status str
- Defines the SAP Instance status.
- storage_
details Sequence[StorageInformation Response] - Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.
- subnet str
- Application server Subnet.
- system_
data SystemData Response - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- virtual_
machine_ strid - The virtual machine.
- errors Property Map
- Defines the Application Instance errors.
- gateway
Port Number - Application server instance gateway Port.
- health String
- Defines the health of SAP Instances.
- hostname String
- Application server instance SAP hostname.
- icm
Http NumberPort - Application server instance ICM HTTP Port.
- icm
Https NumberPort - Application server instance ICM HTTPS Port.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
No String - Application server Instance Number.
- ip
Address String - Application server instance SAP IP Address.
- kernel
Patch String - Application server instance SAP Kernel Patch level.
- kernel
Version String - Application server instance SAP Kernel Version.
- name String
- The name of the resource
- provisioning
State String - Defines the provisioning states.
- status String
- Defines the SAP Instance status.
- storage
Details List<Property Map> - Storage details of all the Storage Accounts attached to the App Virtual Machine. For e.g. NFS on AFS Shared Storage.
- subnet String
- Application server Subnet.
- system
Data Property Map - Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- virtual
Machine StringId - The virtual machine.
Supporting Types
ErrorDefinitionResponse, ErrorDefinitionResponseArgs
- Code string
- Service specific error code which serves as the substatus for the HTTP error code.
- Details
List<Pulumi.
Azure Native. Workloads. Inputs. Error Definition Response> - Internal error details.
- Message string
- Description of the error.
- Code string
- Service specific error code which serves as the substatus for the HTTP error code.
- Details
[]Error
Definition Response - Internal error details.
- Message string
- Description of the error.
- code String
- Service specific error code which serves as the substatus for the HTTP error code.
- details
List<Error
Definition Response> - Internal error details.
- message String
- Description of the error.
- code string
- Service specific error code which serves as the substatus for the HTTP error code.
- details
Error
Definition Response[] - Internal error details.
- message string
- Description of the error.
- code str
- Service specific error code which serves as the substatus for the HTTP error code.
- details
Sequence[Error
Definition Response] - Internal error details.
- message str
- Description of the error.
- code String
- Service specific error code which serves as the substatus for the HTTP error code.
- details List<Property Map>
- Internal error details.
- message String
- Description of the error.
SAPVirtualInstanceErrorResponse, SAPVirtualInstanceErrorResponseArgs
- Properties
Pulumi.
Azure Native. Workloads. Inputs. Error Definition Response - The Virtual Instance for SAP error body.
- Properties
Error
Definition Response - The Virtual Instance for SAP error body.
- properties
Error
Definition Response - The Virtual Instance for SAP error body.
- properties
Error
Definition Response - The Virtual Instance for SAP error body.
- properties
Error
Definition Response - The Virtual Instance for SAP error body.
- properties Property Map
- The Virtual Instance for SAP error body.
StorageInformationResponse, StorageInformationResponseArgs
- Id string
- Id string
- id String
- id string
- id str
- id String
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:workloads:SAPApplicationServerInstance app01 /subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsoft.Workloads/sapVirtualInstances/X00/applicationInstances/app01
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0