azure-native.azuredata.SqlServerRegistration
Explore with Pulumi AI
A SQL server registration.
Uses Azure REST API version 2019-07-24-preview. In version 2.x of the Azure Native provider, it used API version 2019-07-24-preview.
Create SqlServerRegistration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SqlServerRegistration(name: string, args: SqlServerRegistrationArgs, opts?: CustomResourceOptions);
@overload
def SqlServerRegistration(resource_name: str,
args: SqlServerRegistrationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SqlServerRegistration(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
location: Optional[str] = None,
property_bag: Optional[str] = None,
resource_group: Optional[str] = None,
sql_server_registration_name: Optional[str] = None,
subscription_id: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewSqlServerRegistration(ctx *Context, name string, args SqlServerRegistrationArgs, opts ...ResourceOption) (*SqlServerRegistration, error)
public SqlServerRegistration(string name, SqlServerRegistrationArgs args, CustomResourceOptions? opts = null)
public SqlServerRegistration(String name, SqlServerRegistrationArgs args)
public SqlServerRegistration(String name, SqlServerRegistrationArgs args, CustomResourceOptions options)
type: azure-native:azuredata:SqlServerRegistration
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. SqlServerRegistrationArgs - 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. SqlServerRegistrationArgs - 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. SqlServerRegistrationArgs - 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. SqlServerRegistrationArgs - 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. SqlServerRegistrationArgs - 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 sqlServerRegistrationResource = new AzureNative.AzureData.SqlServerRegistration("sqlServerRegistrationResource", new()
{
ResourceGroupName = "string",
Location = "string",
PropertyBag = "string",
ResourceGroup = "string",
SqlServerRegistrationName = "string",
SubscriptionId = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := azuredata.NewSqlServerRegistration(ctx, "sqlServerRegistrationResource", &azuredata.SqlServerRegistrationArgs{
ResourceGroupName: pulumi.String("string"),
Location: pulumi.String("string"),
PropertyBag: pulumi.String("string"),
ResourceGroup: pulumi.String("string"),
SqlServerRegistrationName: pulumi.String("string"),
SubscriptionId: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
var sqlServerRegistrationResource = new SqlServerRegistration("sqlServerRegistrationResource", SqlServerRegistrationArgs.builder()
.resourceGroupName("string")
.location("string")
.propertyBag("string")
.resourceGroup("string")
.sqlServerRegistrationName("string")
.subscriptionId("string")
.tags(Map.of("string", "string"))
.build());
sql_server_registration_resource = azure_native.azuredata.SqlServerRegistration("sqlServerRegistrationResource",
resource_group_name="string",
location="string",
property_bag="string",
resource_group="string",
sql_server_registration_name="string",
subscription_id="string",
tags={
"string": "string",
})
const sqlServerRegistrationResource = new azure_native.azuredata.SqlServerRegistration("sqlServerRegistrationResource", {
resourceGroupName: "string",
location: "string",
propertyBag: "string",
resourceGroup: "string",
sqlServerRegistrationName: "string",
subscriptionId: "string",
tags: {
string: "string",
},
});
type: azure-native:azuredata:SqlServerRegistration
properties:
location: string
propertyBag: string
resourceGroup: string
resourceGroupName: string
sqlServerRegistrationName: string
subscriptionId: string
tags:
string: string
SqlServerRegistration 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 SqlServerRegistration 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 that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Property
Bag string - Optional Properties as JSON string
- Resource
Group string - Resource Group Name
- Sql
Server Registration Name Changes to this property will trigger replacement.
- Name of the SQL Server registration.
- Subscription
Id string - Subscription Id
- Dictionary<string, string>
- Resource tags.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- Property
Bag string - Optional Properties as JSON string
- Resource
Group string - Resource Group Name
- Sql
Server Registration Name Changes to this property will trigger replacement.
- Name of the SQL Server registration.
- Subscription
Id string - Subscription Id
- map[string]string
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- property
Bag String - Optional Properties as JSON string
- resource
Group String - Resource Group Name
- sql
Server Registration Name Changes to this property will trigger replacement.
- Name of the SQL Server registration.
- subscription
Id String - Subscription Id
- Map<String,String>
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- property
Bag string - Optional Properties as JSON string
- resource
Group string - Resource Group Name
- sql
Server Registration Name Changes to this property will trigger replacement.
- Name of the SQL Server registration.
- subscription
Id string - Subscription Id
- {[key: string]: string}
- Resource tags.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- property_
bag str - Optional Properties as JSON string
- resource_
group str - Resource Group Name
- sql_
server_ registration_ name Changes to this property will trigger replacement.
- Name of the SQL Server registration.
- subscription_
id str - Subscription Id
- Mapping[str, str]
- Resource tags.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- location
Changes to this property will trigger replacement.
- The geo-location where the resource lives
- property
Bag String - Optional Properties as JSON string
- resource
Group String - Resource Group Name
- sql
Server Registration Name Changes to this property will trigger replacement.
- Name of the SQL Server registration.
- subscription
Id String - Subscription Id
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the SqlServerRegistration 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 Data. Outputs. System Data Response - Read only system data
- Type string
- The type of the resource. Ex- 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 - Read only system data
- Type string
- The type of the resource. Ex- 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 - Read only system data
- type String
- The type of the resource. Ex- 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 - Read only system data
- type string
- The type of the resource. Ex- 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 - Read only system data
- type str
- The type of the resource. Ex- 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 - Read only system data
- type String
- The type of the resource. Ex- Microsoft.Compute/virtualMachines or Microsoft.Storage/storageAccounts.
Supporting Types
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC)
- Created
By string - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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 - An identifier for 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:azuredata:SqlServerRegistration testsqlregistration /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureData/sqlServerRegistrations/{sqlServerRegistrationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0