Skip to content

Generated Client with Auth code #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.vscode
.vs
obj/
bin/
147 changes: 146 additions & 1 deletion src/generated/IKubernetes.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.

Expand Down Expand Up @@ -31,6 +31,12 @@ public partial interface IKubernetes : System.IDisposable
/// </summary>
JsonSerializerSettings DeserializationSettings { get; }

/// <summary>
/// Subscription credentials which uniquely identify client
/// subscription.
/// </summary>
ServiceClientCredentials Credentials { get; }


/// <summary>
/// get available API versions
Expand Down Expand Up @@ -13771,5 +13777,144 @@ public partial interface IKubernetes : System.IDisposable
/// </param>
Task<HttpOperationResponse<VersionInfo>> GetCodeWithHttpMessagesAsync(Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

/// <summary>
/// Gets Resources
/// </summary>
/// <remarks>
/// Returns a list of Resources
/// </remarks>
/// <param name='fqdn'>
/// The Third party Resource fqdn
/// </param>
/// <param name='resource'>
/// The Resource type
/// </param>
/// <param name='watch'>
/// Watch for changes to the described resources and return them as a
/// stream of add, update, and remove notifications. Specify
/// resourceVersion.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<HttpOperationResponse<object>> ListThirdPartyResource1WithHttpMessagesAsync(string fqdn, string resource, bool? watch = default(bool?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

/// <summary>
/// Update a Resource
/// </summary>
/// <remarks>
/// Update the specified third party resource of the type specified
/// </remarks>
/// <param name='namespaceParameter'>
/// The Resource's namespace
/// </param>
/// <param name='fqdn'>
/// The Third party Resource fqdn
/// </param>
/// <param name='resource'>
/// The Resource type
/// </param>
/// <param name='body'>
/// The JSON schema of the Resource to create.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<HttpOperationResponse<object>> UpdateThirdPartyResourceWithHttpMessagesAsync(string namespaceParameter, string fqdn, string resource, object body, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

/// <summary>
/// Deletes a specific Resource
/// </summary>
/// <remarks>
/// Deletes the specified Resource in the specified namespace
/// </remarks>
/// <param name='body'>
/// </param>
/// <param name='gracePeriodSeconds'>
/// The duration in seconds before the object should be deleted. Value
/// must be non-negative integer. The value zero indicates delete
/// immediately. If this value is nil, the default grace period for the
/// specified type will be used. Defaults to a per object value if not
/// specified. zero means delete immediately.
/// </param>
/// <param name='orphanDependents'>
/// Deprecated: please use the PropagationPolicy, this field will be
/// deprecated in 1.7. Should the dependent objects be orphaned. If
/// true/false, the "orphan" finalizer will be added to/removed from
/// the object's finalizers list. Either this field or
/// PropagationPolicy may be set, but not both.
/// </param>
/// <param name='propagationPolicy'>
/// Whether and how garbage collection will be performed. Either this
/// field or OrphanDependents may be set, but not both. The default
/// policy is decided by the existing finalizer set in the
/// metadata.finalizers and the resource-specific default policy.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<HttpOperationResponse<object>> DeleteThirdPartyResource1WithHttpMessagesAsync(V1DeleteOptions body, int? gracePeriodSeconds = default(int?), bool? orphanDependents = default(bool?), string propagationPolicy = default(string), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

/// <summary>
/// Gets a specific Resource
/// </summary>
/// <remarks>
/// Returns a specific Resource in a namespace
/// </remarks>
/// <param name='namespaceParameter'>
/// The Resource's namespace
/// </param>
/// <param name='name'>
/// The Resource's name
/// </param>
/// <param name='fqdn'>
/// The Third party Resource fqdn
/// </param>
/// <param name='resource'>
/// The Resource type
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<HttpOperationResponse<object>> GetThirdPartyResourceWithHttpMessagesAsync(string namespaceParameter, string name, string fqdn, string resource, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

/// <summary>
/// Create a Resource
/// </summary>
/// <remarks>
/// Creates a third party resource of the type specified
/// </remarks>
/// <param name='namespaceParameter'>
/// The Resource's namespace
/// </param>
/// <param name='fqdn'>
/// The Third party Resource fqdn
/// </param>
/// <param name='resource'>
/// The Resource type
/// </param>
/// <param name='body'>
/// The JSON schema of the Resource to create.
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
/// </param>
Task<HttpOperationResponse<object>> CreateThirdPartyResource1WithHttpMessagesAsync(string namespaceParameter, string fqdn, string resource, object body, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));

}
}
Loading