azure-native.apicenter.ApiSource
Explore with Pulumi AI
API source entity. Azure REST API version: 2024-06-01-preview.
Example Usage
ApiSources_CreateOrUpdate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() => 
{
    var apiSource = new AzureNative.ApiCenter.ApiSource("apiSource", new()
    {
        ApiSourceName = "contoso-api-management",
        AzureApiManagementSource = new AzureNative.ApiCenter.Inputs.AzureApiManagementSourceArgs
        {
            MsiResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity",
            ResourceId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiManagement/service/contoso",
        },
        ImportSpecification = AzureNative.ApiCenter.ImportSpecificationOptions.OnDemand,
        ResourceGroupName = "contoso-resources",
        ServiceName = "contoso",
        TargetEnvironmentId = "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiCenter/services/contoso/workspaces/default/environments/azure-api-management",
        TargetLifecycleStage = AzureNative.ApiCenter.LifecycleStage.Design,
        WorkspaceName = "default",
    });
});
package main
import (
	apicenter "github.com/pulumi/pulumi-azure-native-sdk/apicenter/v2"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := apicenter.NewApiSource(ctx, "apiSource", &apicenter.ApiSourceArgs{
			ApiSourceName: pulumi.String("contoso-api-management"),
			AzureApiManagementSource: &apicenter.AzureApiManagementSourceArgs{
				MsiResourceId: pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity"),
				ResourceId:    pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiManagement/service/contoso"),
			},
			ImportSpecification:  pulumi.String(apicenter.ImportSpecificationOptionsOnDemand),
			ResourceGroupName:    pulumi.String("contoso-resources"),
			ServiceName:          pulumi.String("contoso"),
			TargetEnvironmentId:  pulumi.String("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiCenter/services/contoso/workspaces/default/environments/azure-api-management"),
			TargetLifecycleStage: pulumi.String(apicenter.LifecycleStageDesign),
			WorkspaceName:        pulumi.String("default"),
		})
		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.apicenter.ApiSource;
import com.pulumi.azurenative.apicenter.ApiSourceArgs;
import com.pulumi.azurenative.apicenter.inputs.AzureApiManagementSourceArgs;
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 apiSource = new ApiSource("apiSource", ApiSourceArgs.builder()
            .apiSourceName("contoso-api-management")
            .azureApiManagementSource(AzureApiManagementSourceArgs.builder()
                .msiResourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity")
                .resourceId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiManagement/service/contoso")
                .build())
            .importSpecification("ondemand")
            .resourceGroupName("contoso-resources")
            .serviceName("contoso")
            .targetEnvironmentId("/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiCenter/services/contoso/workspaces/default/environments/azure-api-management")
            .targetLifecycleStage("design")
            .workspaceName("default")
            .build());
    }
}
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const apiSource = new azure_native.apicenter.ApiSource("apiSource", {
    apiSourceName: "contoso-api-management",
    azureApiManagementSource: {
        msiResourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity",
        resourceId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiManagement/service/contoso",
    },
    importSpecification: azure_native.apicenter.ImportSpecificationOptions.OnDemand,
    resourceGroupName: "contoso-resources",
    serviceName: "contoso",
    targetEnvironmentId: "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiCenter/services/contoso/workspaces/default/environments/azure-api-management",
    targetLifecycleStage: azure_native.apicenter.LifecycleStage.Design,
    workspaceName: "default",
});
import pulumi
import pulumi_azure_native as azure_native
api_source = azure_native.apicenter.ApiSource("apiSource",
    api_source_name="contoso-api-management",
    azure_api_management_source={
        "msi_resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity",
        "resource_id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiManagement/service/contoso",
    },
    import_specification=azure_native.apicenter.ImportSpecificationOptions.ON_DEMAND,
    resource_group_name="contoso-resources",
    service_name="contoso",
    target_environment_id="/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiCenter/services/contoso/workspaces/default/environments/azure-api-management",
    target_lifecycle_stage=azure_native.apicenter.LifecycleStage.DESIGN,
    workspace_name="default")
resources:
  apiSource:
    type: azure-native:apicenter:ApiSource
    properties:
      apiSourceName: contoso-api-management
      azureApiManagementSource:
        msiResourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ManagedIdentity/userAssignedIdentities/contoso-identity
        resourceId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiManagement/service/contoso
      importSpecification: ondemand
      resourceGroupName: contoso-resources
      serviceName: contoso
      targetEnvironmentId: /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso-resources/providers/Microsoft.ApiCenter/services/contoso/workspaces/default/environments/azure-api-management
      targetLifecycleStage: design
      workspaceName: default
