IAzureResource
Interface
interface IAzureResource { asExisting( name: ParameterResource, resourceGroup?: ParameterResource): IAzureResource; clearDefaultRoleAssignments(): IAzureResource; getBicepIdentifier(): string; isExisting(): boolean; publishAsConnectionString(): IAzureResource; publishAsExisting( name: ParameterResource, resourceGroup?: ParameterResource): IAzureResource; runAsExisting( name: ParameterResource, resourceGroup?: ParameterResource): IAzureResource;}7 members
Methods
Marks the resource as an existing resource in both run and publish modes.
asExisting( name: ParameterResource, resourceGroup?: ParameterResource): IAzureResourceParameters
nameParameterResourceresourceGroupParameterResourceoptionalReturns
IAzureResourceClears all default role assignments for the specified Azure resource.
clearDefaultRoleAssignments(): IAzureResourceReturns
IAzureResourcemethod
getBicepIdentifierGets the Bicep identifier for the Azure resource.
getBicepIdentifier(): stringReturns
stringmethod
isExistingDetermines whether the Azure resource is marked as existing.
isExisting(): booleanReturns
booleanChanges the resource to be published as a connection string reference in the manifest.
publishAsConnectionString(): IAzureResourceReturns
IAzureResourceMarks the resource as an existing resource when the application is deployed.
publishAsExisting( name: ParameterResource, resourceGroup?: ParameterResource): IAzureResourceParameters
nameParameterResourceresourceGroupParameterResourceoptionalReturns
IAzureResourceMarks the resource as an existing resource when the application is running.
runAsExisting( name: ParameterResource, resourceGroup?: ParameterResource): IAzureResourceParameters
nameParameterResourceresourceGroupParameterResourceoptionalReturns
IAzureResource