azure-native.dynamics365fraudprotection.InstanceDetails

Represents an instance of a DFP instance resource. API Version: 2021-02-01-preview.

Example Usage

Create instance

using System.Collections.Generic;
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/go/azure/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

new InstanceDetails(name: string, args: InstanceDetailsArgs, opts?: CustomResourceOptions);
@overload
def InstanceDetails(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    administration: Optional[DFPInstanceAdministratorsArgs] = None,
                    instance_name: Optional[str] = None,
                    location: Optional[str] = None,
                    resource_group_name: Optional[str] = None,
                    tags: Optional[Mapping[str, str]] = None)
@overload
def InstanceDetails(resource_name: str,
                    args: InstanceDetailsArgs,
                    opts: Optional[ResourceOptions] = 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.

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.

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

The InstanceDetails resource accepts the following input properties:

ResourceGroupName string

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.AzureNative.Dynamics365Fraudprotection.Inputs.DFPInstanceAdministratorsArgs

A collection of DFP instance administrators

InstanceName 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.

Tags Dictionary<string, string>

Key-value pairs of additional resource provisioning properties.

ResourceGroupName string

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 DFPInstanceAdministratorsArgs

A collection of DFP instance administrators

InstanceName 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.

Tags map[string]string

Key-value pairs of additional resource provisioning properties.

resourceGroupName String

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 DFPInstanceAdministratorsArgs

A collection of DFP instance administrators

instanceName 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.

tags Map<String,String>

Key-value pairs of additional resource provisioning properties.

resourceGroupName string

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 DFPInstanceAdministratorsArgs

A collection of DFP instance administrators

instanceName 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.

tags {[key: string]: string}

Key-value pairs of additional resource provisioning properties.

resource_group_name str

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 DFPInstanceAdministratorsArgs

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.

tags Mapping[str, str]

Key-value pairs of additional resource provisioning properties.

resourceGroupName String

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

instanceName 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.

tags 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

ProvisioningState string

The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.

SystemData Pulumi.AzureNative.Dynamics365Fraudprotection.Outputs.SystemDataResponse

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

ProvisioningState string

The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.

SystemData SystemDataResponse

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

provisioningState String

The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.

systemData SystemDataResponse

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

provisioningState string

The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.

systemData SystemDataResponse

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 SystemDataResponse

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

provisioningState String

The current deployment state of DFP resource. The provisioningState is to indicate states for resource provisioning.

systemData 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

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

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

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

CreatedAt string

The timestamp of resource creation (UTC).

CreatedBy string

The identity that created the resource.

CreatedByType string

The type of identity that created the resource.

LastModifiedAt string

The timestamp of resource last modification (UTC)

LastModifiedBy string

The identity that last modified the resource.

LastModifiedByType string

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

The type of identity that last modified the resource.

createdAt string

The timestamp of resource creation (UTC).

createdBy string

The identity that created the resource.

createdByType string

The type of identity that created the resource.

lastModifiedAt string

The timestamp of resource last modification (UTC)

lastModifiedBy string

The identity that last modified the resource.

lastModifiedByType string

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_type str

The type of identity that created the resource.

last_modified_at str

The timestamp of resource last modification (UTC)

last_modified_by str

The identity that last modified the resource.

last_modified_by_type str

The type of identity that last modified the resource.

createdAt String

The timestamp of resource creation (UTC).

createdBy String

The identity that created the resource.

createdByType String

The type of identity that created the resource.

lastModifiedAt String

The timestamp of resource last modification (UTC)

lastModifiedBy String

The identity that last modified the resource.

lastModifiedByType String

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 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0