Skip to content

Commit

Permalink
update bicep types to 0536b68e779fba100b9fbe32737c38d75396e2cf (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
ms-henglu authored Jun 16, 2023
1 parent cca604d commit b864ff2
Show file tree
Hide file tree
Showing 113 changed files with 116 additions and 45 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
## v1.7.0 (Unreleased)
## v1.7.0
FEATURES:
- `azapi`: Support `use_msi` and `use_cli` features.
- `azapi`: Support `auxiliary_tenant_ids` field, which is required for multi-tenancy and cross-tenant scenarios.
- `azapi`: Support `custom_correlation_request_id` field, which is used to specify the correlation request id.

ENHANCEMENTS:
- Update bicep types to https://github.com/ms-henglu/bicep-types-az/commit/0536b68e779fba100b9fbe32737c38d75396e2cf

BUG FIXES:
- Fix a bug that provider crashes when loading azure schema.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Microsoft.ApiCenter/services"}},{"6":{"Value":"2023-07-01-preview"}},{"2":{"Name":"Microsoft.ApiCenter/services","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":8,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":9,"Flags":10,"Description":"The resource api version"},"properties":{"Type":11,"Flags":0,"Description":"The properties of the service."},"identity":{"Type":16,"Flags":0,"Description":"The identity of the service."},"tags":{"Type":24,"Flags":0,"Description":"Resource tags."},"location":{"Type":4,"Flags":1,"Description":"The geo-location where the resource lives"},"systemData":{"Type":25,"Flags":2,"Description":"Azure Resource Manager metadata containing createdBy and modifiedBy information."}}}},{"2":{"Name":"ServiceProperties","Properties":{"provisioningState":{"Type":15,"Flags":2,"Description":"The status of the last operation."}}}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Failed"}},{"6":{"Value":"Canceled"}},{"5":{"Elements":[12,13,14,4]}},{"2":{"Name":"ManagedServiceIdentity","Properties":{"principalId":{"Type":4,"Flags":2,"Description":"The service principal ID of the system assigned identity. This property will only be provided for a system assigned identity."},"tenantId":{"Type":4,"Flags":2,"Description":"The tenant ID of the system assigned identity. This property will only be provided for a system assigned identity."},"type":{"Type":21,"Flags":1,"Description":"Type of managed service identity (where both SystemAssigned and UserAssigned types are allowed)."},"userAssignedIdentities":{"Type":23,"Flags":0,"Description":"The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."}}}},{"6":{"Value":"None"}},{"6":{"Value":"SystemAssigned"}},{"6":{"Value":"UserAssigned"}},{"6":{"Value":"SystemAssigned,UserAssigned"}},{"5":{"Elements":[17,18,19,20,4]}},{"2":{"Name":"UserAssignedIdentity","Properties":{"principalId":{"Type":4,"Flags":2,"Description":"The principal ID of the assigned identity."},"clientId":{"Type":4,"Flags":2,"Description":"The client ID of the assigned identity."}}}},{"2":{"Name":"UserAssignedIdentities","Properties":{},"AdditionalProperties":22}},{"2":{"Name":"TrackedResourceTags","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"SystemData","Properties":{"createdBy":{"Type":4,"Flags":0,"Description":"The identity that created the resource."},"createdByType":{"Type":30,"Flags":0,"Description":"The type of identity that created the resource."},"createdAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource creation (UTC)."},"lastModifiedBy":{"Type":4,"Flags":0,"Description":"The identity that last modified the resource."},"lastModifiedByType":{"Type":35,"Flags":0,"Description":"The type of identity that last modified the resource."},"lastModifiedAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource last modification (UTC)"}}}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[26,27,28,29,4]}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[31,32,33,34,4]}},{"4":{"Name":"Microsoft.ApiCenter/services@2023-07-01-preview","ScopeType":8,"Body":10,"Flags":0}}]

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"1":{"Kind":1}},{"1":{"Kind":2}},{"1":{"Kind":3}},{"1":{"Kind":4}},{"1":{"Kind":5}},{"1":{"Kind":6}},{"1":{"Kind":7}},{"1":{"Kind":8}},{"6":{"Value":"Microsoft.Attestation/attestationProviders"}},{"6":{"Value":"2021-06-01"}},{"2":{"Name":"Microsoft.Attestation/attestationProviders","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":8,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":9,"Flags":10,"Description":"The resource api version"},"location":{"Type":4,"Flags":1,"Description":"The supported Azure location where the attestation provider should be created."},"tags":{"Type":11,"Flags":0,"Description":"The tags that will be assigned to the attestation provider."},"properties":{"Type":12,"Flags":1,"Description":"Properties of the attestation provider"},"systemData":{"Type":41,"Flags":2,"Description":"The system metadata relating to this resource"}}}},{"2":{"Name":"AttestationServiceCreationParamsTags","Properties":{},"AdditionalProperties":4}},{"2":{"Name":"AttestationServiceCreationSpecificParamsOrStatusResult","Properties":{"publicNetworkAccess":{"Type":15,"Flags":0,"Description":"Controls whether traffic from the public network is allowed to access the Attestation Provider APIs."},"policySigningCertificates":{"Type":16,"Flags":4,"Description":"JSON Web Key Set defining a set of X.509 Certificates that will represent the parent certificate for the signing certificate used for policy operations"},"tpmAttestationAuthentication":{"Type":22,"Flags":0,"Description":"The setting that controls whether authentication is enabled or disabled for TPM Attestation REST APIs."},"trustModel":{"Type":4,"Flags":2,"Description":"Trust model for the attestation provider."},"status":{"Type":26,"Flags":2,"Description":"Status of attestation service."},"attestUri":{"Type":4,"Flags":2,"Description":"Gets the uri of attestation service"},"privateEndpointConnections":{"Type":40,"Flags":2,"Description":"List of private endpoint connections associated with the attestation provider."}}}},{"6":{"Value":"Enabled"}},{"6":{"Value":"Disabled"}},{"5":{"Elements":[13,14,4]}},{"2":{"Name":"JsonWebKeySet","Properties":{"keys":{"Type":19,"Flags":0,"Description":"The value of the \"keys\" parameter is an array of JWK values. By\ndefault, the order of the JWK values within the array does not imply\nan order of preference among them, although applications of JWK Sets\ncan choose to assign a meaning to the order for their purposes, if\ndesired."}}}},{"2":{"Name":"JsonWebKey","Properties":{"alg":{"Type":4,"Flags":0,"Description":"The \"alg\" (algorithm) parameter identifies the algorithm intended for\nuse with the key. The values used should either be registered in the\nIANA \"JSON Web Signature and Encryption Algorithms\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name."},"crv":{"Type":4,"Flags":0,"Description":"The \"crv\" (curve) parameter identifies the curve type"},"d":{"Type":4,"Flags":0,"Description":"RSA private exponent or ECC private key"},"dp":{"Type":4,"Flags":0,"Description":"RSA Private Key Parameter"},"dq":{"Type":4,"Flags":0,"Description":"RSA Private Key Parameter"},"e":{"Type":4,"Flags":0,"Description":"RSA public exponent, in Base64"},"k":{"Type":4,"Flags":0,"Description":"Symmetric key"},"kid":{"Type":4,"Flags":0,"Description":"The \"kid\" (key ID) parameter is used to match a specific key. This\nis used, for instance, to choose among a set of keys within a JWK Set\nduring key rollover. The structure of the \"kid\" value is\nunspecified. When \"kid\" values are used within a JWK Set, different\nkeys within the JWK Set SHOULD use distinct \"kid\" values. (One\nexample in which different keys might use the same \"kid\" value is if\nthey have different \"kty\" (key type) values but are considered to be\nequivalent alternatives by the application using them.) The \"kid\"\nvalue is a case-sensitive string."},"kty":{"Type":4,"Flags":1,"Description":"The \"kty\" (key type) parameter identifies the cryptographic algorithm\nfamily used with the key, such as \"RSA\" or \"EC\". \"kty\" values should\neither be registered in the IANA \"JSON Web Key Types\" registry\nestablished by [JWA] or be a value that contains a Collision-\nResistant Name. The \"kty\" value is a case-sensitive string."},"n":{"Type":4,"Flags":0,"Description":"RSA modulus, in Base64"},"p":{"Type":4,"Flags":0,"Description":"RSA secret prime"},"q":{"Type":4,"Flags":0,"Description":"RSA secret prime, with p < q"},"qi":{"Type":4,"Flags":0,"Description":"RSA Private Key Parameter"},"use":{"Type":4,"Flags":0,"Description":"Use (\"public key use\") identifies the intended use of\nthe public key. The \"use\" parameter is employed to indicate whether\na public key is used for encrypting data or verifying the signature\non data. Values are commonly \"sig\" (signature) or \"enc\" (encryption)."},"x":{"Type":4,"Flags":0,"Description":"X coordinate for the Elliptic Curve point"},"x5c":{"Type":18,"Flags":0,"Description":"The \"x5c\" (X.509 certificate chain) parameter contains a chain of one\nor more PKIX certificates [RFC5280]. The certificate chain is\nrepresented as a JSON array of certificate value strings. Each\nstring in the array is a base64-encoded (Section 4 of [RFC4648] --\nnot base64url-encoded) DER [ITU.X690.1994] PKIX certificate value.\nThe PKIX certificate containing the key value MUST be the first\ncertificate."},"y":{"Type":4,"Flags":0,"Description":"Y coordinate for the Elliptic Curve point"}}}},{"3":{"ItemType":4}},{"3":{"ItemType":17}},{"6":{"Value":"Enabled"}},{"6":{"Value":"Disabled"}},{"5":{"Elements":[20,21,4]}},{"6":{"Value":"Ready"}},{"6":{"Value":"NotReady"}},{"6":{"Value":"Error"}},{"5":{"Elements":[23,24,25,4]}},{"2":{"Name":"PrivateEndpointConnection","Properties":{"properties":{"Type":28,"Flags":0,"Description":"Resource properties."},"id":{"Type":4,"Flags":2,"Description":"Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"},"name":{"Type":4,"Flags":2,"Description":"The name of the resource"},"type":{"Type":4,"Flags":2,"Description":"The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\""}}}},{"2":{"Name":"PrivateEndpointConnectionProperties","Properties":{"privateEndpoint":{"Type":29,"Flags":0,"Description":"The resource of private end point."},"privateLinkServiceConnectionState":{"Type":30,"Flags":1,"Description":"A collection of information about the state of the connection between service consumer and provider."},"provisioningState":{"Type":39,"Flags":2,"Description":"The provisioning state of the private endpoint connection resource."}}}},{"2":{"Name":"PrivateEndpoint","Properties":{"id":{"Type":4,"Flags":2,"Description":"The ARM identifier for Private Endpoint"}}}},{"2":{"Name":"PrivateLinkServiceConnectionState","Properties":{"status":{"Type":34,"Flags":0,"Description":"Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service."},"description":{"Type":4,"Flags":0,"Description":"The reason for approval/rejection of the connection."},"actionsRequired":{"Type":4,"Flags":0,"Description":"A message indicating if changes on the service provider require any updates on the consumer."}}}},{"6":{"Value":"Pending"}},{"6":{"Value":"Approved"}},{"6":{"Value":"Rejected"}},{"5":{"Elements":[31,32,33,4]}},{"6":{"Value":"Succeeded"}},{"6":{"Value":"Creating"}},{"6":{"Value":"Deleting"}},{"6":{"Value":"Failed"}},{"5":{"Elements":[35,36,37,38,4]}},{"3":{"ItemType":27}},{"2":{"Name":"SystemData","Properties":{"createdBy":{"Type":4,"Flags":0,"Description":"The identity that created the resource."},"createdByType":{"Type":46,"Flags":0,"Description":"The type of identity that created the resource."},"createdAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource creation (UTC)."},"lastModifiedBy":{"Type":4,"Flags":0,"Description":"The identity that last modified the resource."},"lastModifiedByType":{"Type":51,"Flags":0,"Description":"The type of identity that last modified the resource."},"lastModifiedAt":{"Type":4,"Flags":0,"Description":"The timestamp of resource last modification (UTC)"}}}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[42,43,44,45,4]}},{"6":{"Value":"User"}},{"6":{"Value":"Application"}},{"6":{"Value":"ManagedIdentity"}},{"6":{"Value":"Key"}},{"5":{"Elements":[47,48,49,50,4]}},{"4":{"Name":"Microsoft.Attestation/attestationProviders@2021-06-01","ScopeType":8,"Body":10,"Flags":0}},{"6":{"Value":"Microsoft.Attestation/attestationProviders/privateEndpointConnections"}},{"6":{"Value":"2021-06-01"}},{"2":{"Name":"Microsoft.Attestation/attestationProviders/privateEndpointConnections","Properties":{"id":{"Type":4,"Flags":10,"Description":"The resource id"},"name":{"Type":4,"Flags":9,"Description":"The resource name"},"type":{"Type":53,"Flags":10,"Description":"The resource type"},"apiVersion":{"Type":54,"Flags":10,"Description":"The resource api version"},"properties":{"Type":28,"Flags":0,"Description":"Resource properties."}}}},{"4":{"Name":"Microsoft.Attestation/attestationProviders/privateEndpointConnections@2021-06-01","ScopeType":8,"Body":55,"Flags":0}}]
Loading

0 comments on commit b864ff2

Please sign in to comment.