ReplicationRecoveryServicesProviderArgs

data class ReplicationRecoveryServicesProviderArgs(val fabricName: Output<String>? = null, val properties: Output<AddRecoveryServicesProviderInputPropertiesArgs>? = null, val providerName: Output<String>? = null, val resourceGroupName: Output<String>? = null, val resourceName: Output<String>? = null) : ConvertibleToJava<ReplicationRecoveryServicesProviderArgs>

Provider details. Uses Azure REST API version 2024-10-01. In version 2.x of the Azure Native provider, it used API version 2023-04-01. Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native recoveryservices [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

Example Usage

Adds a recovery services provider.

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var replicationRecoveryServicesProvider = new AzureNative.RecoveryServices.ReplicationRecoveryServicesProvider("replicationRecoveryServicesProvider", new()
{
FabricName = "vmwarefabric1",
Properties = new AzureNative.RecoveryServices.Inputs.AddRecoveryServicesProviderInputPropertiesArgs
{
AuthenticationIdentityInput = new AzureNative.RecoveryServices.Inputs.IdentityProviderInputArgs
{
AadAuthority = "https://login.microsoftonline.com",
ApplicationId = "f66fce08-c0c6-47a1-beeb-0ede5ea94f90",
Audience = "https://microsoft.onmicrosoft.com/cf19e349-644c-4c6a-bcae-9c8f35357874",
ObjectId = "141360b8-5686-4240-a027-5e24e6affeba",
TenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47",
},
MachineName = "vmwareprovider1",
ResourceAccessIdentityInput = new AzureNative.RecoveryServices.Inputs.IdentityProviderInputArgs
{
AadAuthority = "https://login.microsoftonline.com",
ApplicationId = "f66fce08-c0c6-47a1-beeb-0ede5ea94f90",
Audience = "https://microsoft.onmicrosoft.com/cf19e349-644c-4c6a-bcae-9c8f35357874",
ObjectId = "141360b8-5686-4240-a027-5e24e6affeba",
TenantId = "72f988bf-86f1-41af-91ab-2d7cd011db47",
},
},
ProviderName = "vmwareprovider1",
ResourceGroupName = "resourcegroup1",
ResourceName = "migrationvault",
});
});
package main
import (
recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices/v3"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recoveryservices.NewReplicationRecoveryServicesProvider(ctx, "replicationRecoveryServicesProvider", &recoveryservices.ReplicationRecoveryServicesProviderArgs{
FabricName: pulumi.String("vmwarefabric1"),
Properties: &recoveryservices.AddRecoveryServicesProviderInputPropertiesArgs{
AuthenticationIdentityInput: &recoveryservices.IdentityProviderInputArgs{
AadAuthority: pulumi.String("https://login.microsoftonline.com"),
ApplicationId: pulumi.String("f66fce08-c0c6-47a1-beeb-0ede5ea94f90"),
Audience: pulumi.String("https://microsoft.onmicrosoft.com/cf19e349-644c-4c6a-bcae-9c8f35357874"),
ObjectId: pulumi.String("141360b8-5686-4240-a027-5e24e6affeba"),
TenantId: pulumi.String("72f988bf-86f1-41af-91ab-2d7cd011db47"),
},
MachineName: pulumi.String("vmwareprovider1"),
ResourceAccessIdentityInput: &recoveryservices.IdentityProviderInputArgs{
AadAuthority: pulumi.String("https://login.microsoftonline.com"),
ApplicationId: pulumi.String("f66fce08-c0c6-47a1-beeb-0ede5ea94f90"),
Audience: pulumi.String("https://microsoft.onmicrosoft.com/cf19e349-644c-4c6a-bcae-9c8f35357874"),
ObjectId: pulumi.String("141360b8-5686-4240-a027-5e24e6affeba"),
TenantId: pulumi.String("72f988bf-86f1-41af-91ab-2d7cd011db47"),
},
},
ProviderName: pulumi.String("vmwareprovider1"),
ResourceGroupName: pulumi.String("resourcegroup1"),
ResourceName: pulumi.String("migrationvault"),
})
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.recoveryservices.ReplicationRecoveryServicesProvider;
import com.pulumi.azurenative.recoveryservices.ReplicationRecoveryServicesProviderArgs;
import com.pulumi.azurenative.recoveryservices.inputs.AddRecoveryServicesProviderInputPropertiesArgs;
import com.pulumi.azurenative.recoveryservices.inputs.IdentityProviderInputArgs;
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 replicationRecoveryServicesProvider = new ReplicationRecoveryServicesProvider("replicationRecoveryServicesProvider", ReplicationRecoveryServicesProviderArgs.builder()
.fabricName("vmwarefabric1")
.properties(AddRecoveryServicesProviderInputPropertiesArgs.builder()
.authenticationIdentityInput(IdentityProviderInputArgs.builder()
.aadAuthority("https://login.microsoftonline.com")
.applicationId("f66fce08-c0c6-47a1-beeb-0ede5ea94f90")
.audience("https://microsoft.onmicrosoft.com/cf19e349-644c-4c6a-bcae-9c8f35357874")
.objectId("141360b8-5686-4240-a027-5e24e6affeba")
.tenantId("72f988bf-86f1-41af-91ab-2d7cd011db47")
.build())
.machineName("vmwareprovider1")
.resourceAccessIdentityInput(IdentityProviderInputArgs.builder()
.aadAuthority("https://login.microsoftonline.com")
.applicationId("f66fce08-c0c6-47a1-beeb-0ede5ea94f90")
.audience("https://microsoft.onmicrosoft.com/cf19e349-644c-4c6a-bcae-9c8f35357874")
.objectId("141360b8-5686-4240-a027-5e24e6affeba")
.tenantId("72f988bf-86f1-41af-91ab-2d7cd011db47")
.build())
.build())
.providerName("vmwareprovider1")
.resourceGroupName("resourcegroup1")
.resourceName("migrationvault")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:recoveryservices:ReplicationRecoveryServicesProvider vmwareprovider1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.RecoveryServices/vaults/{resourceName}/replicationFabrics/{fabricName}/replicationRecoveryServicesProviders/{providerName}

Constructors

Link copied to clipboard
constructor(fabricName: Output<String>? = null, properties: Output<AddRecoveryServicesProviderInputPropertiesArgs>? = null, providerName: Output<String>? = null, resourceGroupName: Output<String>? = null, resourceName: Output<String>? = null)

Properties

Link copied to clipboard
val fabricName: Output<String>? = null

Fabric name.

Link copied to clipboard

The properties of an add provider request.

Link copied to clipboard
val providerName: Output<String>? = null

Recovery services provider name.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group where the recovery services vault is present.

Link copied to clipboard
val resourceName: Output<String>? = null

The name of the recovery services vault.

Functions

Link copied to clipboard
open override fun toJava(): ReplicationRecoveryServicesProviderArgs