azure-native.dbforpostgresql.SingleServerConfiguration
Explore with Pulumi AI
Represents a Configuration.
Uses Azure REST API version 2017-12-01.
Create SingleServerConfiguration Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SingleServerConfiguration(name: string, args: SingleServerConfigurationArgs, opts?: CustomResourceOptions);
@overload
def SingleServerConfiguration(resource_name: str,
args: SingleServerConfigurationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SingleServerConfiguration(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
server_name: Optional[str] = None,
configuration_name: Optional[str] = None,
source: Optional[str] = None,
value: Optional[str] = None)
func NewSingleServerConfiguration(ctx *Context, name string, args SingleServerConfigurationArgs, opts ...ResourceOption) (*SingleServerConfiguration, error)
public SingleServerConfiguration(string name, SingleServerConfigurationArgs args, CustomResourceOptions? opts = null)
public SingleServerConfiguration(String name, SingleServerConfigurationArgs args)
public SingleServerConfiguration(String name, SingleServerConfigurationArgs args, CustomResourceOptions options)
type: azure-native:dbforpostgresql:SingleServerConfiguration
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. SingleServerConfigurationArgs - 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. SingleServerConfigurationArgs - 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. SingleServerConfigurationArgs - 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. SingleServerConfigurationArgs - 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. SingleServerConfigurationArgs - 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 azure_nativeSingleServerConfigurationResource = new AzureNative.DBforPostgreSQL.SingleServerConfiguration("azure-nativeSingleServerConfigurationResource", new()
{
ResourceGroupName = "string",
ServerName = "string",
ConfigurationName = "string",
Source = "string",
Value = "string",
});
example, err := dbforpostgresql.NewSingleServerConfiguration(ctx, "azure-nativeSingleServerConfigurationResource", &dbforpostgresql.SingleServerConfigurationArgs{
ResourceGroupName: pulumi.String("string"),
ServerName: pulumi.String("string"),
ConfigurationName: pulumi.String("string"),
Source: pulumi.String("string"),
Value: pulumi.String("string"),
})
var azure_nativeSingleServerConfigurationResource = new SingleServerConfiguration("azure-nativeSingleServerConfigurationResource", SingleServerConfigurationArgs.builder()
.resourceGroupName("string")
.serverName("string")
.configurationName("string")
.source("string")
.value("string")
.build());
azure_native_single_server_configuration_resource = azure_native.dbforpostgresql.SingleServerConfiguration("azure-nativeSingleServerConfigurationResource",
resource_group_name="string",
server_name="string",
configuration_name="string",
source="string",
value="string")
const azure_nativeSingleServerConfigurationResource = new azure_native.dbforpostgresql.SingleServerConfiguration("azure-nativeSingleServerConfigurationResource", {
resourceGroupName: "string",
serverName: "string",
configurationName: "string",
source: "string",
value: "string",
});
type: azure-native:dbforpostgresql:SingleServerConfiguration
properties:
configurationName: string
resourceGroupName: string
serverName: string
source: string
value: string
SingleServerConfiguration 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 SingleServerConfiguration resource accepts the following input 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.
- Server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- Configuration
Name Changes to this property will trigger replacement.
- The name of the server configuration.
- Source string
- Source of the configuration.
- Value string
- Value of the configuration.
- 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.
- Server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- Configuration
Name Changes to this property will trigger replacement.
- The name of the server configuration.
- Source string
- Source of the configuration.
- Value string
- Value of the configuration.
- 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.
- server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- configuration
Name Changes to this property will trigger replacement.
- The name of the server configuration.
- source String
- Source of the configuration.
- value String
- Value of the configuration.
- 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.
- server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- configuration
Name Changes to this property will trigger replacement.
- The name of the server configuration.
- source string
- Source of the configuration.
- value string
- Value of the configuration.
- 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.
- server_
name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- configuration_
name Changes to this property will trigger replacement.
- The name of the server configuration.
- source str
- Source of the configuration.
- value str
- Value of the configuration.
- 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.
- server
Name This property is required. Changes to this property will trigger replacement.
- The name of the server.
- configuration
Name Changes to this property will trigger replacement.
- The name of the server configuration.
- source String
- Source of the configuration.
- value String
- Value of the configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the SingleServerConfiguration resource produces the following output properties:
- Allowed
Values string - Allowed values of the configuration.
- Azure
Api stringVersion - The Azure API version of the resource.
- Data
Type string - Data type of the configuration.
- Default
Value string - Default value of the configuration.
- Description string
- Description of the configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Allowed
Values string - Allowed values of the configuration.
- Azure
Api stringVersion - The Azure API version of the resource.
- Data
Type string - Data type of the configuration.
- Default
Value string - Default value of the configuration.
- Description string
- Description of the configuration.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- allowed
Values String - Allowed values of the configuration.
- azure
Api StringVersion - The Azure API version of the resource.
- data
Type String - Data type of the configuration.
- default
Value String - Default value of the configuration.
- description String
- Description of the configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- allowed
Values string - Allowed values of the configuration.
- azure
Api stringVersion - The Azure API version of the resource.
- data
Type string - Data type of the configuration.
- default
Value string - Default value of the configuration.
- description string
- Description of the configuration.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- allowed_
values str - Allowed values of the configuration.
- azure_
api_ strversion - The Azure API version of the resource.
- data_
type str - Data type of the configuration.
- default_
value str - Default value of the configuration.
- description str
- Description of the configuration.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- allowed
Values String - Allowed values of the configuration.
- azure
Api StringVersion - The Azure API version of the resource.
- data
Type String - Data type of the configuration.
- default
Value String - Default value of the configuration.
- description String
- Description of the configuration.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- 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:dbforpostgresql:SingleServerConfiguration array_nulls /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/configurations/{configurationName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0