azure-native.azurearcdata.SqlServerEsuLicense
Explore with Pulumi AI
Describe SQL Server ESU license resource.
Uses Azure REST API version 2024-05-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-05-01-preview.
Other available API versions: 2025-03-01-preview. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native azurearcdata [ApiVersion]
. See the version guide for details.
Create SqlServerEsuLicense Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SqlServerEsuLicense(name: string, args: SqlServerEsuLicenseArgs, opts?: CustomResourceOptions);
@overload
def SqlServerEsuLicense(resource_name: str,
args: SqlServerEsuLicenseArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SqlServerEsuLicense(resource_name: str,
opts: Optional[ResourceOptions] = None,
properties: Optional[SqlServerEsuLicensePropertiesArgs] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
sql_server_esu_license_name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSqlServerEsuLicense(ctx *Context, name string, args SqlServerEsuLicenseArgs, opts ...ResourceOption) (*SqlServerEsuLicense, error)
public SqlServerEsuLicense(string name, SqlServerEsuLicenseArgs args, CustomResourceOptions? opts = null)
public SqlServerEsuLicense(String name, SqlServerEsuLicenseArgs args)
public SqlServerEsuLicense(String name, SqlServerEsuLicenseArgs args, CustomResourceOptions options)
type: azure-native:azurearcdata:SqlServerEsuLicense
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. SqlServerEsuLicenseArgs - 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. SqlServerEsuLicenseArgs - 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. SqlServerEsuLicenseArgs - 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. SqlServerEsuLicenseArgs - 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. SqlServerEsuLicenseArgs - 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 sqlServerEsuLicenseResource = new AzureNative.AzureArcData.SqlServerEsuLicense("sqlServerEsuLicenseResource", new()
{
Properties = new AzureNative.AzureArcData.Inputs.SqlServerEsuLicensePropertiesArgs
{
ActivationState = "string",
BillingPlan = "string",
PhysicalCores = 0,
ScopeType = "string",
Version = "string",
},
ResourceGroupName = "string",
Location = "string",
SqlServerEsuLicenseName = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := azurearcdata.NewSqlServerEsuLicense(ctx, "sqlServerEsuLicenseResource", &azurearcdata.SqlServerEsuLicenseArgs{
Properties: &azurearcdata.SqlServerEsuLicensePropertiesArgs{
ActivationState: pulumi.String("string"),
BillingPlan: pulumi.String("string"),
PhysicalCores: pulumi.Int(0),
ScopeType: pulumi.String("string"),
Version: pulumi.String("string"),
},
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
SqlServerEsuLicenseName: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var sqlServerEsuLicenseResource = new SqlServerEsuLicense("sqlServerEsuLicenseResource", SqlServerEsuLicenseArgs.builder()
.properties(SqlServerEsuLicensePropertiesArgs.builder()
.activationState("string")
.billingPlan("string")
.physicalCores(0)
.scopeType("string")
.version("string")
.build())
.resourceGroupName("string")
.location("string")
.sqlServerEsuLicenseName("string")
.tags(Map.of("string", "string"))
.build());
sql_server_esu_license_resource = azure_native.azurearcdata.SqlServerEsuLicense("sqlServerEsuLicenseResource",
properties={
"activation_state": "string",
"billing_plan": "string",
"physical_cores": 0,
"scope_type": "string",
"version": "string",
},
resource_group_name="string",
location="string",
sql_server_esu_license_name="string",
tags={
"string": "string",
})
const sqlServerEsuLicenseResource = new azure_native.azurearcdata.SqlServerEsuLicense("sqlServerEsuLicenseResource", {
properties: {
activationState: "string",
billingPlan: "string",
physicalCores: 0,
scopeType: "string",
version: "string",
},
resourceGroupName: "string",
location: "string",
sqlServerEsuLicenseName: "string",
tags: {
string: "string",
},
});
type: azure-native:azurearcdata:SqlServerEsuLicense
properties:
location: string
properties:
activationState: string
billingPlan: string
physicalCores: 0
scopeType: string
version: string
resourceGroupName: string
sqlServerEsuLicenseName: string
tags:
string: string
SqlServerEsuLicense 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 SqlServerEsuLicense resource accepts the following input properties:
- Properties
This property is required. Pulumi.Azure Native. Azure Arc Data. Inputs. Sql Server Esu License Properties - SQL Server ESU license properties
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Sql
Server Esu License Name Changes to this property will trigger replacement.
- Name of SQL Server ESU License
- Dictionary<string, string>
- Resource tags.
- Properties
This property is required. SqlServer Esu License Properties Args - SQL Server ESU license properties
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Sql
Server Esu License Name Changes to this property will trigger replacement.
- Name of SQL Server ESU License
- map[string]string
- Resource tags.
- properties
This property is required. SqlServer Esu License Properties - SQL Server ESU license properties
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- sql
Server Esu License Name Changes to this property will trigger replacement.
- Name of SQL Server ESU License
- Map<String,String>
- Resource tags.
- properties
This property is required. SqlServer Esu License Properties - SQL Server ESU license properties
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- sql
Server Esu License Name Changes to this property will trigger replacement.
- Name of SQL Server ESU License
- {[key: string]: string}
- Resource tags.
- properties
This property is required. SqlServer Esu License Properties Args - SQL Server ESU license properties
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- sql_
server_ esu_ license_ name Changes to this property will trigger replacement.
- Name of SQL Server ESU License
- Mapping[str, str]
- Resource tags.
- properties
This property is required. Property Map - SQL Server ESU license properties
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- The name of the resource group. The name is case insensitive.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- sql
Server Esu License Name Changes to this property will trigger replacement.
- Name of SQL Server ESU License
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SqlServerEsuLicense resource produces the following output properties:
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Azure Arc Data. 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"
- Azure
Api stringVersion - The Azure API version of the resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- 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"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- 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"
- azure
Api stringVersion - The Azure API version of the resource.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- 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"
- azure_
api_ strversion - The Azure API version of the resource.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- 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"
- azure
Api StringVersion - The Azure API version of the resource.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- 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"
Supporting Types
BillingPlan, BillingPlanArgs
- PAYG
- PAYG
- Paid
- Paid
- Billing
Plan PAYG - PAYG
- Billing
Plan Paid - Paid
- PAYG
- PAYG
- Paid
- Paid
- PAYG
- PAYG
- Paid
- Paid
- PAYG
- PAYG
- PAID
- Paid
- "PAYG"
- PAYG
- "Paid"
- Paid
ScopeType, ScopeTypeArgs
- Tenant
- Tenant
- Subscription
- Subscription
- Resource
Group - ResourceGroup
- Scope
Type Tenant - Tenant
- Scope
Type Subscription - Subscription
- Scope
Type Resource Group - ResourceGroup
- Tenant
- Tenant
- Subscription
- Subscription
- Resource
Group - ResourceGroup
- Tenant
- Tenant
- Subscription
- Subscription
- Resource
Group - ResourceGroup
- TENANT
- Tenant
- SUBSCRIPTION
- Subscription
- RESOURCE_GROUP
- ResourceGroup
- "Tenant"
- Tenant
- "Subscription"
- Subscription
- "Resource
Group" - ResourceGroup
SqlServerEsuLicenseProperties, SqlServerEsuLicensePropertiesArgs
- Activation
State This property is required. string | Pulumi.Azure Native. Azure Arc Data. State - The activation state of the license.
- Billing
Plan This property is required. string | Pulumi.Azure Native. Azure Arc Data. Billing Plan - SQL Server ESU license type.
- Physical
Cores This property is required. int - The number of total cores of the license covers.
- Scope
Type This property is required. string | Pulumi.Azure Native. Azure Arc Data. Scope Type - The Azure scope to which the license will apply.
- Version
This property is required. string | Pulumi.Azure Native. Azure Arc Data. Version - The SQL Server version the license covers.
- Activation
State This property is required. string | State - The activation state of the license.
- Billing
Plan This property is required. string | BillingPlan - SQL Server ESU license type.
- Physical
Cores This property is required. int - The number of total cores of the license covers.
- Scope
Type This property is required. string | ScopeType - The Azure scope to which the license will apply.
- Version
This property is required. string | Version - The SQL Server version the license covers.
- activation
State This property is required. String | State - The activation state of the license.
- billing
Plan This property is required. String | BillingPlan - SQL Server ESU license type.
- physical
Cores This property is required. Integer - The number of total cores of the license covers.
- scope
Type This property is required. String | ScopeType - The Azure scope to which the license will apply.
- version
This property is required. String | Version - The SQL Server version the license covers.
- activation
State This property is required. string | State - The activation state of the license.
- billing
Plan This property is required. string | BillingPlan - SQL Server ESU license type.
- physical
Cores This property is required. number - The number of total cores of the license covers.
- scope
Type This property is required. string | ScopeType - The Azure scope to which the license will apply.
- version
This property is required. string | Version - The SQL Server version the license covers.
- activation_
state This property is required. str | State - The activation state of the license.
- billing_
plan This property is required. str | BillingPlan - SQL Server ESU license type.
- physical_
cores This property is required. int - The number of total cores of the license covers.
- scope_
type This property is required. str | ScopeType - The Azure scope to which the license will apply.
- version
This property is required. str | Version - The SQL Server version the license covers.
- activation
State This property is required. String | "Inactive" | "Active" | "Terminated" - The activation state of the license.
- billing
Plan This property is required. String | "PAYG" | "Paid" - SQL Server ESU license type.
- physical
Cores This property is required. Number - The number of total cores of the license covers.
- scope
Type This property is required. String | "Tenant" | "Subscription" | "ResourceGroup" - The Azure scope to which the license will apply.
- version
This property is required. String | "SQL Server 2012" | "SQL Server 2014" - The SQL Server version the license covers.
SqlServerEsuLicensePropertiesResponse, SqlServerEsuLicensePropertiesResponseArgs
- Activated
At This property is required. string - The timestamp of the activation of the SqlServerEsuLicense in ISO 8601 date-time format.
- Activation
State This property is required. string - The activation state of the license.
- Billing
Plan This property is required. string - SQL Server ESU license type.
- Physical
Cores This property is required. int - The number of total cores of the license covers.
- Scope
Type This property is required. string - The Azure scope to which the license will apply.
- Tenant
Id This property is required. string - The tenantId the SQL Server ESU license resource subscription resides in.
- Terminated
At This property is required. string - The timestamp of the termination of the SqlServerEsuLicense in ISO 8601 date-time format.
- Unique
Id This property is required. string - The unique ID of this license. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
- Version
This property is required. string - The SQL Server version the license covers.
- Activated
At This property is required. string - The timestamp of the activation of the SqlServerEsuLicense in ISO 8601 date-time format.
- Activation
State This property is required. string - The activation state of the license.
- Billing
Plan This property is required. string - SQL Server ESU license type.
- Physical
Cores This property is required. int - The number of total cores of the license covers.
- Scope
Type This property is required. string - The Azure scope to which the license will apply.
- Tenant
Id This property is required. string - The tenantId the SQL Server ESU license resource subscription resides in.
- Terminated
At This property is required. string - The timestamp of the termination of the SqlServerEsuLicense in ISO 8601 date-time format.
- Unique
Id This property is required. string - The unique ID of this license. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
- Version
This property is required. string - The SQL Server version the license covers.
- activated
At This property is required. String - The timestamp of the activation of the SqlServerEsuLicense in ISO 8601 date-time format.
- activation
State This property is required. String - The activation state of the license.
- billing
Plan This property is required. String - SQL Server ESU license type.
- physical
Cores This property is required. Integer - The number of total cores of the license covers.
- scope
Type This property is required. String - The Azure scope to which the license will apply.
- tenant
Id This property is required. String - The tenantId the SQL Server ESU license resource subscription resides in.
- terminated
At This property is required. String - The timestamp of the termination of the SqlServerEsuLicense in ISO 8601 date-time format.
- unique
Id This property is required. String - The unique ID of this license. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
- version
This property is required. String - The SQL Server version the license covers.
- activated
At This property is required. string - The timestamp of the activation of the SqlServerEsuLicense in ISO 8601 date-time format.
- activation
State This property is required. string - The activation state of the license.
- billing
Plan This property is required. string - SQL Server ESU license type.
- physical
Cores This property is required. number - The number of total cores of the license covers.
- scope
Type This property is required. string - The Azure scope to which the license will apply.
- tenant
Id This property is required. string - The tenantId the SQL Server ESU license resource subscription resides in.
- terminated
At This property is required. string - The timestamp of the termination of the SqlServerEsuLicense in ISO 8601 date-time format.
- unique
Id This property is required. string - The unique ID of this license. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
- version
This property is required. string - The SQL Server version the license covers.
- activated_
at This property is required. str - The timestamp of the activation of the SqlServerEsuLicense in ISO 8601 date-time format.
- activation_
state This property is required. str - The activation state of the license.
- billing_
plan This property is required. str - SQL Server ESU license type.
- physical_
cores This property is required. int - The number of total cores of the license covers.
- scope_
type This property is required. str - The Azure scope to which the license will apply.
- tenant_
id This property is required. str - The tenantId the SQL Server ESU license resource subscription resides in.
- terminated_
at This property is required. str - The timestamp of the termination of the SqlServerEsuLicense in ISO 8601 date-time format.
- unique_
id This property is required. str - The unique ID of this license. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
- version
This property is required. str - The SQL Server version the license covers.
- activated
At This property is required. String - The timestamp of the activation of the SqlServerEsuLicense in ISO 8601 date-time format.
- activation
State This property is required. String - The activation state of the license.
- billing
Plan This property is required. String - SQL Server ESU license type.
- physical
Cores This property is required. Number - The number of total cores of the license covers.
- scope
Type This property is required. String - The Azure scope to which the license will apply.
- tenant
Id This property is required. String - The tenantId the SQL Server ESU license resource subscription resides in.
- terminated
At This property is required. String - The timestamp of the termination of the SqlServerEsuLicense in ISO 8601 date-time format.
- unique
Id This property is required. String - The unique ID of this license. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000).
- version
This property is required. String - The SQL Server version the license covers.
State, StateArgs
- Inactive
- Inactive
- Active
- Active
- Terminated
- Terminated
- State
Inactive - Inactive
- State
Active - Active
- State
Terminated - Terminated
- Inactive
- Inactive
- Active
- Active
- Terminated
- Terminated
- Inactive
- Inactive
- Active
- Active
- Terminated
- Terminated
- INACTIVE
- Inactive
- ACTIVE
- Active
- TERMINATED
- Terminated
- "Inactive"
- Inactive
- "Active"
- Active
- "Terminated"
- Terminated
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.
Version, VersionArgs
- SQL_Server_2012
- SQL Server 2012
- SQL_Server_2014
- SQL Server 2014
- Version_SQL_Server_2012
- SQL Server 2012
- Version_SQL_Server_2014
- SQL Server 2014
- SQL_Server_2012
- SQL Server 2012
- SQL_Server_2014
- SQL Server 2014
- SQL_Server_2012
- SQL Server 2012
- SQL_Server_2014
- SQL Server 2014
- SQ_L_SERVER_2012
- SQL Server 2012
- SQ_L_SERVER_2014
- SQL Server 2014
- "SQL Server 2012"
- SQL Server 2012
- "SQL Server 2014"
- SQL Server 2014
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:azurearcdata:SqlServerEsuLicense sqlServerEsuLicense /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureArcData/sqlServerEsuLicenses/{sqlServerEsuLicenseName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0