Class SqlStoredProcedureCreateUpdateParameters
- Assembly
- Microsoft.Azure.Management.CosmosDB.Fluent.dll
Parameters to create and update Cosmos DB storedProcedure.
public class SqlStoredProcedureCreateUpdateParameters : ARMResourcePropertiesInner
- Inheritance
-
SqlStoredProcedureCreateUpdateParameters
Constructors
SqlStoredProcedureCreateUpdateParameters()
Initializes a new instance of the SqlStoredProcedureCreateUpdateParameters class.
public SqlStoredProcedureCreateUpdateParameters()
SqlStoredProcedureCreateUpdateParameters(string, SqlStoredProcedureResource, CreateUpdateOptions, string, string, string, IDictionary<string, string>)
Initializes a new instance of the SqlStoredProcedureCreateUpdateParameters class.
public SqlStoredProcedureCreateUpdateParameters(string location, SqlStoredProcedureResource resource, CreateUpdateOptions options, string id = null, string name = null, string type = null, IDictionary<string, string> tags = null)
Parameters
location
stringresource
SqlStoredProcedureResourceThe standard JSON format of a storedProcedure
options
CreateUpdateOptionsA key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
id
stringname
stringtype
stringtags
IDictionary<string, string>
Properties
Options
Gets or sets a key-value pair of options to be applied for the request. This corresponds to the headers sent with the request.
public CreateUpdateOptions Options { get; set; }
Property Value
Resource
Gets or sets the standard JSON format of a storedProcedure
public SqlStoredProcedureResource Resource { get; set; }
Property Value
Methods
Validate()
Validate the object.
public override void Validate()
Exceptions
- Microsoft.Rest.ValidationException
Thrown if validation fails