Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the BackendBaseParameters class.
 /// </summary>
 /// <param name="title">Backend Title.</param>
 /// <param name="description">Backend Description.</param>
 /// <param name="resourceId">Management Uri of the Resource in External
 /// System. This url can be the Arm Resource Id of Logic Apps, Function
 /// Apps or API Apps.</param>
 /// <param name="properties">Backend Properties contract</param>
 /// <param name="credentials">Backend Credentials Contract
 /// Properties</param>
 /// <param name="proxy">Backend Proxy Contract Properties</param>
 /// <param name="tls">Backend TLS Properties</param>
 public BackendBaseParameters(string title = default(string), string description = default(string), string resourceId = default(string), BackendProperties properties = default(BackendProperties), BackendCredentialsContract credentials = default(BackendCredentialsContract), BackendProxyContract proxy = default(BackendProxyContract), BackendTlsProperties tls = default(BackendTlsProperties))
 {
     Title       = title;
     Description = description;
     ResourceId  = resourceId;
     Properties  = properties;
     Credentials = credentials;
     Proxy       = proxy;
     Tls         = tls;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the BackendContract class.
 /// </summary>
 /// <param name="url">Runtime Url of the Backend.</param>
 /// <param name="protocol">Backend communication protocol. Possible
 /// values include: 'http', 'soap'</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="title">Backend Title.</param>
 /// <param name="description">Backend Description.</param>
 /// <param name="resourceId">Management Uri of the Resource in External
 /// System. This url can be the Arm Resource Id of Logic Apps, Function
 /// Apps or Api Apps.</param>
 /// <param name="properties">Backend Properties contract</param>
 /// <param name="credentials">Backend Credentials Contract
 /// Properties</param>
 /// <param name="proxy">Backend Proxy Contract Properties</param>
 /// <param name="tls">Backend TLS Properties</param>
 public BackendContract(string url, string protocol, string id = default(string), string name = default(string), string type = default(string), string title = default(string), string description = default(string), string resourceId = default(string), BackendProperties properties = default(BackendProperties), BackendCredentialsContract credentials = default(BackendCredentialsContract), BackendProxyContract proxy = default(BackendProxyContract), BackendTlsProperties tls = default(BackendTlsProperties))
     : base(id, name, type)
 {
     Title       = title;
     Description = description;
     ResourceId  = resourceId;
     Properties  = properties;
     Credentials = credentials;
     Proxy       = proxy;
     Tls         = tls;
     Url         = url;
     Protocol    = protocol;
     CustomInit();
 }