/// <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', '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>
 /// <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', 'graphql-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 REST API
 /// * `soap` creates a SOAP pass-through API
 /// * `websocket` creates websocket API
 /// * `graphql` creates GraphQL API. Possible values include:
 /// 'SoapToRest', 'SoapPassThrough', 'WebSocket', 'GraphQL'</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 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), 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;
     TermsOfServiceUrl      = termsOfServiceUrl;
     Contact                = contact;
     License                = license;
     SourceApiId            = sourceApiId;
     DisplayName            = displayName;
     ServiceUrl             = serviceUrl;
     Path          = path;
     Protocols     = protocols;
     ApiVersionSet = apiVersionSet;
     Value         = value;
     Format        = format;
     WsdlSelector  = wsdlSelector;
     SoapApiType   = soapApiType;
     CustomInit();
 }
Esempio n. 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();
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the ApiEntityBaseContract class.
 /// </summary>
 /// <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>
 public ApiEntityBaseContract(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))
 {
     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;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the ApiTagResourceContractProperties
 /// class.
 /// </summary>
 /// <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="id">API identifier in the form /apis/{apiId}.</param>
 /// <param name="name">API name.</param>
 /// <param name="serviceUrl">Absolute URL of the backend service
 /// implementing this API.</param>
 /// <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="protocols">Describes on which protocols the operations
 /// in this API can be invoked.</param>
 public ApiTagResourceContractProperties(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 id = default(string), string name = default(string), string serviceUrl = default(string), string path = default(string), IList <string> protocols = default(IList <string>))
     : base(description, authenticationSettings, subscriptionKeyParameterNames, apiType, apiRevision, apiVersion, isCurrent, isOnline, apiRevisionDescription, apiVersionDescription, apiVersionSetId, subscriptionRequired, termsOfServiceUrl, contact, license)
 {
     Id         = id;
     Name       = name;
     ServiceUrl = serviceUrl;
     Path       = path;
     Protocols  = protocols;
     CustomInit();
 }