Skip to content

Commit

Permalink
.NET v3: EC2 standards update. (#6939)
Browse files Browse the repository at this point in the history
* Includes update to EC2 examples in ResilientService cross-service example.
  • Loading branch information
rlhagerm authored Sep 27, 2024
1 parent 502a76c commit 0e778f1
Show file tree
Hide file tree
Showing 28 changed files with 1,187 additions and 1,111 deletions.
6 changes: 5 additions & 1 deletion .doc_gen/metadata/ec2_metadata.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,7 @@ ec2_StartInstances:
- description:
snippet_tags:
- EC2.dotnetv3.StartInstances
- EC2.dotnetv3.WaitForInstanceState
Kotlin:
versions:
- sdk_version: 1
Expand Down Expand Up @@ -569,6 +570,7 @@ ec2_StopInstances:
- description:
snippet_tags:
- EC2.dotnetv3.StopInstances
- EC2.dotnetv3.WaitForInstanceState
Kotlin:
versions:
- sdk_version: 1
Expand Down Expand Up @@ -1393,6 +1395,7 @@ ec2_TerminateInstances:
- description:
snippet_tags:
- EC2.dotnetv3.TerminateInstances
- EC2.dotnetv3.WaitForInstanceState
Kotlin:
versions:
- sdk_version: 1
Expand Down Expand Up @@ -1682,9 +1685,10 @@ ec2_RebootInstances:
github: dotnetv3/EC2
sdkguide:
excerpts:
- description:
- description: Reboot an instance by its Id.
snippet_tags:
- EC2.dotnetv3.RebootInstances
- EC2.dotnetv3.WaitForInstanceState
- description: Replace the profile for an instance, reboot, and restart a web server.
snippet_tags:
- ResilientService.dotnetv3.Ec2.ReplaceInstanceProfile
Expand Down
4 changes: 2 additions & 2 deletions dotnetv3/AutoScaling/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ Code examples that show you how to perform the essential operations within a ser

Code excerpts that show you how to call individual service functions.

- [AttachLoadBalancerTargetGroups](../cross-service/ResilientService/AutoScalerActions/AutoScalerWrapper.cs#L770)
- [AttachLoadBalancerTargetGroups](../cross-service/ResilientService/AutoScalerActions/AutoScalerWrapper.cs#L890)
- [CreateAutoScalingGroup](Actions/AutoScalingWrapper.cs#L28)
- [DeleteAutoScalingGroup](../cross-service/ResilientService/AutoScalerActions/AutoScalerWrapper.cs#L573)
- [DeleteAutoScalingGroup](../cross-service/ResilientService/AutoScalerActions/AutoScalerWrapper.cs#L693)
- [DescribeAutoScalingGroups](Actions/AutoScalingWrapper.cs#L109)
- [DescribeAutoScalingInstances](Actions/AutoScalingWrapper.cs#L109)
- [DescribeScalingActivities](Actions/AutoScalingWrapper.cs#L86)
Expand Down
49 changes: 21 additions & 28 deletions dotnetv3/DotNetV3Examples.sln
Original file line number Diff line number Diff line change
Expand Up @@ -183,18 +183,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "EC2", "EC2", "{77D9BB30-99D
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "VirtualPrivateCloudExamples", "VirtualPrivateCloudExamples", "{FD37C59A-C4EA-4AAD-85F7-66767E98C52A}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CreateVPCTests", "EC2\VirtualPrivateCloudExamples\CreateVPCTests\CreateVPCTests.csproj", "{775E67C5-BE91-4E4D-840A-380EF533AF27}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CreateVPCforS3Example", "EC2\VirtualPrivateCloudExamples\CreateVPCforS3Example\CreateVPCforS3Example.csproj", "{567E2B6E-8961-454E-8E2E-F97097F1C581}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CreateVPCExample", "EC2\VirtualPrivateCloudExamples\CreateVPCExample\CreateVPCExample.csproj", "{D05F6F17-3CCF-4D0F-8AE0-88373690C608}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EC2Tests", "EC2\Tests\EC2Tests.csproj", "{6660A7CD-3AFB-4A99-995A-70DE9DADB81E}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Scenarios", "Scenarios", "{327CF162-0F15-4E54-AFF2-3477410D7B34}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Ec2_Basics", "EC2\Scenarios\EC2_Basics\Ec2_Basics.csproj", "{4D877A12-1D76-4E30-99AB-19F25A4C4FFD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EC2Actions", "EC2\Actions\EC2Actions.csproj", "{C9A508B1-CEF1-45F5-BF1F-1DEB905E9F35}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "EventBridge", "EventBridge", "{069EFCF0-C4CE-4308-9712-277C49BC4695}"
Expand Down Expand Up @@ -751,6 +743,12 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BedrockRuntimeActions", "Be
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "BedrockRuntimeTests", "Bedrock-runtime\Tests\BedrockRuntimeTests.csproj", "{A6BFA81D-F06F-4E4C-A7B9-CBE57D2C00C7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Basics", "EC2\Scenarios\EC2_Basics\Basics.csproj", "{95958FB6-4C90-4806-A6E7-B5CF92B19BAF}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CreateVPCExample", "EC2\Scenarios\CreateVPCExample\CreateVPCExample.csproj", "{94D97B37-7104-4B7C-BF73-F8F2EF8F7A04}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CreateVPCforS3Example", "EC2\Scenarios\CreateVPCforS3Example\CreateVPCforS3Example.csproj", "{C4922A8E-29EE-4100-8102-8DC2C7EBE773}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand Down Expand Up @@ -957,26 +955,10 @@ Global
{8CE79AEB-9CA0-4746-97F3-A1E73B14B0BF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8CE79AEB-9CA0-4746-97F3-A1E73B14B0BF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8CE79AEB-9CA0-4746-97F3-A1E73B14B0BF}.Release|Any CPU.Build.0 = Release|Any CPU
{775E67C5-BE91-4E4D-840A-380EF533AF27}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{775E67C5-BE91-4E4D-840A-380EF533AF27}.Debug|Any CPU.Build.0 = Debug|Any CPU
{775E67C5-BE91-4E4D-840A-380EF533AF27}.Release|Any CPU.ActiveCfg = Release|Any CPU
{775E67C5-BE91-4E4D-840A-380EF533AF27}.Release|Any CPU.Build.0 = Release|Any CPU
{567E2B6E-8961-454E-8E2E-F97097F1C581}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{567E2B6E-8961-454E-8E2E-F97097F1C581}.Debug|Any CPU.Build.0 = Debug|Any CPU
{567E2B6E-8961-454E-8E2E-F97097F1C581}.Release|Any CPU.ActiveCfg = Release|Any CPU
{567E2B6E-8961-454E-8E2E-F97097F1C581}.Release|Any CPU.Build.0 = Release|Any CPU
{D05F6F17-3CCF-4D0F-8AE0-88373690C608}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{D05F6F17-3CCF-4D0F-8AE0-88373690C608}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D05F6F17-3CCF-4D0F-8AE0-88373690C608}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D05F6F17-3CCF-4D0F-8AE0-88373690C608}.Release|Any CPU.Build.0 = Release|Any CPU
{6660A7CD-3AFB-4A99-995A-70DE9DADB81E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6660A7CD-3AFB-4A99-995A-70DE9DADB81E}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6660A7CD-3AFB-4A99-995A-70DE9DADB81E}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6660A7CD-3AFB-4A99-995A-70DE9DADB81E}.Release|Any CPU.Build.0 = Release|Any CPU
{4D877A12-1D76-4E30-99AB-19F25A4C4FFD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4D877A12-1D76-4E30-99AB-19F25A4C4FFD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4D877A12-1D76-4E30-99AB-19F25A4C4FFD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4D877A12-1D76-4E30-99AB-19F25A4C4FFD}.Release|Any CPU.Build.0 = Release|Any CPU
{C9A508B1-CEF1-45F5-BF1F-1DEB905E9F35}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C9A508B1-CEF1-45F5-BF1F-1DEB905E9F35}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C9A508B1-CEF1-45F5-BF1F-1DEB905E9F35}.Release|Any CPU.ActiveCfg = Release|Any CPU
Expand Down Expand Up @@ -1705,6 +1687,18 @@ Global
{A6BFA81D-F06F-4E4C-A7B9-CBE57D2C00C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{A6BFA81D-F06F-4E4C-A7B9-CBE57D2C00C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{A6BFA81D-F06F-4E4C-A7B9-CBE57D2C00C7}.Release|Any CPU.Build.0 = Release|Any CPU
{95958FB6-4C90-4806-A6E7-B5CF92B19BAF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{95958FB6-4C90-4806-A6E7-B5CF92B19BAF}.Debug|Any CPU.Build.0 = Debug|Any CPU
{95958FB6-4C90-4806-A6E7-B5CF92B19BAF}.Release|Any CPU.ActiveCfg = Release|Any CPU
{95958FB6-4C90-4806-A6E7-B5CF92B19BAF}.Release|Any CPU.Build.0 = Release|Any CPU
{94D97B37-7104-4B7C-BF73-F8F2EF8F7A04}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{94D97B37-7104-4B7C-BF73-F8F2EF8F7A04}.Debug|Any CPU.Build.0 = Debug|Any CPU
{94D97B37-7104-4B7C-BF73-F8F2EF8F7A04}.Release|Any CPU.ActiveCfg = Release|Any CPU
{94D97B37-7104-4B7C-BF73-F8F2EF8F7A04}.Release|Any CPU.Build.0 = Release|Any CPU
{C4922A8E-29EE-4100-8102-8DC2C7EBE773}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C4922A8E-29EE-4100-8102-8DC2C7EBE773}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C4922A8E-29EE-4100-8102-8DC2C7EBE773}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C4922A8E-29EE-4100-8102-8DC2C7EBE773}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down Expand Up @@ -1790,12 +1784,8 @@ Global
{81E5E7FC-5F25-48F5-A0F9-17C862B5A6AA} = {86F4D22B-B15A-46F4-8F30-8501D244841A}
{8CE79AEB-9CA0-4746-97F3-A1E73B14B0BF} = {81E5E7FC-5F25-48F5-A0F9-17C862B5A6AA}
{FD37C59A-C4EA-4AAD-85F7-66767E98C52A} = {77D9BB30-99D7-47A3-B060-2D7CB3753162}
{775E67C5-BE91-4E4D-840A-380EF533AF27} = {FD37C59A-C4EA-4AAD-85F7-66767E98C52A}
{567E2B6E-8961-454E-8E2E-F97097F1C581} = {FD37C59A-C4EA-4AAD-85F7-66767E98C52A}
{D05F6F17-3CCF-4D0F-8AE0-88373690C608} = {FD37C59A-C4EA-4AAD-85F7-66767E98C52A}
{6660A7CD-3AFB-4A99-995A-70DE9DADB81E} = {77D9BB30-99D7-47A3-B060-2D7CB3753162}
{327CF162-0F15-4E54-AFF2-3477410D7B34} = {77D9BB30-99D7-47A3-B060-2D7CB3753162}
{4D877A12-1D76-4E30-99AB-19F25A4C4FFD} = {327CF162-0F15-4E54-AFF2-3477410D7B34}
{C9A508B1-CEF1-45F5-BF1F-1DEB905E9F35} = {77D9BB30-99D7-47A3-B060-2D7CB3753162}
{08DD4B54-506C-4693-9AA9-61251BB4C1C3} = {069EFCF0-C4CE-4308-9712-277C49BC4695}
{3F953A45-5531-464D-A3A5-59CFC8869053} = {069EFCF0-C4CE-4308-9712-277C49BC4695}
Expand Down Expand Up @@ -2046,6 +2036,9 @@ Global
{F0333DC4-6E86-4D69-8DFE-E837F9A049E6} = {5810E90E-DBA6-438A-8FB3-A1769B2E4ECA}
{979D095E-987A-4A0C-BA76-3C716C16412B} = {68C08F40-075C-457A-9F7A-62B2CD525CDC}
{A6BFA81D-F06F-4E4C-A7B9-CBE57D2C00C7} = {68C08F40-075C-457A-9F7A-62B2CD525CDC}
{95958FB6-4C90-4806-A6E7-B5CF92B19BAF} = {327CF162-0F15-4E54-AFF2-3477410D7B34}
{94D97B37-7104-4B7C-BF73-F8F2EF8F7A04} = {FD37C59A-C4EA-4AAD-85F7-66767E98C52A}
{C4922A8E-29EE-4100-8102-8DC2C7EBE773} = {FD37C59A-C4EA-4AAD-85F7-66767E98C52A}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {08502818-E8E1-4A91-A51C-4C8C8D4FF9CA}
Expand Down
Loading

0 comments on commit 0e778f1

Please sign in to comment.