azure-native.dynamics365fraudprotection.InstanceDetails
Explore with Pulumi AI
Represents an instance of a DFP instance resource. API Version: 2021-02-01-preview.
Example Usage
Create instance
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var instanceDetails = new AzureNative.Dynamics365Fraudprotection.InstanceDetails("instanceDetails", new()
{
Administration = new AzureNative.Dynamics365Fraudprotection.Inputs.DFPInstanceAdministratorsArgs
{
Members = new[]
{
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com",
},
},
InstanceName = "azsdktest",
Location = "West US",
ResourceGroupName = "TestRG",
Tags =
{
{ "testKey", "testValue" },
},
});
});
package main
import (
dynamics365fraudprotection "github.com/pulumi/pulumi-azure-native-sdk/dynamics365fraudprotection"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dynamics365fraudprotection.NewInstanceDetails(ctx, "instanceDetails", &dynamics365fraudprotection.InstanceDetailsArgs{
Administration: &dynamics365fraudprotection.DFPInstanceAdministratorsArgs{
Members: pulumi.StringArray{
pulumi.String("azsdktest@microsoft.com"),
pulumi.String("azsdktest2@microsoft.com"),
},
},
InstanceName: pulumi.String("azsdktest"),
Location: pulumi.String("West US"),
ResourceGroupName: pulumi.String("TestRG"),
Tags: pulumi.StringMap{
"testKey": pulumi.String("testValue"),
},
})
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.dynamics365fraudprotection.InstanceDetails;
import com.pulumi.azurenative.dynamics365fraudprotection.InstanceDetailsArgs;
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 instanceDetails = new InstanceDetails("instanceDetails", InstanceDetailsArgs.builder()
.administration(Map.of("members",
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com"))
.instanceName("azsdktest")
.location("West US")
.resourceGroupName("TestRG")
.tags(Map.of("testKey", "testValue"))
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
instance_details = azure_native.dynamics365fraudprotection.InstanceDetails("instanceDetails",
administration=azure_native.dynamics365fraudprotection.DFPInstanceAdministratorsArgs(
members=[
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com",
],
),
instance_name="azsdktest",
location="West US",
resource_group_name="TestRG",
tags={
"testKey": "testValue",
})
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const instanceDetails = new azure_native.dynamics365fraudprotection.InstanceDetails("instanceDetails", {
administration: {
members: [
"azsdktest@microsoft.com",
"azsdktest2@microsoft.com",
],
},
instanceName: "azsdktest",
location: "West US",
resourceGroupName: "TestRG",
tags: {
testKey: "testValue",
},
});
resources:
instanceDetails:
type: azure-native:dynamics365fraudprotection:InstanceDetails
properties:
administration:
members:
- azsdktest@microsoft.com
- azsdktest2@microsoft.com
instanceName: azsdktest
location: West US
resourceGroupName: TestRG
tags:
testKey: testValue
Create InstanceDetails Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InstanceDetails(name: string, args: InstanceDetailsArgs, opts?: CustomResourceOptions);
@overload
def InstanceDetails(resource_name: str,
args: InstanceDetailsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InstanceDetails(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
administration: Optional[DFPInstanceAdministratorsArgs] = None,
instance_name: Optional[str] = None,
location: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)
func NewInstanceDetails(ctx *Context, name string, args InstanceDetailsArgs, opts ...ResourceOption) (*InstanceDetails, error)
public InstanceDetails(string name, InstanceDetailsArgs args, CustomResourceOptions? opts = null)
public InstanceDetails(String name, InstanceDetailsArgs args)
public InstanceDetails(String name, InstanceDetailsArgs args, CustomResourceOptions options)
type: azure-native:dynamics365fraudprotection:InstanceDetails
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 InstanceDetailsArgs
- 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 InstanceDetailsArgs
- 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 InstanceDetailsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args InstanceDetailsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args InstanceDetailsArgs
- 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 instanceDetailsResource = new AzureNative.Dynamics365fraudprotection.InstanceDetails("instanceDetailsResource", new()
{
ResourceGroupName = "string",
Administration =
{
{ "members", new[]
{
"string",
} },
},
InstanceName = "string",
Location = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := dynamics365fraudprotection.NewInstanceDetails(ctx, "instanceDetailsResource", &dynamics365fraudprotection.InstanceDetailsArgs{
ResourceGroupName: "string",
Administration: map[string]interface{}{
"members": []string{
"string",
},
},
InstanceName: "string",
Location: "string",
Tags: map[string]interface{}{
"string": "string",
},
})
var instanceDetailsResource = new InstanceDetails("instanceDetailsResource", InstanceDetailsArgs.builder()
.resourceGroupName("string")
.administration(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.instanceName("string")
.location("string")
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
instance_details_resource = azure_native.dynamics365fraudprotection.InstanceDetails("instanceDetailsResource",
resource_group_name=string,
administration={
members: [string],
},
instance_name=string,
location=string,
tags={
string: string,
})
const instanceDetailsResource = new azure_native.dynamics365fraudprotection.InstanceDetails("instanceDetailsResource", {
resourceGroupName: "string",
administration: {
members: ["string"],
},
instanceName: "string",
location: "string",
tags: {
string: "string",
},
});
type: azure-native:dynamics365fraudprotection:InstanceDetails
properties:
administration:
members:
- string
instanceName: string
location: string
resourceGroupName: string
tags:
string: string
InstanceDetails 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 InstanceDetails resource accepts the following input properties:
- Resource
Group stringName - The name of the Azure Resource group of which a given DFP instance is part. This name must be at least 1 character in length, and no more than 90.
- Administration
Pulumi.
Azure Native. Dynamics365Fraudprotection. Inputs. DFPInstance Administrators - A collection of DFP instance administrators
- Instance
Name string - The name of the DFP instances. It must be a minimum of 3 characters, and a maximum of 63.
- Location string
- Location of the DFP resource.
- Dictionary<string, string>
- Key-value pairs of additional resource provisioning properties.
- Resource
Group stringName - The name of the Azure Resource group of which a given DFP instance is part. This name must be at least 1 character in length, and no more than 90.
- Administration
DFPInstance
Administrators Args - A collection of DFP instance administrators
- Instance
Name string - The name of the DFP instances. It must be a minimum of 3 characters, and a maximum of 63.
- Location string
- Location of the DFP resource.
- map[string]string
- Key-value pairs of additional resource provisioning properties.
- resource
Group StringName - The name of the Azure Resource group of which a given DFP instance is part. This name must be at least 1 character in length, and no more than 90.
- administration
DFPInstance
Administrators - A collection of DFP instance administrators
- instance
Name String - The name of the DFP instances. It must be a minimum of 3 characters, and a maximum of 63.
- location String
- Location of the DFP resource.
- Map<String,String>
- Key-value pairs of additional resource provisioning properties.
- resource
Group stringName - The name of the Azure Resource group of which a given DFP instance is part. This name must be at least 1 character in length, and no more than 90.
- administration
DFPInstance
Administrators - A collection of DFP instance administrators
- instance
Name string - The name of the DFP instances. It must be a minimum of 3 characters, and a maximum of 63.
- location string
- Location of the DFP resource.
- {[key: string]: string}
- Key-value pairs of additional resource provisioning properties.
- resource_
group_ strname - The name of the Azure Resource group of which a given DFP instance is part. This name must be at least 1 character in length, and no more than 90.
- administration
DFPInstance
Administrators Args - A collection of DFP instance administrators
- instance_
name str - The name of the DFP instances. It must be a minimum of 3 characters, and a maximum of 63.
- location str
- Location of the DFP resource.
- Mapping[str, str]
- Key-value pairs of additional resource provisioning properties.
- resource
Group StringName - The name of the Azure Resource group of which a given DFP instance is part. This name must be at least 1 character in length, and no more than 90.
- administration Property Map
- A collection of DFP instance administrators
- instance
Name String - The name of the DFP instances. It must be a minimum of 3 characters, and a maximum of 63.
- location String
- Location of the DFP resource.
- Map<String>
- Key-value pairs of additional resource provisioning properties.
Outputs
All input properties are implicitly available as output properties. Additionally, the InstanceDetails 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 - The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.
- System
Data Pulumi.Azure Native. Dynamics365Fraudprotection. 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"
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- The name of the resource
- Provisioning
State string - The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.
- 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.
- 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"
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- The name of the resource
- provisioning
State string - The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.
- 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"
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- The name of the resource
- provisioning_
state str - The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.
- 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"
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- The name of the resource
- provisioning
State String - The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.
- 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
DFPInstanceAdministrators, DFPInstanceAdministratorsArgs
- Members List<string>
- An array of administrator user identities.
- Members []string
- An array of administrator user identities.
- members List<String>
- An array of administrator user identities.
- members string[]
- An array of administrator user identities.
- members Sequence[str]
- An array of administrator user identities.
- members List<String>
- An array of administrator user identities.
DFPInstanceAdministratorsResponse, DFPInstanceAdministratorsResponseArgs
- Members List<string>
- An array of administrator user identities.
- Members []string
- An array of administrator user identities.
- members List<String>
- An array of administrator user identities.
- members string[]
- An array of administrator user identities.
- members Sequence[str]
- An array of administrator user identities.
- members List<String>
- An array of administrator user identities.
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:dynamics365fraudprotection:InstanceDetails azsdktest /subscriptions/613192d7-503f-477a-9cfe-4efc3ee2bd60/resourceGroups/TestRG/providers/Microsoft.Dynamics365Fraudprotection/instances/azsdktest
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