Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The phpWorkloads/wordpressInstances resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
To create a Microsoft.Workloads/phpWorkloads/wordpressInstances resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.Workloads/phpWorkloads/wordpressInstances@2021-12-01-preview' = {
parent: resourceSymbolicName
name: 'default'
properties: {
databaseName: 'string'
databaseUser: 'string'
version: 'string'
}
}
Name | Description | Value |
---|---|---|
name | The resource name | 'default' (required) |
parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: phpWorkloads |
properties | Resource properties | WordpressInstanceResourceProperties |
Name | Description | Value |
---|---|---|
databaseName | Database name used by the application | string |
databaseUser | User name used by the application to connect to database | string |
version | Application version | '5.4' '5.4.1' '5.4.2' '5.4.3' (required) |
The phpWorkloads/wordpressInstances resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
To create a Microsoft.Workloads/phpWorkloads/wordpressInstances resource, add the following JSON to your template.
{
"type": "Microsoft.Workloads/phpWorkloads/wordpressInstances",
"apiVersion": "2021-12-01-preview",
"name": "string",
"properties": {
"databaseName": "string",
"databaseUser": "string",
"version": "string"
}
}
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2021-12-01-preview' |
name | The resource name | 'default' (required) |
properties | Resource properties | WordpressInstanceResourceProperties |
type | The resource type | 'Microsoft.Workloads/phpWorkloads/wordpressInstances' |
Name | Description | Value |
---|---|---|
databaseName | Database name used by the application | string |
databaseUser | User name used by the application to connect to database | string |
version | Application version | '5.4' '5.4.1' '5.4.2' '5.4.3' (required) |
The phpWorkloads/wordpressInstances resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
To create a Microsoft.Workloads/phpWorkloads/wordpressInstances resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Workloads/phpWorkloads/wordpressInstances@2021-12-01-preview"
name = "string"
body = {
properties = {
databaseName = "string"
databaseUser = "string"
version = "string"
}
}
}
Name | Description | Value |
---|---|---|
name | The resource name | 'default' (required) |
parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: phpWorkloads |
properties | Resource properties | WordpressInstanceResourceProperties |
type | The resource type | "Microsoft.Workloads/phpWorkloads/wordpressInstances@2021-12-01-preview" |
Name | Description | Value |
---|---|---|
databaseName | Database name used by the application | string |
databaseUser | User name used by the application to connect to database | string |
version | Application version | '5.4' '5.4.1' '5.4.2' '5.4.3' (required) |