Create ApiSource Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ApiSource(name: string, args: ApiSourceArgs, opts?: CustomResourceOptions);@overload
def ApiSource(resource_name: str,
              args: ApiSourceArgs,
              opts: Optional[ResourceOptions] = None)
@overload
def ApiSource(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              resource_group_name: Optional[str] = None,
              service_name: Optional[str] = None,
              workspace_name: Optional[str] = None,
              api_source_name: Optional[str] = None,
              azure_api_management_source: Optional[AzureApiManagementSourceArgs] = None,
              import_specification: Optional[Union[str, ImportSpecificationOptions]] = None,
              target_environment_id: Optional[str] = None,
              target_lifecycle_stage: Optional[Union[str, LifecycleStage]] = None)func NewApiSource(ctx *Context, name string, args ApiSourceArgs, opts ...ResourceOption) (*ApiSource, error)public ApiSource(string name, ApiSourceArgs args, CustomResourceOptions? opts = null)
public ApiSource(String name, ApiSourceArgs args)
public ApiSource(String name, ApiSourceArgs args, CustomResourceOptions options)
type: azure-native:apicenter:ApiSource
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 ApiSourceArgs
- 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 ApiSourceArgs
- 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 ApiSourceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApiSourceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApiSourceArgs
- 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 apiSourceResource = new AzureNative.ApiCenter.ApiSource("apiSourceResource", new()
{
    ResourceGroupName = "string",
    ServiceName = "string",
    WorkspaceName = "string",
    ApiSourceName = "string",
    AzureApiManagementSource = new AzureNative.ApiCenter.Inputs.AzureApiManagementSourceArgs
    {
        ResourceId = "string",
        MsiResourceId = "string",
    },
    ImportSpecification = "string",
    TargetEnvironmentId = "string",
    TargetLifecycleStage = "string",
});
example, err := apicenter.NewApiSource(ctx, "apiSourceResource", &apicenter.ApiSourceArgs{
	ResourceGroupName: pulumi.String("string"),
	ServiceName:       pulumi.String("string"),
	WorkspaceName:     pulumi.String("string"),
	ApiSourceName:     pulumi.String("string"),
	AzureApiManagementSource: &apicenter.AzureApiManagementSourceArgs{
		ResourceId:    pulumi.String("string"),
		MsiResourceId: pulumi.String("string"),
	},
	ImportSpecification:  pulumi.String("string"),
	TargetEnvironmentId:  pulumi.String("string"),
	TargetLifecycleStage: pulumi.String("string"),
})
var apiSourceResource = new ApiSource("apiSourceResource", ApiSourceArgs.builder()
    .resourceGroupName("string")
    .serviceName("string")
    .workspaceName("string")
    .apiSourceName("string")
    .azureApiManagementSource(AzureApiManagementSourceArgs.builder()
        .resourceId("string")
        .msiResourceId("string")
        .build())
    .importSpecification("string")
    .targetEnvironmentId("string")
    .targetLifecycleStage("string")
    .build());
api_source_resource = azure_native.apicenter.ApiSource("apiSourceResource",
    resource_group_name="string",
    service_name="string",
    workspace_name="string",
    api_source_name="string",
    azure_api_management_source={
        "resource_id": "string",
        "msi_resource_id": "string",
    },
    import_specification="string",
    target_environment_id="string",
    target_lifecycle_stage="string")
const apiSourceResource = new azure_native.apicenter.ApiSource("apiSourceResource", {
    resourceGroupName: "string",
    serviceName: "string",
    workspaceName: "string",
    apiSourceName: "string",
    azureApiManagementSource: {
        resourceId: "string",
        msiResourceId: "string",
    },
    importSpecification: "string",
    targetEnvironmentId: "string",
    targetLifecycleStage: "string",
});
type: azure-native:apicenter:ApiSource
properties:
    apiSourceName: string
    azureApiManagementSource:
        msiResourceId: string
        resourceId: string
    importSpecification: string
    resourceGroupName: string
    serviceName: string
    targetEnvironmentId: string
    targetLifecycleStage: string
    workspaceName: string
