/// <summary>
 /// Initializes a new instance of the ApiCreateOrUpdateParameter class.
 /// </summary>
 /// <param name="path">Relative URL uniquely identifying this API and
 /// all of its resource paths within the API Management service
 /// instance. It is appended to the API endpoint base URL specified
 /// during the service instance creation to form a public URL for this
 /// API.</param>
 /// <param name="description">Description of the API. May include HTML
 /// formatting tags.</param>
 /// <param name="authenticationSettings">Collection of authentication
 /// settings included into this API.</param>
 /// <param name="subscriptionKeyParameterNames">Protocols over which
 /// API is made available.</param>
 /// <param name="apiType">Type of API. Possible values include: 'http',
 /// 'soap'</param>
 /// <param name="apiRevision">Describes the Revision of the Api. If no
 /// value is provided, default revision 1 is created</param>
 /// <param name="apiVersion">Indicates the Version identifier of the
 /// API if the API is versioned</param>
 /// <param name="isCurrent">Indicates if API revision is current api
 /// revision.</param>
 /// <param name="isOnline">Indicates if API revision is accessible via
 /// the gateway.</param>
 /// <param name="apiRevisionDescription">Description of the Api
 /// Revision.</param>
 /// <param name="apiVersionDescription">Description of the Api
 /// Version.</param>
 /// <param name="apiVersionSetId">A resource identifier for the related
 /// ApiVersionSet.</param>
 /// <param name="subscriptionRequired">Specifies whether an API or
 /// Product subscription is required for accessing the API.</param>
 /// <param name="sourceApiId">API identifier of the source API.</param>
 /// <param name="displayName">API name. Must be 1 to 300 characters
 /// long.</param>
 /// <param name="serviceUrl">Absolute URL of the backend service
 /// implementing this API. Cannot be more than 2000 characters
 /// long.</param>
 /// <param name="protocols">Describes on which protocols the operations
 /// in this API can be invoked.</param>
 /// <param name="apiVersionSet">Version set details</param>
 /// <param name="value">Content value when Importing an API.</param>
 /// <param name="format">Format of the Content in which the API is
 /// getting imported. Possible values include: 'wadl-xml',
 /// 'wadl-link-json', 'swagger-json', 'swagger-link-json', 'wsdl',
 /// 'wsdl-link', 'openapi', 'openapi+json', 'openapi-link',
 /// 'openapi+json-link'</param>
 /// <param name="wsdlSelector">Criteria to limit import of WSDL to a
 /// subset of the document.</param>
 /// <param name="soapApiType">Type of Api to create.
 /// * `http` creates a SOAP to REST API
 /// * `soap` creates a SOAP pass-through API. Possible values include:
 /// 'SoapToRest', 'SoapPassThrough'</param>
 public ApiCreateOrUpdateParameter(string path, string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool?isCurrent = default(bool?), bool?isOnline = default(bool?), string apiRevisionDescription = default(string), string apiVersionDescription = default(string), string apiVersionSetId = default(string), bool?subscriptionRequired = default(bool?), string sourceApiId = default(string), string displayName = default(string), string serviceUrl = default(string), IList <Protocol?> protocols = default(IList <Protocol?>), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails), string value = default(string), string format = default(string), ApiCreateOrUpdatePropertiesWsdlSelector wsdlSelector = default(ApiCreateOrUpdatePropertiesWsdlSelector), string soapApiType = default(string))
 {
     Description                   = description;
     AuthenticationSettings        = authenticationSettings;
     SubscriptionKeyParameterNames = subscriptionKeyParameterNames;
     ApiType                = apiType;
     ApiRevision            = apiRevision;
     ApiVersion             = apiVersion;
     IsCurrent              = isCurrent;
     IsOnline               = isOnline;
     ApiRevisionDescription = apiRevisionDescription;
     ApiVersionDescription  = apiVersionDescription;
     ApiVersionSetId        = apiVersionSetId;
     SubscriptionRequired   = subscriptionRequired;
     SourceApiId            = sourceApiId;
     DisplayName            = displayName;
     ServiceUrl             = serviceUrl;
     Path          = path;
     Protocols     = protocols;
     ApiVersionSet = apiVersionSet;
     Value         = value;
     Format        = format;
     WsdlSelector  = wsdlSelector;
     SoapApiType   = soapApiType;
     CustomInit();
 }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the ApiContract class.
 /// </summary>
 /// <param name="path">Relative URL uniquely identifying this API and
 /// all of its resource paths within the API Management service
 /// instance. It is appended to the API endpoint base URL specified
 /// during the service instance creation to form a public URL for this
 /// API.</param>
 /// <param name="id">Fully qualified resource ID for the resource. Ex -
 /// /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}</param>
 /// <param name="name">The name of the resource</param>
 /// <param name="type">The type of the resource. E.g.
 /// "Microsoft.Compute/virtualMachines" or
 /// "Microsoft.Storage/storageAccounts"</param>
 /// <param name="description">Description of the API. May include HTML
 /// formatting tags.</param>
 /// <param name="authenticationSettings">Collection of authentication
 /// settings included into this API.</param>
 /// <param name="subscriptionKeyParameterNames">Protocols over which
 /// API is made available.</param>
 /// <param name="apiType">Type of API. Possible values include: 'http',
 /// 'soap', 'websocket', 'graphql'</param>
 /// <param name="apiRevision">Describes the revision of the API. If no
 /// value is provided, default revision 1 is created</param>
 /// <param name="apiVersion">Indicates the version identifier of the
 /// API if the API is versioned</param>
 /// <param name="isCurrent">Indicates if API revision is current api
 /// revision.</param>
 /// <param name="isOnline">Indicates if API revision is accessible via
 /// the gateway.</param>
 /// <param name="apiRevisionDescription">Description of the API
 /// Revision.</param>
 /// <param name="apiVersionDescription">Description of the API
 /// Version.</param>
 /// <param name="apiVersionSetId">A resource identifier for the related
 /// ApiVersionSet.</param>
 /// <param name="subscriptionRequired">Specifies whether an API or
 /// Product subscription is required for accessing the API.</param>
 /// <param name="termsOfServiceUrl"> A URL to the Terms of Service for
 /// the API. MUST be in the format of a URL.</param>
 /// <param name="contact">Contact information for the API.</param>
 /// <param name="license">License information for the API.</param>
 /// <param name="sourceApiId">API identifier of the source API.</param>
 /// <param name="displayName">API name. Must be 1 to 300 characters
 /// long.</param>
 /// <param name="serviceUrl">Absolute URL of the backend service
 /// implementing this API. Cannot be more than 2000 characters
 /// long.</param>
 /// <param name="protocols">Describes on which protocols the operations
 /// in this API can be invoked.</param>
 /// <param name="apiVersionSet">Version set details</param>
 public ApiContract(string path, string id = default(string), string name = default(string), string type = default(string), string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool?isCurrent = default(bool?), bool?isOnline = default(bool?), string apiRevisionDescription = default(string), string apiVersionDescription = default(string), string apiVersionSetId = default(string), bool?subscriptionRequired = default(bool?), string termsOfServiceUrl = default(string), ApiContactInformation contact = default(ApiContactInformation), ApiLicenseInformation license = default(ApiLicenseInformation), string sourceApiId = default(string), string displayName = default(string), string serviceUrl = default(string), IList <string> protocols = default(IList <string>), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails))
     : base(id, name, type)
 {
     Description                   = description;
     AuthenticationSettings        = authenticationSettings;
     SubscriptionKeyParameterNames = subscriptionKeyParameterNames;
     ApiType                = apiType;
     ApiRevision            = apiRevision;
     ApiVersion             = apiVersion;
     IsCurrent              = isCurrent;
     IsOnline               = isOnline;
     ApiRevisionDescription = apiRevisionDescription;
     ApiVersionDescription  = apiVersionDescription;
     ApiVersionSetId        = apiVersionSetId;
     SubscriptionRequired   = subscriptionRequired;
     TermsOfServiceUrl      = termsOfServiceUrl;
     Contact                = contact;
     License                = license;
     SourceApiId            = sourceApiId;
     DisplayName            = displayName;
     ServiceUrl             = serviceUrl;
     Path          = path;
     Protocols     = protocols;
     ApiVersionSet = apiVersionSet;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ApiRevisionInfoContract class.
 /// </summary>
 /// <param name="sourceApiId">Resource identifier of API to be used to
 /// create the revision from.</param>
 /// <param name="apiVersionName">Version identifier for the new API
 /// Version.</param>
 /// <param name="apiRevisionDescription">Description of new API
 /// Revision.</param>
 /// <param name="apiVersionSet">Version set details</param>
 public ApiRevisionInfoContract(string sourceApiId = default(string), string apiVersionName = default(string), string apiRevisionDescription = default(string), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails))
 {
     SourceApiId            = sourceApiId;
     ApiVersionName         = apiVersionName;
     ApiRevisionDescription = apiRevisionDescription;
     ApiVersionSet          = apiVersionSet;
     CustomInit();
 }
