Share via


ExistingAzureResourceExtensions Class

Definition

Extension methods for interacting with resources that are not managed by Aspire's provisioning or container management layer.

public static class ExistingAzureResourceExtensions
type ExistingAzureResourceExtensions = class
Public Module ExistingAzureResourceExtensions
Inheritance
ExistingAzureResourceExtensions

Methods

AsExisting<T>(IResourceBuilder<T>, IResourceBuilder<ParameterResource>, IResourceBuilder<ParameterResource>)

Marks the resource as an existing resource in both run and publish modes.

IsExisting(IResource)

Determines if the resource is an existing resource.

PublishAsExisting<T>(IResourceBuilder<T>, IResourceBuilder<ParameterResource>, IResourceBuilder<ParameterResource>)

Marks the resource as an existing resource when the application is deployed.

PublishAsExisting<T>(IResourceBuilder<T>, String, String)

Marks the resource as an existing resource when the application is deployed.

RunAsExisting<T>(IResourceBuilder<T>, IResourceBuilder<ParameterResource>, IResourceBuilder<ParameterResource>)

Marks the resource as an existing resource when the application is running.

RunAsExisting<T>(IResourceBuilder<T>, String, String)

Marks the resource as an existing resource when the application is running.

Applies to