17 references to AzureDevComputeSandboxPort
Aspire.Hosting.Azure.Sandboxes (8)
AzureSandboxContainerDeployment.cs (2)
361
var
addedPort = await AddPortAsync(context, client, dataPlaneScope, sandboxId, endpoint).ConfigureAwait(false);
929
private static async Task<
AzureDevComputeSandboxPort
> AddPortAsync(
Internal\Adc\AzureDevComputeClient.cs (6)
33
Task<List<
AzureDevComputeSandboxPort
>> AddPortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeAddPortRequest request, CancellationToken cancellationToken);
35
Task<List<
AzureDevComputeSandboxPort
>> RemovePortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeRemovePortRequest request, CancellationToken cancellationToken);
121
public async Task<List<
AzureDevComputeSandboxPort
>> AddPortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeAddPortRequest request, CancellationToken cancellationToken)
133
public async Task<List<
AzureDevComputeSandboxPort
>> RemovePortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeRemovePortRequest request, CancellationToken cancellationToken)
625
public List<
AzureDevComputeSandboxPort
> Ports { get; init; } = [];
693
public List<
AzureDevComputeSandboxPort
> Ports { get; init; } = [];
Aspire.Hosting.Azure.Tests (9)
AzureSandboxesTests.cs (9)
1876
var
port = Assert.Single(ports);
1981
var
port = Assert.Single(ports);
3473
public Task<List<
AzureDevComputeSandboxPort
>> AddPortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeAddPortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();
3474
public Task<List<
AzureDevComputeSandboxPort
>> RemovePortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeRemovePortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();
3580
public Task<List<
AzureDevComputeSandboxPort
>> AddPortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeAddPortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();
3581
public Task<List<
AzureDevComputeSandboxPort
>> RemovePortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeRemovePortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();
3591
public Task<List<
AzureDevComputeSandboxPort
>> RemovePortAsync(
3597
return Task.FromException<List<
AzureDevComputeSandboxPort
>>(_portRemovalException);
3620
public Task<List<
AzureDevComputeSandboxPort
>> AddPortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeAddPortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();