예제 #4
0
 /// <summary>
 /// Initializes a new instance of the ApiContractProperties class.
 /// </summary>
 /// <param name="path">Relative URL uniquely identifying this API and
 /// all of its resource paths within the API Management service
 /// instance. It is appended to the API endpoint base URL specified
 /// during the service instance creation to form a public URL for this
 /// API.</param>
 /// <param name="description">Description of the API. May include HTML
 /// formatting tags.</param>
 /// <param name="authenticationSettings">Collection of authentication
 /// settings included into this API.</param>
 /// <param name="subscriptionKeyParameterNames">Protocols over which
 /// API is made available.</param>
 /// <param name="apiType">Type of API. Possible values include: 'http',
 /// 'soap'</param>
 /// <param name="apiRevision">Describes the Revision of the Api. If no
 /// value is provided, default revision 1 is created</param>
 /// <param name="apiVersion">Indicates the Version identifier of the
 /// API if the API is versioned</param>
 /// <param name="isCurrent">Indicates if API revision is current api
 /// revision.</param>
 /// <param name="isOnline">Indicates if API revision is accessible via
 /// the gateway.</param>
 /// <param name="apiRevisionDescription">Description of the Api
 /// Revision.</param>
 /// <param name="apiVersionDescription">Description of the Api
 /// Version.</param>
 /// <param name="apiVersionSetId">A resource identifier for the related
 /// ApiVersionSet.</param>
 /// <param name="displayName">API name.</param>
 /// <param name="serviceUrl">Absolute URL of the backend service
 /// implementing this API.</param>
 /// <param name="protocols">Describes on which protocols the operations
 /// in this API can be invoked.</param>
 public ApiContractProperties(string path, string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool?isCurrent = default(bool?), bool?isOnline = default(bool?), string apiRevisionDescription = default(string), string apiVersionDescription = default(string), string apiVersionSetId = default(string), string displayName = default(string), string serviceUrl = default(string), IList <Protocol?> protocols = default(IList <Protocol?>), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails))
     : base(description, authenticationSettings, subscriptionKeyParameterNames, apiType, apiRevision, apiVersion, isCurrent, isOnline, apiRevisionDescription, apiVersionDescription, apiVersionSetId)
 {
     DisplayName   = displayName;
     ServiceUrl    = serviceUrl;
     Path          = path;
     Protocols     = protocols;
     ApiVersionSet = apiVersionSet;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ApiContractProperties class.
 /// </summary>
 /// <param name="path">Relative URL uniquely identifying this API and
 /// all of its resource paths within the API Management service
 /// instance. It is appended to the API endpoint base URL specified
 /// during the service instance creation to form a public URL for this
 /// API.</param>
 /// <param name="description">Description of the API. May include HTML
 /// formatting tags.</param>
 /// <param name="authenticationSettings">Collection of authentication
 /// settings included into this API.</param>
 /// <param name="subscriptionKeyParameterNames">Protocols over which
 /// API is made available.</param>
 /// <param name="apiType">Type of API. Possible values include: 'http',
 /// 'soap', 'websocket', 'graphql'</param>
 /// <param name="apiRevision">Describes the revision of the API. If no
 /// value is provided, default revision 1 is created</param>
 /// <param name="apiVersion">Indicates the version identifier of the
 /// API if the API is versioned</param>
 /// <param name="isCurrent">Indicates if API revision is current api
 /// revision.</param>
 /// <param name="isOnline">Indicates if API revision is accessible via
 /// the gateway.</param>
 /// <param name="apiRevisionDescription">Description of the API
 /// Revision.</param>
 /// <param name="apiVersionDescription">Description of the API
 /// Version.</param>
 /// <param name="apiVersionSetId">A resource identifier for the related
 /// ApiVersionSet.</param>
 /// <param name="subscriptionRequired">Specifies whether an API or
 /// Product subscription is required for accessing the API.</param>
 /// <param name="termsOfServiceUrl"> A URL to the Terms of Service for
 /// the API. MUST be in the format of a URL.</param>
 /// <param name="contact">Contact information for the API.</param>
 /// <param name="license">License information for the API.</param>
 /// <param name="sourceApiId">API identifier of the source API.</param>
 /// <param name="displayName">API name. Must be 1 to 300 characters
 /// long.</param>
 /// <param name="serviceUrl">Absolute URL of the backend service
 /// implementing this API. Cannot be more than 2000 characters
 /// long.</param>
 /// <param name="protocols">Describes on which protocols the operations
 /// in this API can be invoked.</param>
 /// <param name="apiVersionSet">Version set details</param>
 public ApiContractProperties(string path, string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool?isCurrent = default(bool?), bool?isOnline = default(bool?), string apiRevisionDescription = default(string), string apiVersionDescription = default(string), string apiVersionSetId = default(string), bool?subscriptionRequired = default(bool?), string termsOfServiceUrl = default(string), ApiContactInformation contact = default(ApiContactInformation), ApiLicenseInformation license = default(ApiLicenseInformation), string sourceApiId = default(string), string displayName = default(string), string serviceUrl = default(string), IList <string> protocols = default(IList <string>), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails))
     : base(description, authenticationSettings, subscriptionKeyParameterNames, apiType, apiRevision, apiVersion, isCurrent, isOnline, apiRevisionDescription, apiVersionDescription, apiVersionSetId, subscriptionRequired, termsOfServiceUrl, contact, license)
 {
     SourceApiId   = sourceApiId;
     DisplayName   = displayName;
     ServiceUrl    = serviceUrl;
     Path          = path;
     Protocols     = protocols;
     ApiVersionSet = apiVersionSet;
     CustomInit();
 }