ApiSource 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 ApiSource resource accepts the following input properties:
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServiceName string
- The name of Azure API Center service.
- WorkspaceName string
- The name of the workspace.
- ApiSource stringName 
- The name of the API.
- AzureApi Pulumi.Management Source Azure Native. Api Center. Inputs. Azure Api Management Source 
- API source configuration for Azure API Management.
- ImportSpecification string | Pulumi.Azure Native. Api Center. Import Specification Options 
- Indicates if the specification should be imported along with metadata.
- TargetEnvironment stringId 
- The target environment resource ID.
- TargetLifecycle string | Pulumi.Stage Azure Native. Api Center. Lifecycle Stage 
- The target lifecycle stage.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- ServiceName string
- The name of Azure API Center service.
- WorkspaceName string
- The name of the workspace.
- ApiSource stringName 
- The name of the API.
- AzureApi AzureManagement Source Api Management Source Args 
- API source configuration for Azure API Management.
- ImportSpecification string | ImportSpecification Options 
- Indicates if the specification should be imported along with metadata.
- TargetEnvironment stringId 
- The target environment resource ID.
- TargetLifecycle string | LifecycleStage Stage 
- The target lifecycle stage.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serviceName String
- The name of Azure API Center service.
- workspaceName String
- The name of the workspace.
- apiSource StringName 
- The name of the API.
- azureApi AzureManagement Source Api Management Source 
- API source configuration for Azure API Management.
- importSpecification String | ImportSpecification Options 
- Indicates if the specification should be imported along with metadata.
- targetEnvironment StringId 
- The target environment resource ID.
- targetLifecycle String | LifecycleStage Stage 
- The target lifecycle stage.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- serviceName string
- The name of Azure API Center service.
- workspaceName string
- The name of the workspace.
- apiSource stringName 
- The name of the API.
- azureApi AzureManagement Source Api Management Source 
- API source configuration for Azure API Management.
- importSpecification string | ImportSpecification Options 
- Indicates if the specification should be imported along with metadata.
- targetEnvironment stringId 
- The target environment resource ID.
- targetLifecycle string | LifecycleStage Stage 
- The target lifecycle stage.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- service_name str
- The name of Azure API Center service.
- workspace_name str
- The name of the workspace.
- api_source_ strname 
- The name of the API.
- azure_api_ Azuremanagement_ source Api Management Source Args 
- API source configuration for Azure API Management.
- import_specification str | ImportSpecification Options 
- Indicates if the specification should be imported along with metadata.
- target_environment_ strid 
- The target environment resource ID.
- target_lifecycle_ str | Lifecyclestage Stage 
- The target lifecycle stage.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- serviceName String
- The name of Azure API Center service.
- workspaceName String
- The name of the workspace.
- apiSource StringName 
- The name of the API.
- azureApi Property MapManagement Source 
- API source configuration for Azure API Management.
- importSpecification String | "never" | "ondemand" | "always"
- Indicates if the specification should be imported along with metadata.
- targetEnvironment StringId 
- The target environment resource ID.
- targetLifecycle String | "design" | "development" | "testing" | "preview" | "production" | "deprecated" | "retired"Stage 
- The target lifecycle stage.
Outputs
All input properties are implicitly available as output properties. Additionally, the ApiSource resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- LinkState Pulumi.Azure Native. Api Center. Outputs. Link State Response 
- The state of the API source link
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. Api Center. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- LinkState LinkState Response 
- The state of the API source link
- Name string
- The name of the resource
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- linkState LinkState Response 
- The state of the API source link
- name String
- The name of the resource
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- linkState LinkState Response 
- The state of the API source link
- name string
- The name of the resource
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- link_state LinkState Response 
- The state of the API source link
- name str
- The name of the resource
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- 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.
- linkState Property Map
- The state of the API source link
- name String
- The name of the resource
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
Supporting Types
AzureApiManagementSource, AzureApiManagementSourceArgs        
- ResourceId string
- API Management service resource ID.
- MsiResource stringId 
- The resource ID of the managed identity that has access to the API Management instance.
- ResourceId string
- API Management service resource ID.
- MsiResource stringId 
- The resource ID of the managed identity that has access to the API Management instance.
- resourceId String
- API Management service resource ID.
- msiResource StringId 
- The resource ID of the managed identity that has access to the API Management instance.
- resourceId string
- API Management service resource ID.
- msiResource stringId 
- The resource ID of the managed identity that has access to the API Management instance.
- resource_id str
- API Management service resource ID.
- msi_resource_ strid 
- The resource ID of the managed identity that has access to the API Management instance.
- resourceId String
- API Management service resource ID.
- msiResource StringId 
- The resource ID of the managed identity that has access to the API Management instance.
AzureApiManagementSourceResponse, AzureApiManagementSourceResponseArgs          
- ResourceId string
- API Management service resource ID.
- MsiResource stringId 
- The resource ID of the managed identity that has access to the API Management instance.
- ResourceId string
- API Management service resource ID.
- MsiResource stringId 
- The resource ID of the managed identity that has access to the API Management instance.
- resourceId String
- API Management service resource ID.
- msiResource StringId 
- The resource ID of the managed identity that has access to the API Management instance.
- resourceId string
- API Management service resource ID.
- msiResource stringId 
- The resource ID of the managed identity that has access to the API Management instance.
- resource_id str
- API Management service resource ID.
- msi_resource_ strid 
- The resource ID of the managed identity that has access to the API Management instance.
- resourceId String
- API Management service resource ID.
- msiResource StringId 
- The resource ID of the managed identity that has access to the API Management instance.
ImportSpecificationOptions, ImportSpecificationOptionsArgs      
- Never
- neverIndicates that the specification should be never be imported.
- OnDemand 
- ondemandIndicates that the specification should be imported only by request.
- Always
- alwaysIndicates that the specification should always be imported along with metadata.
- ImportSpecification Options Never 
- neverIndicates that the specification should be never be imported.
- ImportSpecification Options On Demand 
- ondemandIndicates that the specification should be imported only by request.
- ImportSpecification Options Always 
- alwaysIndicates that the specification should always be imported along with metadata.
- Never
- neverIndicates that the specification should be never be imported.
- OnDemand 
- ondemandIndicates that the specification should be imported only by request.
- Always
- alwaysIndicates that the specification should always be imported along with metadata.
- Never
- neverIndicates that the specification should be never be imported.
- OnDemand 
- ondemandIndicates that the specification should be imported only by request.
- Always
- alwaysIndicates that the specification should always be imported along with metadata.
- NEVER
- neverIndicates that the specification should be never be imported.
- ON_DEMAND
- ondemandIndicates that the specification should be imported only by request.
- ALWAYS
- alwaysIndicates that the specification should always be imported along with metadata.
- "never"
- neverIndicates that the specification should be never be imported.
- "ondemand"
- ondemandIndicates that the specification should be imported only by request.
- "always"
- alwaysIndicates that the specification should always be imported along with metadata.
LifecycleStage, LifecycleStageArgs    
- Design
- designdesign stage
- Development
- developmentdevelopment stage
- Testing
- testingtesting stage
- Preview
- previewIn preview
- Production
- productionIn production
- Deprecated
- deprecateddeprecated stage
- Retired
- retiredRetired stage
- LifecycleStage Design 
- designdesign stage
- LifecycleStage Development 
- developmentdevelopment stage
- LifecycleStage Testing 
- testingtesting stage
- LifecycleStage Preview 
- previewIn preview
- LifecycleStage Production 
- productionIn production
- LifecycleStage Deprecated 
- deprecateddeprecated stage
- LifecycleStage Retired 
- retiredRetired stage
- Design
- designdesign stage
- Development
- developmentdevelopment stage
- Testing
- testingtesting stage
- Preview
- previewIn preview
- Production
- productionIn production
- Deprecated
- deprecateddeprecated stage
- Retired
- retiredRetired stage
- Design
- designdesign stage
- Development
- developmentdevelopment stage
- Testing
- testingtesting stage
- Preview
- previewIn preview
- Production
- productionIn production
- Deprecated
- deprecateddeprecated stage
- Retired
- retiredRetired stage
- DESIGN
- designdesign stage
- DEVELOPMENT
- developmentdevelopment stage
- TESTING
- testingtesting stage
- PREVIEW
- previewIn preview
- PRODUCTION
- productionIn production
- DEPRECATED
- deprecateddeprecated stage
- RETIRED
- retiredRetired stage
- "design"
- designdesign stage
- "development"
- developmentdevelopment stage
- "testing"
- testingtesting stage
- "preview"
- previewIn preview
- "production"
- productionIn production
- "deprecated"
- deprecateddeprecated stage
- "retired"
- retiredRetired stage
LinkStateResponse, LinkStateResponseArgs      
- LastUpdated stringOn 
- The timestamp of the last update of the link state.
- Message string
- The state message.
- State string
- The state of the link.
- LastUpdated stringOn 
- The timestamp of the last update of the link state.
- Message string
- The state message.
- State string
- The state of the link.
- lastUpdated StringOn 
- The timestamp of the last update of the link state.
- message String
- The state message.
- state String
- The state of the link.
- lastUpdated stringOn 
- The timestamp of the last update of the link state.
- message string
- The state message.
- state string
- The state of the link.
- last_updated_ stron 
- The timestamp of the last update of the link state.
- message str
- The state message.
- state str
- The state of the link.
- lastUpdated StringOn 
- The timestamp of the last update of the link state.
- message String
- The state message.
- state String
- The state of the link.
SystemDataResponse, SystemDataResponseArgs      
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- 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.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- 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.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified 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:apicenter:ApiSource contoso-api-management /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiCenter/services/{serviceName}/workspaces/{workspaceName}/apiSources/{apiSourceName} 
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0