Skip to content

Commit 810560e

Browse files
Merge pull request #3 from krabhishek8260/generateclientwithauth
Generated Client with Auth code
2 parents 7df099d + 149d2f8 commit 810560e

File tree

330 files changed

+5589
-763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

330 files changed

+5589
-763
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
.vscode
2+
.vs
23
obj/
34
bin/

src/generated/IKubernetes.cs

Lines changed: 146 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Code generated by Microsoft (R) AutoRest Code Generator 1.0.1.0
1+
// Code generated by Microsoft (R) AutoRest Code Generator 1.1.0.0
22
// Changes may cause incorrect behavior and will be lost if the code is
33
// regenerated.
44

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

34+
/// <summary>
35+
/// Subscription credentials which uniquely identify client
36+
/// subscription.
37+
/// </summary>
38+
ServiceClientCredentials Credentials { get; }
39+
3440

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

13780+
/// <summary>
13781+
/// Gets Resources
13782+
/// </summary>
13783+
/// <remarks>
13784+
/// Returns a list of Resources
13785+
/// </remarks>
13786+
/// <param name='fqdn'>
13787+
/// The Third party Resource fqdn
13788+
/// </param>
13789+
/// <param name='resource'>
13790+
/// The Resource type
13791+
/// </param>
13792+
/// <param name='watch'>
13793+
/// Watch for changes to the described resources and return them as a
13794+
/// stream of add, update, and remove notifications. Specify
13795+
/// resourceVersion.
13796+
/// </param>
13797+
/// <param name='customHeaders'>
13798+
/// The headers that will be added to request.
13799+
/// </param>
13800+
/// <param name='cancellationToken'>
13801+
/// The cancellation token.
13802+
/// </param>
13803+
Task<HttpOperationResponse<object>> ListThirdPartyResource1WithHttpMessagesAsync(string fqdn, string resource, bool? watch = default(bool?), Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
13804+
13805+
/// <summary>
13806+
/// Update a Resource
13807+
/// </summary>
13808+
/// <remarks>
13809+
/// Update the specified third party resource of the type specified
13810+
/// </remarks>
13811+
/// <param name='namespaceParameter'>
13812+
/// The Resource's namespace
13813+
/// </param>
13814+
/// <param name='fqdn'>
13815+
/// The Third party Resource fqdn
13816+
/// </param>
13817+
/// <param name='resource'>
13818+
/// The Resource type
13819+
/// </param>
13820+
/// <param name='body'>
13821+
/// The JSON schema of the Resource to create.
13822+
/// </param>
13823+
/// <param name='customHeaders'>
13824+
/// The headers that will be added to request.
13825+
/// </param>
13826+
/// <param name='cancellationToken'>
13827+
/// The cancellation token.
13828+
/// </param>
13829+
Task<HttpOperationResponse<object>> UpdateThirdPartyResourceWithHttpMessagesAsync(string namespaceParameter, string fqdn, string resource, object body, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
13830+
13831+
/// <summary>
13832+
/// Deletes a specific Resource
13833+
/// </summary>
13834+
/// <remarks>
13835+
/// Deletes the specified Resource in the specified namespace
13836+
/// </remarks>
13837+
/// <param name='body'>
13838+
/// </param>
13839+
/// <param name='gracePeriodSeconds'>
13840+
/// The duration in seconds before the object should be deleted. Value
13841+
/// must be non-negative integer. The value zero indicates delete
13842+
/// immediately. If this value is nil, the default grace period for the
13843+
/// specified type will be used. Defaults to a per object value if not
13844+
/// specified. zero means delete immediately.
13845+
/// </param>
13846+
/// <param name='orphanDependents'>
13847+
/// Deprecated: please use the PropagationPolicy, this field will be
13848+
/// deprecated in 1.7. Should the dependent objects be orphaned. If
13849+
/// true/false, the "orphan" finalizer will be added to/removed from
13850+
/// the object's finalizers list. Either this field or
13851+
/// PropagationPolicy may be set, but not both.
13852+
/// </param>
13853+
/// <param name='propagationPolicy'>
13854+
/// Whether and how garbage collection will be performed. Either this
13855+
/// field or OrphanDependents may be set, but not both. The default
13856+
/// policy is decided by the existing finalizer set in the
13857+
/// metadata.finalizers and the resource-specific default policy.
13858+
/// </param>
13859+
/// <param name='customHeaders'>
13860+
/// The headers that will be added to request.
13861+
/// </param>
13862+
/// <param name='cancellationToken'>
13863+
/// The cancellation token.
13864+
/// </param>
13865+
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));
13866+
13867+
/// <summary>
13868+
/// Gets a specific Resource
13869+
/// </summary>
13870+
/// <remarks>
13871+
/// Returns a specific Resource in a namespace
13872+
/// </remarks>
13873+
/// <param name='namespaceParameter'>
13874+
/// The Resource's namespace
13875+
/// </param>
13876+
/// <param name='name'>
13877+
/// The Resource's name
13878+
/// </param>
13879+
/// <param name='fqdn'>
13880+
/// The Third party Resource fqdn
13881+
/// </param>
13882+
/// <param name='resource'>
13883+
/// The Resource type
13884+
/// </param>
13885+
/// <param name='customHeaders'>
13886+
/// The headers that will be added to request.
13887+
/// </param>
13888+
/// <param name='cancellationToken'>
13889+
/// The cancellation token.
13890+
/// </param>
13891+
Task<HttpOperationResponse<object>> GetThirdPartyResourceWithHttpMessagesAsync(string namespaceParameter, string name, string fqdn, string resource, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
13892+
13893+
/// <summary>
13894+
/// Create a Resource
13895+
/// </summary>
13896+
/// <remarks>
13897+
/// Creates a third party resource of the type specified
13898+
/// </remarks>
13899+
/// <param name='namespaceParameter'>
13900+
/// The Resource's namespace
13901+
/// </param>
13902+
/// <param name='fqdn'>
13903+
/// The Third party Resource fqdn
13904+
/// </param>
13905+
/// <param name='resource'>
13906+
/// The Resource type
13907+
/// </param>
13908+
/// <param name='body'>
13909+
/// The JSON schema of the Resource to create.
13910+
/// </param>
13911+
/// <param name='customHeaders'>
13912+
/// The headers that will be added to request.
13913+
/// </param>
13914+
/// <param name='cancellationToken'>
13915+
/// The cancellation token.
13916+
/// </param>
13917+
Task<HttpOperationResponse<object>> CreateThirdPartyResource1WithHttpMessagesAsync(string namespaceParameter, string fqdn, string resource, object body, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
13918+
1377413919
}
1377513920
}

0 commit comments

Comments
 (0)