azure-native.workloads.WordpressInstance
Explore with Pulumi AI
WordPress instance resource API Version: 2021-12-01-preview.
Create WordpressInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new WordpressInstance(name: string, args: WordpressInstanceArgs, opts?: CustomResourceOptions);
@overload
def WordpressInstance(resource_name: str,
args: WordpressInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def WordpressInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
php_workload_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
version: Optional[Union[str, WordpressVersions]] = None,
database_name: Optional[str] = None,
database_user: Optional[str] = None)
func NewWordpressInstance(ctx *Context, name string, args WordpressInstanceArgs, opts ...ResourceOption) (*WordpressInstance, error)
public WordpressInstance(string name, WordpressInstanceArgs args, CustomResourceOptions? opts = null)
public WordpressInstance(String name, WordpressInstanceArgs args)
public WordpressInstance(String name, WordpressInstanceArgs args, CustomResourceOptions options)
type: azure-native:workloads:WordpressInstance
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. WordpressInstanceArgs - 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. WordpressInstanceArgs - 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. WordpressInstanceArgs - 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. WordpressInstanceArgs - 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. WordpressInstanceArgs - 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 wordpressInstanceResource = new AzureNative.Workloads.WordpressInstance("wordpressInstanceResource", new()
{
PhpWorkloadName = "string",
ResourceGroupName = "string",
Version = "string",
DatabaseName = "string",
DatabaseUser = "string",
});
example, err := workloads.NewWordpressInstance(ctx, "wordpressInstanceResource", &workloads.WordpressInstanceArgs{
PhpWorkloadName: "string",
ResourceGroupName: "string",
Version: "string",
DatabaseName: "string",
DatabaseUser: "string",
})
var wordpressInstanceResource = new WordpressInstance("wordpressInstanceResource", WordpressInstanceArgs.builder()
.phpWorkloadName("string")
.resourceGroupName("string")
.version("string")
.databaseName("string")
.databaseUser("string")
.build());
wordpress_instance_resource = azure_native.workloads.WordpressInstance("wordpressInstanceResource",
php_workload_name=string,
resource_group_name=string,
version=string,
database_name=string,
database_user=string)
const wordpressInstanceResource = new azure_native.workloads.WordpressInstance("wordpressInstanceResource", {
phpWorkloadName: "string",
resourceGroupName: "string",
version: "string",
databaseName: "string",
databaseUser: "string",
});
type: azure-native:workloads:WordpressInstance
properties:
databaseName: string
databaseUser: string
phpWorkloadName: string
resourceGroupName: string
version: string
WordpressInstance 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 WordpressInstance resource accepts the following input properties:
- Php
Workload Name This property is required. Changes to this property will trigger replacement.
- Php workload name
- 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.
- Version
This property is required. Changes to this property will trigger replacement.
Azure Native. Workloads. Wordpress Versions - Application version
- Database
Name Changes to this property will trigger replacement.
- Database name used by the application
- Database
User Changes to this property will trigger replacement.
- User name used by the application to connect to database
- Php
Workload Name This property is required. Changes to this property will trigger replacement.
- Php workload name
- 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.
- Version
This property is required. Changes to this property will trigger replacement.
Versions - Application version
- Database
Name Changes to this property will trigger replacement.
- Database name used by the application
- Database
User Changes to this property will trigger replacement.
- User name used by the application to connect to database
- php
Workload Name This property is required. Changes to this property will trigger replacement.
- Php workload name
- 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.
- version
This property is required. Changes to this property will trigger replacement.
Versions - Application version
- database
Name Changes to this property will trigger replacement.
- Database name used by the application
- database
User Changes to this property will trigger replacement.
- User name used by the application to connect to database
- php
Workload Name This property is required. Changes to this property will trigger replacement.
- Php workload name
- 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.
- version
This property is required. Changes to this property will trigger replacement.
Versions - Application version
- database
Name Changes to this property will trigger replacement.
- Database name used by the application
- database
User Changes to this property will trigger replacement.
- User name used by the application to connect to database
- php_
workload_ name This property is required. Changes to this property will trigger replacement.
- Php workload name
- 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.
- version
This property is required. Changes to this property will trigger replacement.
Versions - Application version
- database_
name Changes to this property will trigger replacement.
- Database name used by the application
- database_
user Changes to this property will trigger replacement.
- User name used by the application to connect to database
- php
Workload Name This property is required. Changes to this property will trigger replacement.
- Php workload name
- 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.
- version
This property is required. Changes to this property will trigger replacement.
- Application version
- database
Name Changes to this property will trigger replacement.
- Database name used by the application
- database
User Changes to this property will trigger replacement.
- User name used by the application to connect to database
Outputs
All input properties are implicitly available as output properties. Additionally, the WordpressInstance resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - WordPress instance provisioning state
- Site
Url string - Site Url to access the WordPress application
- 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"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - WordPress instance provisioning state
- Site
Url string - Site Url to access the WordPress application
- 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - WordPress instance provisioning state
- site
Url String - Site Url to access the WordPress application
- 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"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - WordPress instance provisioning state
- site
Url string - Site Url to access the WordPress application
- 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"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - WordPress instance provisioning state
- site_
url str - Site Url to access the WordPress application
- 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - WordPress instance provisioning state
- site
Url String - Site Url to access the WordPress application
- 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
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.
WordpressVersions, WordpressVersionsArgs
- Wordpress
Versions_5_4_3 - 5.4.3
- Wordpress
Versions_5_4_2 - 5.4.2
- Wordpress
Versions_5_4_1 - 5.4.1
- Wordpress
Versions_5_4 - 5.4
- Wordpress
Versions_5_4_3 - 5.4.3
- Wordpress
Versions_5_4_2 - 5.4.2
- Wordpress
Versions_5_4_1 - 5.4.1
- Wordpress
Versions_5_4 - 5.4
- _5_4_3
- 5.4.3
- _5_4_2
- 5.4.2
- _5_4_1
- 5.4.1
- _5_4
- 5.4
- Wordpress
Versions_5_4_3 - 5.4.3
- Wordpress
Versions_5_4_2 - 5.4.2
- Wordpress
Versions_5_4_1 - 5.4.1
- Wordpress
Versions_5_4 - 5.4
- WORDPRESS_VERSIONS_5_4_3
- 5.4.3
- WORDPRESS_VERSIONS_5_4_2
- 5.4.2
- WORDPRESS_VERSIONS_5_4_1
- 5.4.1
- WORDPRESS_VERSIONS_5_4
- 5.4
- "5.4.3"
- 5.4.3
- "5.4.2"
- 5.4.2
- "5.4.1"
- 5.4.1
- "5.4"
- 5.4
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:workloads:WordpressInstance default /subscriptions/6d875e77-e412-4d7d-9af4-8895278b4443/resourceGroups/test-rg/providers/Microsot.Workloads/phpWorkloads/wp39/wordpressInstances/default
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