azure-native.hanaonazure.SapMonitor
Explore with Pulumi AI
SAP monitor info on Azure (ARM properties and SAP monitor properties) API Version: 2020-02-07-preview.
Create SapMonitor Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SapMonitor(name: string, args: SapMonitorArgs, opts?: CustomResourceOptions);
@overload
def SapMonitor(resource_name: str,
args: SapMonitorArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SapMonitor(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
enable_customer_analytics: Optional[bool] = None,
location: Optional[str] = None,
log_analytics_workspace_arm_id: Optional[str] = None,
log_analytics_workspace_id: Optional[str] = None,
log_analytics_workspace_shared_key: Optional[str] = None,
monitor_subnet: Optional[str] = None,
sap_monitor_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSapMonitor(ctx *Context, name string, args SapMonitorArgs, opts ...ResourceOption) (*SapMonitor, error)
public SapMonitor(string name, SapMonitorArgs args, CustomResourceOptions? opts = null)
public SapMonitor(String name, SapMonitorArgs args)
public SapMonitor(String name, SapMonitorArgs args, CustomResourceOptions options)
type: azure-native:hanaonazure:SapMonitor
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SapMonitorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. SapMonitorArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SapMonitorArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. SapMonitorArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. SapMonitorArgs - 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 sapMonitorResource = new AzureNative.Hanaonazure.SapMonitor("sapMonitorResource", new()
{
ResourceGroupName = "string",
EnableCustomerAnalytics = false,
Location = "string",
LogAnalyticsWorkspaceArmId = "string",
LogAnalyticsWorkspaceId = "string",
LogAnalyticsWorkspaceSharedKey = "string",
MonitorSubnet = "string",
SapMonitorName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := hanaonazure.NewSapMonitor(ctx, "sapMonitorResource", &hanaonazure.SapMonitorArgs{
ResourceGroupName: "string",
EnableCustomerAnalytics: false,
Location: "string",
LogAnalyticsWorkspaceArmId: "string",
LogAnalyticsWorkspaceId: "string",
LogAnalyticsWorkspaceSharedKey: "string",
MonitorSubnet: "string",
SapMonitorName: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var sapMonitorResource = new SapMonitor("sapMonitorResource", SapMonitorArgs.builder()
.resourceGroupName("string")
.enableCustomerAnalytics(false)
.location("string")
.logAnalyticsWorkspaceArmId("string")
.logAnalyticsWorkspaceId("string")
.logAnalyticsWorkspaceSharedKey("string")
.monitorSubnet("string")
.sapMonitorName("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
sap_monitor_resource = azure_native.hanaonazure.SapMonitor("sapMonitorResource",
resource_group_name=string,
enable_customer_analytics=False,
location=string,
log_analytics_workspace_arm_id=string,
log_analytics_workspace_id=string,
log_analytics_workspace_shared_key=string,
monitor_subnet=string,
sap_monitor_name=string,
tags={
string: string,
})
const sapMonitorResource = new azure_native.hanaonazure.SapMonitor("sapMonitorResource", {
resourceGroupName: "string",
enableCustomerAnalytics: false,
location: "string",
logAnalyticsWorkspaceArmId: "string",
logAnalyticsWorkspaceId: "string",
logAnalyticsWorkspaceSharedKey: "string",
monitorSubnet: "string",
sapMonitorName: "string",
tags: {
string: "string",
},
});
type: azure-native:hanaonazure:SapMonitor
properties:
enableCustomerAnalytics: false
location: string
logAnalyticsWorkspaceArmId: string
logAnalyticsWorkspaceId: string
logAnalyticsWorkspaceSharedKey: string
monitorSubnet: string
resourceGroupName: string
sapMonitorName: string
tags:
string: string
SapMonitor 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 SapMonitor resource accepts the following input properties:
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- Enable
Customer boolAnalytics - The value indicating whether to send analytics to Microsoft
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Log
Analytics stringWorkspace Arm Id - The ARM ID of the Log Analytics Workspace that is used for monitoring
- Log
Analytics stringWorkspace Id - The workspace ID of the log analytics workspace to be used for monitoring
- string
- The shared key of the log analytics workspace that is used for monitoring
- Monitor
Subnet string - The subnet which the SAP monitor will be deployed in
- Sap
Monitor Name Changes to this property will trigger replacement.
- Name of the SAP monitor resource.
- Dictionary<string, string>
- Resource tags.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- Enable
Customer boolAnalytics - The value indicating whether to send analytics to Microsoft
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Log
Analytics stringWorkspace Arm Id - The ARM ID of the Log Analytics Workspace that is used for monitoring
- Log
Analytics stringWorkspace Id - The workspace ID of the log analytics workspace to be used for monitoring
- string
- The shared key of the log analytics workspace that is used for monitoring
- Monitor
Subnet string - The subnet which the SAP monitor will be deployed in
- Sap
Monitor Name Changes to this property will trigger replacement.
- Name of the SAP monitor resource.
- map[string]string
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- enable
Customer BooleanAnalytics - The value indicating whether to send analytics to Microsoft
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- log
Analytics StringWorkspace Arm Id - The ARM ID of the Log Analytics Workspace that is used for monitoring
- log
Analytics StringWorkspace Id - The workspace ID of the log analytics workspace to be used for monitoring
- String
- The shared key of the log analytics workspace that is used for monitoring
- monitor
Subnet String - The subnet which the SAP monitor will be deployed in
- sap
Monitor Name Changes to this property will trigger replacement.
- Name of the SAP monitor resource.
- Map<String,String>
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- enable
Customer booleanAnalytics - The value indicating whether to send analytics to Microsoft
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- log
Analytics stringWorkspace Arm Id - The ARM ID of the Log Analytics Workspace that is used for monitoring
- log
Analytics stringWorkspace Id - The workspace ID of the log analytics workspace to be used for monitoring
- string
- The shared key of the log analytics workspace that is used for monitoring
- monitor
Subnet string - The subnet which the SAP monitor will be deployed in
- sap
Monitor Name Changes to this property will trigger replacement.
- Name of the SAP monitor resource.
- {[key: string]: string}
- Resource tags.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- enable_
customer_ boolanalytics - The value indicating whether to send analytics to Microsoft
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- log_
analytics_ strworkspace_ arm_ id - The ARM ID of the Log Analytics Workspace that is used for monitoring
- log_
analytics_ strworkspace_ id - The workspace ID of the log analytics workspace to be used for monitoring
- str
- The shared key of the log analytics workspace that is used for monitoring
- monitor_
subnet str - The subnet which the SAP monitor will be deployed in
- sap_
monitor_ name Changes to this property will trigger replacement.
- Name of the SAP monitor resource.
- Mapping[str, str]
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group.
- enable
Customer BooleanAnalytics - The value indicating whether to send analytics to Microsoft
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- log
Analytics StringWorkspace Arm Id - The ARM ID of the Log Analytics Workspace that is used for monitoring
- log
Analytics StringWorkspace Id - The workspace ID of the log analytics workspace to be used for monitoring
- String
- The shared key of the log analytics workspace that is used for monitoring
- monitor
Subnet String - The subnet which the SAP monitor will be deployed in
- sap
Monitor Name Changes to this property will trigger replacement.
- Name of the SAP monitor resource.
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SapMonitor resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Resource stringGroup Name - The name of the resource group the SAP Monitor resources get deployed into.
- Name string
- The name of the resource
- Provisioning
State string - State of provisioning of the HanaInstance
- Sap
Monitor stringCollector Version - The version of the payload running in the Collector VM
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Id string
- The provider-assigned unique ID for this managed resource.
- Managed
Resource stringGroup Name - The name of the resource group the SAP Monitor resources get deployed into.
- Name string
- The name of the resource
- Provisioning
State string - State of provisioning of the HanaInstance
- Sap
Monitor stringCollector Version - The version of the payload running in the Collector VM
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Resource StringGroup Name - The name of the resource group the SAP Monitor resources get deployed into.
- name String
- The name of the resource
- provisioning
State String - State of provisioning of the HanaInstance
- sap
Monitor StringCollector Version - The version of the payload running in the Collector VM
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id string
- The provider-assigned unique ID for this managed resource.
- managed
Resource stringGroup Name - The name of the resource group the SAP Monitor resources get deployed into.
- name string
- The name of the resource
- provisioning
State string - State of provisioning of the HanaInstance
- sap
Monitor stringCollector Version - The version of the payload running in the Collector VM
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id str
- The provider-assigned unique ID for this managed resource.
- managed_
resource_ strgroup_ name - The name of the resource group the SAP Monitor resources get deployed into.
- name str
- The name of the resource
- provisioning_
state str - State of provisioning of the HanaInstance
- sap_
monitor_ strcollector_ version - The version of the payload running in the Collector VM
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- id String
- The provider-assigned unique ID for this managed resource.
- managed
Resource StringGroup Name - The name of the resource group the SAP Monitor resources get deployed into.
- name String
- The name of the resource
- provisioning
State String - State of provisioning of the HanaInstance
- sap
Monitor StringCollector Version - The version of the payload running in the Collector VM
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:hanaonazure:SapMonitor myHanaInstance /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.HanaOnAzure/hanaInstances/myHanaInstance
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