azure-native.agfoodplatform.Extension
Explore with Pulumi AI
Extension resource. API Version: 2020-05-12-preview.
Example Usage
Extensions_Create
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var extension = new AzureNative.AgFoodPlatform.Extension("extension", new()
{
ExtensionId = "provider.extension",
FarmBeatsResourceName = "examples-farmbeatsResourceName",
ResourceGroupName = "examples-rg",
});
});
package main
import (
agfoodplatform "github.com/pulumi/pulumi-azure-native-sdk/agfoodplatform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := agfoodplatform.NewExtension(ctx, "extension", &agfoodplatform.ExtensionArgs{
ExtensionId: pulumi.String("provider.extension"),
FarmBeatsResourceName: pulumi.String("examples-farmbeatsResourceName"),
ResourceGroupName: pulumi.String("examples-rg"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.agfoodplatform.Extension;
import com.pulumi.azurenative.agfoodplatform.ExtensionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var extension = new Extension("extension", ExtensionArgs.builder()
.extensionId("provider.extension")
.farmBeatsResourceName("examples-farmbeatsResourceName")
.resourceGroupName("examples-rg")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
extension = azure_native.agfoodplatform.Extension("extension",
extension_id="provider.extension",
farm_beats_resource_name="examples-farmbeatsResourceName",
resource_group_name="examples-rg")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const extension = new azure_native.agfoodplatform.Extension("extension", {
extensionId: "provider.extension",
farmBeatsResourceName: "examples-farmbeatsResourceName",
resourceGroupName: "examples-rg",
});
resources:
extension:
type: azure-native:agfoodplatform:Extension
properties:
extensionId: provider.extension
farmBeatsResourceName: examples-farmbeatsResourceName
resourceGroupName: examples-rg
Create Extension Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Extension(name: string, args: ExtensionArgs, opts?: CustomResourceOptions);
@overload
def Extension(resource_name: str,
args: ExtensionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Extension(resource_name: str,
opts: Optional[ResourceOptions] = None,
farm_beats_resource_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
extension_id: Optional[str] = None)
func NewExtension(ctx *Context, name string, args ExtensionArgs, opts ...ResourceOption) (*Extension, error)
public Extension(string name, ExtensionArgs args, CustomResourceOptions? opts = null)
public Extension(String name, ExtensionArgs args)
public Extension(String name, ExtensionArgs args, CustomResourceOptions options)
type: azure-native:agfoodplatform:Extension
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ExtensionArgs
- 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 extensionResource = new AzureNative.Agfoodplatform.Extension("extensionResource", new()
{
FarmBeatsResourceName = "string",
ResourceGroupName = "string",
ExtensionId = "string",
});
example, err := agfoodplatform.NewExtension(ctx, "extensionResource", &agfoodplatform.ExtensionArgs{
FarmBeatsResourceName: "string",
ResourceGroupName: "string",
ExtensionId: "string",
})
var extensionResource = new Extension("extensionResource", ExtensionArgs.builder()
.farmBeatsResourceName("string")
.resourceGroupName("string")
.extensionId("string")
.build());
extension_resource = azure_native.agfoodplatform.Extension("extensionResource",
farm_beats_resource_name=string,
resource_group_name=string,
extension_id=string)
const extensionResource = new azure_native.agfoodplatform.Extension("extensionResource", {
farmBeatsResourceName: "string",
resourceGroupName: "string",
extensionId: "string",
});
type: azure-native:agfoodplatform:Extension
properties:
extensionId: string
farmBeatsResourceName: string
resourceGroupName: string
Extension Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Extension resource accepts the following input properties:
- Farm
Beats stringResource Name - FarmBeats resource name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Extension
Id string - Id of extension resource.
- Farm
Beats stringResource Name - FarmBeats resource name.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Extension
Id string - Id of extension resource.
- farm
Beats StringResource Name - FarmBeats resource name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- extension
Id String - Id of extension resource.
- farm
Beats stringResource Name - FarmBeats resource name.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- extension
Id string - Id of extension resource.
- farm_
beats_ strresource_ name - FarmBeats resource name.
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- extension_
id str - Id of extension resource.
- farm
Beats StringResource Name - FarmBeats resource name.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- extension
Id String - Id of extension resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the Extension resource produces the following output properties:
- ETag string
- The ETag value to implement optimistic concurrency.
- Extension
Api stringDocs Link - Extension api docs link.
- Extension
Auth stringLink - Extension auth link.
- Extension
Category string - Extension category. e.g. weather/sensor/satellite.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installed
Extension stringVersion - Installed extension version.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Ag Food Platform. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- ETag string
- The ETag value to implement optimistic concurrency.
- Extension
Api stringDocs Link - Extension api docs link.
- Extension
Auth stringLink - Extension auth link.
- Extension
Category string - Extension category. e.g. weather/sensor/satellite.
- Id string
- The provider-assigned unique ID for this managed resource.
- Installed
Extension stringVersion - Installed extension version.
- Name string
- The name of the resource
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- e
Tag String - The ETag value to implement optimistic concurrency.
- extension
Api StringDocs Link - Extension api docs link.
- extension
Auth StringLink - Extension auth link.
- extension
Category String - Extension category. e.g. weather/sensor/satellite.
- id String
- The provider-assigned unique ID for this managed resource.
- installed
Extension StringVersion - Installed extension version.
- name String
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- e
Tag string - The ETag value to implement optimistic concurrency.
- extension
Api stringDocs Link - Extension api docs link.
- extension
Auth stringLink - Extension auth link.
- extension
Category string - Extension category. e.g. weather/sensor/satellite.
- id string
- The provider-assigned unique ID for this managed resource.
- installed
Extension stringVersion - Installed extension version.
- name string
- The name of the resource
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- e_
tag str - The ETag value to implement optimistic concurrency.
- extension_
api_ strdocs_ link - Extension api docs link.
- extension_
auth_ strlink - Extension auth link.
- extension_
category str - Extension category. e.g. weather/sensor/satellite.
- id str
- The provider-assigned unique ID for this managed resource.
- installed_
extension_ strversion - Installed extension version.
- name str
- The name of the resource
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- e
Tag String - The ETag value to implement optimistic concurrency.
- extension
Api StringDocs Link - Extension api docs link.
- extension
Auth StringLink - Extension auth link.
- extension
Category String - Extension category. e.g. weather/sensor/satellite.
- id String
- The provider-assigned unique ID for this managed resource.
- installed
Extension StringVersion - Installed extension version.
- name String
- The name of the resource
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- 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.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:agfoodplatform:Extension provider.extension /subscriptions/11111111-2222-3333-4444-555555555555/resourceGroups/examples-rg/Microsoft.AgFoodPlatform/farmBeats/examples-farmbeatsResourceName/extensions/provider.extension
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