Search - Post Arm

Mengembalikan daftar penawaran katalog marketplace penyimpanan privat azure serta jumlah total dan faset

POST https://management.azure.com/providers/Microsoft.Marketplace/search?api-version=2022-02-02

Parameter URI

Name In Required Type Description
api-version
query True
  • string

Versi API yang digunakan untuk operasi ini.

Header Permintaan

Name Required Type Description
x-ms-client-tenant-id True
  • string
x-ms-app
  • string

Isi Permintaan

Name Required Type Description
languages True
  • string[]
stores True
  • string[]
appSourceCategories
  • string[]
appSourceIndustries
  • string[]
azureCategories
  • string[]
azureIndustries
  • string[]
azurePortalCategories
  • string[]
facets
  • string[]
isAdditionalPurchaseRequired
  • boolean
isAzureBenefitEligible
  • boolean
isCoreVm
  • boolean
isIndustryCloud
  • boolean
isMicrosoftProduct
  • boolean
isPowerBICertified
  • boolean
isPreferredSolution
  • boolean
isThirdParty
  • boolean
offerTypes
  • string[]
operatingSystems
  • string[]
pricingTypes
  • string[]
privateStoreAllowances
  • string[]
publisherName
  • string
searchQuery
  • string
select
  • string[]
skip
  • integer
sortBy
  • string[]
take
  • integer

Respons

Name Type Description
200 OK

Mengembalikan daftar penawaran katalog marketplace penyimpanan privat azure serta jumlah total dan faset

Media Types: "text/plain", "application/json", "text/json"

Other Status Codes

Respons Kesalahan: ***

  • 400 - Jika permintaan salah bentuk.

  • 500 - Jika terjadi kesalahan internal.

Media Types: "text/plain", "application/json", "text/json"

Contoh

Search_Post

Sample Request

POST https://management.azure.com/providers/Microsoft.Marketplace/search?api-version=2022-02-02



{
  "searchQuery": "a",
  "take": 2,
  "languages": [
    "en"
  ],
  "stores": [
    "Ibiza"
  ],
  "select": [
    "legacyId",
    "offerType"
  ],
  "privateStoreAllowances": [
    "AllowedByDefault"
  ]
}

Sample Response

{
  "facets": [],
  "results": [
    {
      "legacyId": "enterprisedb-corp.biganimal-prod-v1",
      "offerType": "SaaS"
    },
    {
      "legacyId": "epica1581707374769.epica",
      "offerType": "SaaS"
    }
  ],
  "totalCount": 823
}

Definisi

ErrorAdditionalInfo

Info tambahan kesalahan manajemen sumber daya.

ErrorDetail

Detail kesalahan.

ErrorResponse

Respons kesalahan

FacetsItemDto
FacetValueDto
OperatingSystemDto
PlanDto
PlanMetadataDto
SearchItemDto
SearchRequest
SearchResponseDto

ErrorAdditionalInfo

Info tambahan kesalahan manajemen sumber daya.

Name Type Description
info
  • object

Info tambahan.

type
  • string

Jenis info tambahan.

ErrorDetail

Detail kesalahan.

Name Type Description
additionalInfo

Info tambahan kesalahan.

code
  • string

Kode kesalahan.

details

Detail kesalahan.

message
  • string

Pesan kesalahan.

target
  • string

Target kesalahan.

ErrorResponse

Respons kesalahan

Name Type Description
error

Objek kesalahan.

FacetsItemDto

Name Type Description
facetName
  • string
facetValues

FacetValueDto

Name Type Description
count
  • integer
value
  • string

OperatingSystemDto

Name Type Description
family
  • string
name
  • string
type
  • string

PlanDto

Name Type Description
architectureType
  • string
cspState
  • string
displayName
  • string
legacyPlanId
  • string
metadata
operatingSystem

PlanMetadataDto

Name Type Description
generation
  • string

SearchItemDto

Name Type Description
ampAppsPopularity
  • number
ampCsPopularity
  • number
appSourceAppsPopularity
  • number
appSourceCategories
  • string[]
appSourceCsPopularity
  • number
appSourceIndustries
  • string[]
applicableProducts
  • string[]
azureCategories
  • string[]
azureIndustries
  • string[]
azurePortalCategories
  • string[]
bigId
  • string
cspStates
  • string[]
determinedStorefronts
  • string[]
displayName
  • string
heroIconUri
  • string
isAdditionalPurchaseRequired
  • boolean
isAzureBenefitEligible
  • boolean
isCoreVm
  • boolean
isIndustryCloud
  • boolean
isMicrosoftProduct
  • boolean
isPowerBICertified
  • boolean
isPreferredSolution
  • boolean
isPreview
  • boolean
language
  • string
largeIconUri
  • string
legacyId
  • string
mediumIconUri
  • string
offerType
  • string
operatingSystems
  • string[]
plans
pricingTypes
  • string[]
publisherDisplayName
  • string
smallIconUri
  • string
summary
  • string
vmGenerations
  • string[]
vmImageTypes
  • string[]
vmSecurityTypes
  • string[]
wideIconUri
  • string

SearchRequest

Name Type Description
appSourceCategories
  • string[]
appSourceIndustries
  • string[]
azureCategories
  • string[]
azureIndustries
  • string[]
azurePortalCategories
  • string[]
facets
  • string[]
isAdditionalPurchaseRequired
  • boolean
isAzureBenefitEligible
  • boolean
isCoreVm
  • boolean
isIndustryCloud
  • boolean
isMicrosoftProduct
  • boolean
isPowerBICertified
  • boolean
isPreferredSolution
  • boolean
isThirdParty
  • boolean
languages
  • string[]
offerTypes
  • string[]
operatingSystems
  • string[]
pricingTypes
  • string[]
privateStoreAllowances
  • string[]
publisherName
  • string
searchQuery
  • string
select
  • string[]
skip
  • integer
sortBy
  • string[]
stores
  • string[]
take
  • integer

SearchResponseDto

Name Type Description
facets
results
totalCount
  • integer