azure-native-v2.web.StaticSiteLinkedBackend
Explore with Pulumi AI
Static Site Linked Backend ARM resource. Azure REST API version: 2022-09-01. Prior API version in Azure Native 1.x: 2022-03-01.
Other available API versions: 2023-01-01, 2023-12-01, 2024-04-01.
Create StaticSiteLinkedBackend Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new StaticSiteLinkedBackend(name: string, args: StaticSiteLinkedBackendArgs, opts?: CustomResourceOptions);
@overload
def StaticSiteLinkedBackend(resource_name: str,
args: StaticSiteLinkedBackendArgs,
opts: Optional[ResourceOptions] = None)
@overload
def StaticSiteLinkedBackend(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
region: Optional[str] = None,
resource_group_name: Optional[str] = None,
backend_resource_id: Optional[str] = None,
kind: Optional[str] = None,
linked_backend_name: Optional[str] = None)
func NewStaticSiteLinkedBackend(ctx *Context, name string, args StaticSiteLinkedBackendArgs, opts ...ResourceOption) (*StaticSiteLinkedBackend, error)
public StaticSiteLinkedBackend(string name, StaticSiteLinkedBackendArgs args, CustomResourceOptions? opts = null)
public StaticSiteLinkedBackend(String name, StaticSiteLinkedBackendArgs args)
public StaticSiteLinkedBackend(String name, StaticSiteLinkedBackendArgs args, CustomResourceOptions options)
type: azure-native:web:StaticSiteLinkedBackend
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. StaticSiteLinkedBackendArgs - 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. StaticSiteLinkedBackendArgs - 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. StaticSiteLinkedBackendArgs - 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. StaticSiteLinkedBackendArgs - 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. StaticSiteLinkedBackendArgs - 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 staticSiteLinkedBackendResource = new AzureNative.Web.StaticSiteLinkedBackend("staticSiteLinkedBackendResource", new()
{
Name = "string",
Region = "string",
ResourceGroupName = "string",
BackendResourceId = "string",
Kind = "string",
LinkedBackendName = "string",
});
example, err := web.NewStaticSiteLinkedBackend(ctx, "staticSiteLinkedBackendResource", &web.StaticSiteLinkedBackendArgs{
Name: "string",
Region: "string",
ResourceGroupName: "string",
BackendResourceId: "string",
Kind: "string",
LinkedBackendName: "string",
})
var staticSiteLinkedBackendResource = new StaticSiteLinkedBackend("staticSiteLinkedBackendResource", StaticSiteLinkedBackendArgs.builder()
.name("string")
.region("string")
.resourceGroupName("string")
.backendResourceId("string")
.kind("string")
.linkedBackendName("string")
.build());
static_site_linked_backend_resource = azure_native.web.StaticSiteLinkedBackend("staticSiteLinkedBackendResource",
name=string,
region=string,
resource_group_name=string,
backend_resource_id=string,
kind=string,
linked_backend_name=string)
const staticSiteLinkedBackendResource = new azure_native.web.StaticSiteLinkedBackend("staticSiteLinkedBackendResource", {
name: "string",
region: "string",
resourceGroupName: "string",
backendResourceId: "string",
kind: "string",
linkedBackendName: "string",
});
type: azure-native:web:StaticSiteLinkedBackend
properties:
backendResourceId: string
kind: string
linkedBackendName: string
name: string
region: string
resourceGroupName: string
StaticSiteLinkedBackend 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 StaticSiteLinkedBackend resource accepts the following input properties:
- Name
This property is required. Changes to this property will trigger replacement.
- Name of the static site
- Region
This property is required. string - The region of the backend linked to the static site
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- Backend
Resource stringId - The resource id of the backend linked to the static site
- Kind string
- Kind of resource.
- Linked
Backend Name Changes to this property will trigger replacement.
- Name of the backend to link to the static site
- Name
This property is required. Changes to this property will trigger replacement.
- Name of the static site
- Region
This property is required. string - The region of the backend linked to the static site
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- Backend
Resource stringId - The resource id of the backend linked to the static site
- Kind string
- Kind of resource.
- Linked
Backend Name Changes to this property will trigger replacement.
- Name of the backend to link to the static site
- name
This property is required. Changes to this property will trigger replacement.
- Name of the static site
- region
This property is required. String - The region of the backend linked to the static site
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- backend
Resource StringId - The resource id of the backend linked to the static site
- kind String
- Kind of resource.
- linked
Backend Name Changes to this property will trigger replacement.
- Name of the backend to link to the static site
- name
This property is required. Changes to this property will trigger replacement.
- Name of the static site
- region
This property is required. string - The region of the backend linked to the static site
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- backend
Resource stringId - The resource id of the backend linked to the static site
- kind string
- Kind of resource.
- linked
Backend Name Changes to this property will trigger replacement.
- Name of the backend to link to the static site
- name
This property is required. Changes to this property will trigger replacement.
- Name of the static site
- region
This property is required. str - The region of the backend linked to the static site
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- backend_
resource_ strid - The resource id of the backend linked to the static site
- kind str
- Kind of resource.
- linked_
backend_ name Changes to this property will trigger replacement.
- Name of the backend to link to the static site
- name
This property is required. Changes to this property will trigger replacement.
- Name of the static site
- region
This property is required. String - The region of the backend linked to the static site
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- backend
Resource StringId - The resource id of the backend linked to the static site
- kind String
- Kind of resource.
- linked
Backend Name Changes to this property will trigger replacement.
- Name of the backend to link to the static site
Outputs
All input properties are implicitly available as output properties. Additionally, the StaticSiteLinkedBackend resource produces the following output properties:
- Created
On string - The date and time on which the backend was linked to the static site.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the linking process.
- Type string
- Resource type.
- Created
On string - The date and time on which the backend was linked to the static site.
- Id string
- The provider-assigned unique ID for this managed resource.
- Provisioning
State string - The provisioning state of the linking process.
- Type string
- Resource type.
- created
On String - The date and time on which the backend was linked to the static site.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the linking process.
- type String
- Resource type.
- created
On string - The date and time on which the backend was linked to the static site.
- id string
- The provider-assigned unique ID for this managed resource.
- provisioning
State string - The provisioning state of the linking process.
- type string
- Resource type.
- created_
on str - The date and time on which the backend was linked to the static site.
- id str
- The provider-assigned unique ID for this managed resource.
- provisioning_
state str - The provisioning state of the linking process.
- type str
- Resource type.
- created
On String - The date and time on which the backend was linked to the static site.
- id String
- The provider-assigned unique ID for this managed resource.
- provisioning
State String - The provisioning state of the linking process.
- type String
- Resource type.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:web:StaticSiteLinkedBackend testBackend /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/staticSites/{name}/linkedBackends/{linkedBackendName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v2 pulumi/pulumi-azure-native
- License
- Apache-2.0