16 references to AzureDevComputeSandboxPort
Aspire.Hosting.Azure.Sandboxes (8)
AzureSandboxContainerDeployment.cs (2)
343
var
addedPort = await AddPortAsync(context, client, dataPlaneScope, sandboxId, endpoint).ConfigureAwait(false);
914
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; } = [];
680
public List<
AzureDevComputeSandboxPort
> Ports { get; init; } = [];
Aspire.Hosting.Azure.Tests (8)
AzureSandboxesTests.cs (8)
1773
var
port = Assert.Single(ports);
2874
public Task<List<
AzureDevComputeSandboxPort
>> AddPortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeAddPortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();
2875
public Task<List<
AzureDevComputeSandboxPort
>> RemovePortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeRemovePortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();
2981
public Task<List<
AzureDevComputeSandboxPort
>> AddPortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeAddPortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();
2982
public Task<List<
AzureDevComputeSandboxPort
>> RemovePortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeRemovePortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();
2992
public Task<List<
AzureDevComputeSandboxPort
>> RemovePortAsync(
2998
return Task.FromException<List<
AzureDevComputeSandboxPort
>>(_portRemovalException);
3021
public Task<List<
AzureDevComputeSandboxPort
>> AddPortAsync(AzureDevComputeResourceScope scope, string sandboxId, AzureDevComputeAddPortRequest request, CancellationToken cancellationToken) => throw new NotSupportedException();