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 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")
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",
});
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:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of Azure API Center service.
- Workspace
Name string - The name of the workspace.
- Api
Source stringName - The name of the API.
- Azure
Api Pulumi.Management Source Azure Native. Api Center. Inputs. Azure Api Management Source - API source configuration for Azure API Management.
- Import
Specification string | Pulumi.Azure Native. Api Center. Import Specification Options - Indicates if the specification should be imported along with metadata.
- Target
Environment stringId - The target environment resource ID.
- Target
Lifecycle string | Pulumi.Stage Azure Native. Api Center. Lifecycle Stage - The target lifecycle stage.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Service
Name string - The name of Azure API Center service.
- Workspace
Name string - The name of the workspace.
- Api
Source stringName - The name of the API.
- Azure
Api AzureManagement Source Api Management Source Args - API source configuration for Azure API Management.
- Import
Specification string | ImportSpecification Options - Indicates if the specification should be imported along with metadata.
- Target
Environment stringId - The target environment resource ID.
- Target
Lifecycle string | LifecycleStage Stage - The target lifecycle stage.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of Azure API Center service.
- workspace
Name String - The name of the workspace.
- api
Source StringName - The name of the API.
- azure
Api AzureManagement Source Api Management Source - API source configuration for Azure API Management.
- import
Specification String | ImportSpecification Options - Indicates if the specification should be imported along with metadata.
- target
Environment StringId - The target environment resource ID.
- target
Lifecycle String | LifecycleStage Stage - The target lifecycle stage.
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- service
Name string - The name of Azure API Center service.
- workspace
Name string - The name of the workspace.
- api
Source stringName - The name of the API.
- azure
Api AzureManagement Source Api Management Source - API source configuration for Azure API Management.
- import
Specification string | ImportSpecification Options - Indicates if the specification should be imported along with metadata.
- target
Environment stringId - The target environment resource ID.
- target
Lifecycle 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.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- service
Name String - The name of Azure API Center service.
- workspace
Name String - The name of the workspace.
- api
Source StringName - The name of the API.
- azure
Api Property MapManagement Source - API source configuration for Azure API Management.
- import
Specification String | "never" | "ondemand" | "always" - Indicates if the specification should be imported along with metadata.
- target
Environment StringId - The target environment resource ID.
- target
Lifecycle 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.
- Link
State Pulumi.Azure Native. Api Center. Outputs. Link State Response - The state of the API source link
- Name string
- The name of the resource
- System
Data 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.
- Link
State LinkState Response - The state of the API source link
- Name string
- The name of the resource
- System
Data 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.
- link
State LinkState Response - The state of the API source link
- name String
- The name of the resource
- system
Data 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.
- link
State LinkState Response - The state of the API source link
- name string
- The name of the resource
- system
Data 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.
- link
State Property Map - The state of the API source link
- name String
- The name of the resource
- system
Data 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
- Resource
Id string - API Management service resource ID.
- Msi
Resource stringId - The resource ID of the managed identity that has access to the API Management instance.
- Resource
Id string - API Management service resource ID.
- Msi
Resource stringId - The resource ID of the managed identity that has access to the API Management instance.
- resource
Id String - API Management service resource ID.
- msi
Resource StringId - The resource ID of the managed identity that has access to the API Management instance.
- resource
Id string - API Management service resource ID.
- msi
Resource 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.
- resource
Id String - API Management service resource ID.
- msi
Resource StringId - The resource ID of the managed identity that has access to the API Management instance.
AzureApiManagementSourceResponse, AzureApiManagementSourceResponseArgs
- Resource
Id string - API Management service resource ID.
- Msi
Resource stringId - The resource ID of the managed identity that has access to the API Management instance.
- Resource
Id string - API Management service resource ID.
- Msi
Resource stringId - The resource ID of the managed identity that has access to the API Management instance.
- resource
Id String - API Management service resource ID.
- msi
Resource StringId - The resource ID of the managed identity that has access to the API Management instance.
- resource
Id string - API Management service resource ID.
- msi
Resource 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.
- resource
Id String - API Management service resource ID.
- msi
Resource 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.
- On
Demand - ondemandIndicates that the specification should be imported only by request.
- Always
- alwaysIndicates that the specification should always be imported along with metadata.
- Import
Specification Options Never - neverIndicates that the specification should be never be imported.
- Import
Specification Options On Demand - ondemandIndicates that the specification should be imported only by request.
- Import
Specification Options 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.
- 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.
- 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
- Lifecycle
Stage Design - designdesign stage
- Lifecycle
Stage Development - developmentdevelopment stage
- Lifecycle
Stage Testing - testingtesting stage
- Lifecycle
Stage Preview - previewIn preview
- Lifecycle
Stage Production - productionIn production
- Lifecycle
Stage Deprecated - deprecateddeprecated stage
- Lifecycle
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
- "design"
- designdesign stage
- "development"
- developmentdevelopment stage
- "testing"
- testingtesting stage
- "preview"
- previewIn preview
- "production"
- productionIn production
- "deprecated"
- deprecateddeprecated stage
- "retired"
- retiredRetired stage
LinkStateResponse, LinkStateResponseArgs
- Last
Updated 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 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 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 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.
- last
Updated 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
- 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: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