SelfHelpSolutionCollection.CreateOrUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a solution for the specific Azure resource or subscription using the inputs ‘solutionId and requiredInputs’ from discovery solutions. <br/> Azure solutions comprise a comprehensive library of self-help resources that have been thoughtfully curated by Azure engineers to aid customers in resolving typical troubleshooting issues. These solutions encompass: <br/> (1.) Dynamic and context-aware diagnostics, guided troubleshooting wizards, and data visualizations. <br/> (2.) Rich instructional video tutorials and illustrative diagrams and images. <br/> (3.) Thoughtfully assembled textual troubleshooting instructions. <br/> All these components are seamlessly converged into unified solutions tailored to address a specific support problem area.
- Request Path: /{scope}/providers/Microsoft.Help/solutions/{solutionResourceName}
- Operation Id: Solution_Create
- Default Api Version: 2024-03-01-preview
- Resource: SelfHelpSolutionResource
public virtual Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SelfHelp.SelfHelpSolutionResource> CreateOrUpdate (Azure.WaitUntil waitUntil, string solutionResourceName, Azure.ResourceManager.SelfHelp.SelfHelpSolutionData data, System.Threading.CancellationToken cancellationToken = default);
abstract member CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.SelfHelp.SelfHelpSolutionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SelfHelp.SelfHelpSolutionResource>
override this.CreateOrUpdate : Azure.WaitUntil * string * Azure.ResourceManager.SelfHelp.SelfHelpSolutionData * System.Threading.CancellationToken -> Azure.ResourceManager.ArmOperation<Azure.ResourceManager.SelfHelp.SelfHelpSolutionResource>
Public Overridable Function CreateOrUpdate (waitUntil As WaitUntil, solutionResourceName As String, data As SelfHelpSolutionData, Optional cancellationToken As CancellationToken = Nothing) As ArmOperation(Of SelfHelpSolutionResource)
Parameters
- waitUntil
- WaitUntil
Completed if the method should wait to return until the long-running operation has completed on the service; Started if it should return after starting the operation. For more information on long-running operations, please see Azure.Core Long-Running Operation samples.
- solutionResourceName
- String
Solution resource Name.
- data
- SelfHelpSolutionData
The required request body for this solution resource creation.
- cancellationToken
- CancellationToken
The cancellation token to use.
Returns
Exceptions
solutionResourceName
is an empty string, and was expected to be non-empty.
solutionResourceName
or data
is null.
Applies to
Azure SDK for .NET