예제 #6
0
 /// <summary>
 /// Initializes a new instance of the ApiContract class.
 /// </summary>
 /// <param name="path">Relative URL uniquely identifying this API and
 /// all of its resource paths within the API Management service
 /// instance. It is appended to the API endpoint base URL specified
 /// during the service instance creation to form a public URL for this
 /// API.</param>
 /// <param name="id">Resource ID.</param>
 /// <param name="name">Resource name.</param>
 /// <param name="type">Resource type for API Management
 /// resource.</param>
 /// <param name="description">Description of the API. May include HTML
 /// formatting tags.</param>
 /// <param name="authenticationSettings">Collection of authentication
 /// settings included into this API.</param>
 /// <param name="subscriptionKeyParameterNames">Protocols over which
 /// API is made available.</param>
 /// <param name="apiType">Type of API. Possible values include: 'http',
 /// 'soap'</param>
 /// <param name="apiRevision">Describes the Revision of the Api. If no
 /// value is provided, default revision 1 is created</param>
 /// <param name="apiVersion">Indicates the Version identifier of the
 /// API if the API is versioned</param>
 /// <param name="isCurrent">Indicates if API revision is current api
 /// revision.</param>
 /// <param name="isOnline">Indicates if API revision is accessible via
 /// the gateway.</param>
 /// <param name="apiRevisionDescription">Description of the Api
 /// Revision.</param>
 /// <param name="apiVersionDescription">Description of the Api
 /// Version.</param>
 /// <param name="apiVersionSetId">A resource identifier for the related
 /// ApiVersionSet.</param>
 /// <param name="displayName">API name.</param>
 /// <param name="serviceUrl">Absolute URL of the backend service
 /// implementing this API.</param>
 /// <param name="protocols">Describes on which protocols the operations
 /// in this API can be invoked.</param>
 public ApiContract(string path, string id = default(string), string name = default(string), string type = default(string), string description = default(string), AuthenticationSettingsContract authenticationSettings = default(AuthenticationSettingsContract), SubscriptionKeyParameterNamesContract subscriptionKeyParameterNames = default(SubscriptionKeyParameterNamesContract), string apiType = default(string), string apiRevision = default(string), string apiVersion = default(string), bool?isCurrent = default(bool?), bool?isOnline = default(bool?), string apiRevisionDescription = default(string), string apiVersionDescription = default(string), string apiVersionSetId = default(string), string displayName = default(string), string serviceUrl = default(string), IList <Protocol?> protocols = default(IList <Protocol?>), ApiVersionSetContractDetails apiVersionSet = default(ApiVersionSetContractDetails))
     : base(id, name, type)
 {
     Description                   = description;
     AuthenticationSettings        = authenticationSettings;
     SubscriptionKeyParameterNames = subscriptionKeyParameterNames;
     ApiType                = apiType;
     ApiRevision            = apiRevision;
     ApiVersion             = apiVersion;
     IsCurrent              = isCurrent;
     IsOnline               = isOnline;
     ApiRevisionDescription = apiRevisionDescription;
     ApiVersionDescription  = apiVersionDescription;
     ApiVersionSetId        = apiVersionSetId;
     DisplayName            = displayName;
     ServiceUrl             = serviceUrl;
     Path          = path;
     Protocols     = protocols;
     ApiVersionSet = apiVersionSet;
     CustomInit();
 }