1import{d as $,e as G}from"./chunk-2P33XN3V.js";import{a as y}from"./chunk-M4P352RT.js";import{c as Q}from"./chunk-TWLIIUJV.js";import"./chunk-STVF45YT.js";import{e as C,h as N,i as H,u as z,v as M}from"./chunk-MEQXXL4S.js";import"./chunk-SJCEPHYQ.js";import"./chunk-YYO4YAJR.js";import{a as U}from"./chunk-24BHW64E.js";import{l as R}from"./chunk-4ZEUZTGE.js";import{a as P,b as B,e as q,h as O}from"./chunk-BR4W3JLD.js";import{a as L}from"./chunk-IMVB6XDX.js";import{Ab as g,Ca as l,Eb as a,Gb as p,Pa as w,Qb as v,Rb as V,T as k,Xb as E,Y as f,Z as h,cc as T,db as b,eb as S,hb as A,ia as F,ib as I,jb as u,kb as e,lb as t,mb as _,sb as x,tb as d,vb as s}from"./chunk-VXVO4XLK.js";import"./chunk-IM5V7DCU.js";var Y=(n,i)=>i.routeSlug;function W(n,i){if(n&1){let r=x();e(0,"button",24),d("click",function(){f(r);let m=s(),c=g(26);return m.clearQuery(),h(c.focus())}),_(1,"app-lucide-icon",25),t()}}function X(n,i){if(n&1&&(e(0,"div",34),a(1),t()),n&2){let r=s().$implicit;l(),p(" ",r.familyGroup," ")}}function J(n,i){if(n&1&&(e(0,"tr",31)(1,"th",32)(2,"a",33),v(3,"routerUrl"),a(4),t(),b(5,X,2,1,"div",34),t(),e(6,"td",35),a(7),t()()),n&2){let r=i.$implicit,o=s(2);l(2),u("routerLink",V(3,4,o.seriesHref(r))),l(2),p(" ",r.series," "),l(),S(r.familyGroup?5:-1),l(2),p(" ",o.formatNumber(r.skuCount)," ")}}
1function K(n,i){if(n&1&&(e(0,"div",22)(1,"table",26)(2,"thead",27)(3,"tr")(4,"th",28),a(5,"Series"),t(),e(6,"th",29),a(7,"VM sizes"),t()()(),e(8,"tbody",30),A(9,J,8,6,"tr",31,Y),t()()()),n&2){let r=s();l(9),I(r.filteredSeries())}}function Z(n,i){if(n&1){let r=x();e(0,"div",23),_(1,"app-lucide-icon",36),e(2,"h3",37),a(3,"No VM series match"),t(),e(4,"p",38),a(5,"Try another series name or clear the search."),t(),e(6,"button",39),d("click",function(){f(r);let m=s(),c=g(26);return m.clearQuery(),h(c.focus())}),a(7," Clear search "),t()()}}var j=class n{directoryHref=C;regionDirectoryHref=H;pricing=Q();seoService=k(P);vmSeriesDirectory=T.required();query=F("");filteredSeries=E(()=>{let i=$(this.query());return this.vmSeriesDirectory().families.filter(r=>G(r.searchIndex,i))});resultSummary=E(()=>`${y.format(this.filteredSeries().length)} of ${y.format(this.vmSeriesDirectory().families.length)} VM series`);ngOnInit(){let i=this.vmSeriesDirectory(),r=N,o=`Browse ${y.format(i.counts.familyCount)} Azure VM series across D, E, F, M, N, and other VM families. Compare Linux and Windows pay-as-you-go, savings plan, reserved, and Spot prices, specifications, and pricing coverage by VM size.`;this.seoService.setPageMeta({title:"Azure VM Series: Sizes, Prices and Specifications",description:o,canonicalUrl:B(r),structuredData:[q([{name:"Azure VM Sizes & Pricing",path:C},{name:"Series",path:r}]),O({name:"Azure VM series",numberOfItems:i.families.length,entries:i.families.map(m=>({name:m.series,path:ee(m)}))})]})}updateQuery(i){this.query.set(i.slice(0,160))}clearQuery(){this.query.set("")}seriesHref(i){return this.pricing.href(i.singletonSku?z(i.singletonSku,this.pricing.region()||void 0):M(i.routeSlug))}formatNumber(i){return y.format(i)}static \u0275fac=function(r){return new(r||n)};static \u0275cmp=w({type:n,selectors:[["app-azure-vm-family-directory"]],hostAttrs:[1,"block","min-w-0"],inputs:{vmSeriesDirectory:[1,"vmSeriesDirectory"]},decls:36,vars:10,consts:[["seriesSearch",""],[1,"page-shell","section-stack"],["aria-label","Breadcrumb",1,"breadcrumb"],[1,"breadcrumb-link",3,"routerLink"],[1,"breadcrumb-separator"],["aria-current","page",1,"breadcrumb-current"],[1,"page-header","page-header--compact"],[1,"flex","flex-col","gap-x-4","gap-y-layout-content","lg:flex-row","lg:items-start","lg:justify-between"],[1,"max-w-4xl","space-y-1"],[1,"page-title"],[1,"page-lead"],["aria-labelledby","vm-series-directory-heading",1,"section-block"],["id","vm-series-directory-heading",1,"sr-only"],["role","search",1,"max-w-2xl",3,"submit"],["for","vm-series-search",1,"form-label"],[1,"form-control-shell","mt-2"],["name","search","aria-hidden","true",1,"form-control-shell__icon","size-4"],["id","vm-series-search","name","vm-series-search","type","search","placeholder","Dsv7, Dasv5, ND MI300X, GPU...","autocomplete","off","spellcheck","false","aria-describedby","vm-series-result-summary",1,"form-control","form-control--icon-start","form-control--action-end","form-control-focus-ring","min-h-11","md:min-h-9",3,"input","value"],["type","button","aria-label","Clear VM series search",1,"form-control-shell__action"],[1,"flex","flex-wrap","items-center","justify-between","gap-3"],["id","vm-series-result-summary","aria-live","polite",1,"text-sm","text-text-muted"],[1,"link-primary","text-sm","font-semibold",3,"routerLink"],[1,"table-shell"],[1,"card","card--tall","flex","flex-col","items-center","gap-3","text-center"],["type","button","aria-label","Clear VM series search",1,"form-control-shell__action",3,"click"],["name","x","aria-hidden","true",1,"size-3.5"],[1,"table-base"],[1,"table-head"],["scope","col",1,"px-4","py-3"],["scope","col",1,"px-4","py-3","text-right"],[1,"divide-y","divide-border-soft"],[1,"table-row-hover","align-top"],["scope","row",1,"px-4","py-3","text-left","font-normal"],["translate","no",1,"link-primary","font-semibold","whitespace-nowrap",3,"routerLink"],["translate","no",1,"mt-1","text-xs","text-text-muted"],[1,"px-4","py-3","text-right","tabular-nums"],["name","search-x","aria-hidden","true",1,"size-10","text-text-muted"],[1,"font-semibold","text-text-strong"],[1,"text-sm","text-text-muted"],["type","button",1,"btn","btn-outline","min-h-11","md:min-
1h-9",3,"click"]],template:function(r,o){if(r&1){let m=x();e(0,"article",1)(1,"nav",2)(2,"a",3),v(3,"routerUrl"),a(4,"Azure VM Sizes & Pricing"),t(),e(5,"span",4),a(6,"/"),t(),e(7,"span",5),a(8,"Series"),t()(),e(9,"header",6)(10,"div",7)(11,"div",8)(12,"div")(13,"h1",9),a(14,"Azure VM pricing by series"),t()(),e(15,"p",10),a(16," Find a VM series, then compare its sizes, specifications, and prices. "),t()()()(),e(17,"section",11)(18,"h2",12),a(19,"Browse VM series"),t(),e(20,"form",13),d("submit",function(D){return D.preventDefault()}),e(21,"label",14),a(22,"Search VM series"),t(),e(23,"div",15),_(24,"app-lucide-icon",16),e(25,"input",17,0),d("input",function(){f(m);let D=g(26);return h(o.updateQuery(D.value))}),t(),b(27,W,2,0,"button",18),t()(),e(28,"div",19)(29,"p",20),a(30),t(),e(31,"a",21),v(32,"routerUrl"),a(33," Browse by region "),t()(),b(34,K,11,0,"div",22)(35,Z,8,0,"div",23),t()()}r&2&&(l(2),u("routerLink",V(3,6,o.pricing.href(o.directoryHref))),l(23),u("value",o.query()),l(2),S(o.query()?27:-1),l(3),p(" ",o.resultSummary()," "),l(),u("routerLink",V(32,8,o.pricing.href(o.regionDirectoryHref))),l(3),S(o.filteredSeries().length?34:35))},dependencies:[R,L,U],encapsulation:2})};function ee(n){return n.singletonSku?z(n.singletonSku):M(n.routeSlug)}export{j as AzureVmFamilyDirectory};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.