# AzureResource.IsExisting

- Module: [Aspire.Hosting.Azure](/reference/api/go/aspire.hosting.azure.md)
- Defined on: [AzureResource](/reference/api/go/aspire.hosting.azure/azureresource.md)
- Version: `17.0.0`
- Kind: `method`

Determines whether the Azure resource is marked as existing.

## Definition

```go
func (AzureResource) IsExisting() (bool, error)
```

## Signature

```go
IsExisting() (bool, error)
```

## Returns

`(bool, error)` -- `true` if the resource is marked as existing; otherwise, `false`.

Returns `(bool, error)`.

## Defined on

A marker interface declares no methods of its own in Go. Its functions are declared on the concrete types they apply to.

- [AzureResource](/reference/api/go/aspire.hosting.azure/azureresource.md) -- `marker`

## Applies to

- [`AzureBicepResource`](/reference/api/go/aspire.hosting.azure/azurebicepresource.md)
- [`AzureProvisioningResource`](/reference/api/go/aspire.hosting.azure/azureprovisioningresource.md)
- [`AzureUserAssignedIdentityResource`](/reference/api/go/aspire.hosting.azure/azureuserassignedidentityresource.md)
