Skip to content

Commit

Permalink
Enable WriteCore feature for astronomer. (#45951)
Browse files Browse the repository at this point in the history
  • Loading branch information
melina5656 authored Sep 14, 2024
1 parent 7a0a3ed commit ef508b3
Show file tree
Hide file tree
Showing 15 changed files with 123 additions and 72 deletions.
2 changes: 2 additions & 0 deletions sdk/astronomer/Azure.ResourceManager.Astro/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

### Features Added

- Exposed `JsonModelWriteCore` for model serialization procedure.

### Breaking Changes

### Bugs Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public partial class AstroOrganizationData : Azure.ResourceManager.Models.Tracke
public AstroOrganizationData(Azure.Core.AzureLocation location) { }
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
public Azure.ResourceManager.Astro.Models.AstroOrganizationProperties Properties { get { throw null; } set { } }
protected override void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.AstroOrganizationData System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.AstroOrganizationData>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.AstroOrganizationData>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.AstroOrganizationData System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.AstroOrganizationData>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand Down Expand Up @@ -98,6 +99,7 @@ public AstroMarketplaceDetails(string subscriptionId, Azure.ResourceManager.Astr
public Azure.ResourceManager.Astro.Models.AstroOfferDetails OfferDetails { get { throw null; } set { } }
public string SubscriptionId { get { throw null; } set { } }
public Azure.ResourceManager.Astro.Models.MarketplaceSubscriptionStatus? SubscriptionStatus { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroMarketplaceDetails System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroMarketplaceDetails>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroMarketplaceDetails>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroMarketplaceDetails System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroMarketplaceDetails>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand All @@ -113,6 +115,7 @@ public AstroOfferDetails(string publisherId, string offerId, string planId) { }
public string PublisherId { get { throw null; } set { } }
public string TermId { get { throw null; } set { } }
public string TermUnit { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroOfferDetails System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroOfferDetails>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroOfferDetails>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroOfferDetails System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroOfferDetails>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand All @@ -125,6 +128,7 @@ public AstroOrganizationPatch() { }
public Azure.ResourceManager.Models.ManagedServiceIdentity Identity { get { throw null; } set { } }
public Azure.ResourceManager.Astro.Models.AstroOrganizationUpdateProperties Properties { get { throw null; } set { } }
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroOrganizationPatch System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroOrganizationPatch>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroOrganizationPatch>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroOrganizationPatch System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroOrganizationPatch>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand All @@ -138,6 +142,7 @@ public AstroOrganizationProperties(Azure.ResourceManager.Astro.Models.AstroMarke
public Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationProperties PartnerOrganizationProperties { get { throw null; } set { } }
public Azure.ResourceManager.Astro.Models.AstroResourceProvisioningState? ProvisioningState { get { throw null; } }
public Azure.ResourceManager.Astro.Models.AstroUserDetails User { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroOrganizationProperties System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroOrganizationProperties>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroOrganizationProperties>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroOrganizationProperties System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroOrganizationProperties>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand All @@ -149,6 +154,7 @@ public partial class AstroOrganizationUpdateProperties : System.ClientModel.Prim
public AstroOrganizationUpdateProperties() { }
public Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationUpdateProperties PartnerOrganizationProperties { get { throw null; } set { } }
public Azure.ResourceManager.Astro.Models.AstroUserUpdateDetails User { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroOrganizationUpdateProperties System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroOrganizationUpdateProperties>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroOrganizationUpdateProperties>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroOrganizationUpdateProperties System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroOrganizationUpdateProperties>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand All @@ -163,6 +169,7 @@ public AstroPartnerOrganizationProperties(string organizationName) { }
public Azure.ResourceManager.Astro.Models.AstroSingleSignOnProperties SingleSignOnProperties { get { throw null; } set { } }
public string WorkspaceId { get { throw null; } set { } }
public string WorkspaceName { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationProperties System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationProperties>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationProperties>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationProperties System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationProperties>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand All @@ -177,6 +184,7 @@ public AstroPartnerOrganizationUpdateProperties() { }
public Azure.ResourceManager.Astro.Models.AstroSingleSignOnProperties SingleSignOnProperties { get { throw null; } set { } }
public string WorkspaceId { get { throw null; } set { } }
public string WorkspaceName { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationUpdateProperties System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationUpdateProperties>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationUpdateProperties>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationUpdateProperties System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroPartnerOrganizationUpdateProperties>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand Down Expand Up @@ -210,6 +218,7 @@ public AstroSingleSignOnProperties() { }
public Azure.ResourceManager.Astro.Models.AstroResourceProvisioningState? ProvisioningState { get { throw null; } }
public Azure.ResourceManager.Astro.Models.AstroSingleSignOnState? SingleSignOnState { get { throw null; } set { } }
public System.Uri SingleSignOnUri { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroSingleSignOnProperties System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroSingleSignOnProperties>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroSingleSignOnProperties>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroSingleSignOnProperties System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroSingleSignOnProperties>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand Down Expand Up @@ -243,6 +252,7 @@ public AstroUserDetails(string firstName, string lastName, string emailAddress)
public string LastName { get { throw null; } set { } }
public string PhoneNumber { get { throw null; } set { } }
public string Upn { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroUserDetails System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroUserDetails>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroUserDetails>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroUserDetails System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroUserDetails>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand All @@ -257,6 +267,7 @@ public AstroUserUpdateDetails() { }
public string LastName { get { throw null; } set { } }
public string PhoneNumber { get { throw null; } set { } }
public string Upn { get { throw null; } set { } }
protected virtual void JsonModelWriteCore(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroUserUpdateDetails System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroUserUpdateDetails>.Create(ref System.Text.Json.Utf8JsonReader reader, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
void System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Astro.Models.AstroUserUpdateDetails>.Write(System.Text.Json.Utf8JsonWriter writer, System.ClientModel.Primitives.ModelReaderWriterOptions options) { }
Azure.ResourceManager.Astro.Models.AstroUserUpdateDetails System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Astro.Models.AstroUserUpdateDetails>.Create(System.BinaryData data, System.ClientModel.Primitives.ModelReaderWriterOptions options) { throw null; }
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ef508b3

Please sign in to comment.